Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusOkay = 200 StatusInvalidParameter = 400 StatusIncorrectCredential = 401 StatusUnknownSession = 402 StatusPermissionDenied = 403 StatusDuplicated = 404 StatusNotFound = 405 StatusBlockedAccount = 406 StatusBlockedHost = 407 StatusInternalServerError = 500 )
Variables ¶
This section is empty.
Functions ¶
func ResponseHandler ¶
func ResponseHandler(f func(ResponseWriter, *rest.Request)) func(rest.ResponseWriter, *rest.Request)
Types ¶
type Controller ¶
type Controller interface { Announce(net.IP, net.HardwareAddr) error RemoveFlows() error RemoveFlowsByMAC(net.HardwareAddr) error }
type ResponseWriter ¶
Click to show internal directories.
Click to hide internal directories.