Documentation ¶
Index ¶
Constants ¶
View Source
const ( MITIGATION_PATH = "/dots-client/mitigation_request" CONTENT_TYPE_VALUE = "application/json" )
Variables ¶
This section is empty.
Functions ¶
func CreateRouter ¶
func CreateRouter(handlerFunc http.HandlerFunc) *mux.Router
* Create router for restful api service
func ListenRestfulApi ¶
func ListenRestfulApi(address string, handleFunc func(http.ResponseWriter, *http.Request)) (err error)
* Listen for restful api service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.