router

package
v0.0.0-...-dd13c3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL