Skip to content

Commit

Permalink
Only added comments for handle_gossip
Browse files Browse the repository at this point in the history
  • Loading branch information
jik18001 committed Apr 25, 2022
1 parent 3a20661 commit 21c579a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CTng/server/Monitor_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ func getPOM(c *monitor.MonitorContext, w http.ResponseWriter, r *http.Request) {
// if POM found, send to requester
}

//Written by Jie
//This function handles gossip object received by the monitor
//Note: This function does not handle inactive loggers/CAs
//see monitor folder for handling inactive loggers/CAs
func handle_gossip(c *monitor.MonitorContext, w http.ResponseWriter, r *http.Request) {
// Parse sent object.
// Converts JSON passed in the body of a POST to a Gossip_object.
Expand Down

0 comments on commit 21c579a

Please sign in to comment.