Documentation
      ¶
    
    
  
    
      Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct {
	// Error is error
	Error string `json:"error,omitempty"`
	// Result is execution result
	Result interface{} `json:"result,omitempty"`
}
    Response is worker function call result
func NewErrorResponse ¶
NewErrorResponse returns a new response with error
func NewResponse ¶
NewResponse is Response constructor
 Click to show internal directories. 
   Click to hide internal directories.