mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-10-10 06:39:18 +08:00
add communicator api
This commit is contained in:
7
communicator/url.go
Normal file
7
communicator/url.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package communicator
|
||||
|
||||
func init() {
|
||||
router.Path("/check_alive").Methods("GET").HandlerFunc(outletCheckAlive)
|
||||
router.Path("/get_config").Methods("GET").HandlerFunc(outletGetConfig)
|
||||
router.Path("/set_config").Methods("POST").HandlerFunc(outletSetConfig)
|
||||
}
|
Reference in New Issue
Block a user