Documentation ¶
Index ¶
Constants ¶
View Source
const ( APIVersionV1 = "v1" PathV1 = prefix + APIVersionV1 )
Variables ¶
This section is empty.
Functions ¶
func RegisterDaemonFunc ¶
func RegisterDaemonFunc(f func())
called by actions for registering some daemon functions and these functions will be called after flag-init and server-start
func RegisterV1Action ¶
func RegisterV1Action(action Action)
Register a handler into v1 actions means all the URL of these handlers are start with PathV1
Types ¶
type Action ¶
type Action httpserver.Action
Click to show internal directories.
Click to hide internal directories.