Documentation ¶
Index ¶
- func Crash(writer http.ResponseWriter, reason error)
- func GetContext() context.Context
- func HandleCliExec(module string, args []string) error
- func HandleRESTfulAPIs(module string, writer http.ResponseWriter, reader *http.Request) error
- func Init(tracer trace.Tracer) error
- func RegisterCronModule(name string, module Module, timeout int) error
- func RegisterRpcModule(name string, module Module, timeout int) error
- func RegisterSimpleModule(name string, module Module, timeout int) error
- func Terminate(msg string, exitCode int)
- type CliModule
- type CronModule
- type Module
- type RestModule
- type RpcModule
- type Trace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Crash ¶
func Crash(writer http.ResponseWriter, reason error)
func GetContext ¶
func HandleCliExec ¶
func HandleRESTfulAPIs ¶
func RegisterSimpleModule ¶
Types ¶
type CronModule ¶
type Module ¶
type RestModule ¶
Click to show internal directories.
Click to hide internal directories.