Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type JSONSerializer ¶
type JSONSerializer struct { }
func (JSONSerializer) ContentType ¶
func (JSONSerializer) ContentType() string
func (JSONSerializer) Name ¶
func (JSONSerializer) Name() string
type Serializer ¶
type Server ¶
type Server struct { context.Context Tasks map[string]*Task // contains filtered or unexported fields }
func (*Server) RegisterTask ¶
func (*Server) RunManagementServer ¶
type Task ¶
type Task struct { Name string Handler TaskHandlerFunc Request interface{} Response interface{} }
Click to show internal directories.
Click to hide internal directories.