Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginResourceHandler = "resource"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobsConfig ¶
type JobsConfig struct { Name string `json:"name" yaml:"name"` Data handlerTY.ResourceData `json:"date" yaml:"data"` Delay time.Duration `json:"delay" yaml:"delay"` CreatedAt time.Time `json:"createdAt" yaml:"createdAt"` }
JobsConfig used to keep the pre-delayed jobs
type ResourceClient ¶
type ResourceClient struct { HandlerCfg *handlerTY.Config // contains filtered or unexported fields }
ResourceClient struct
func (*ResourceClient) Name ¶
func (p *ResourceClient) Name() string
func (*ResourceClient) Post ¶
func (c *ResourceClient) Post(parameters map[string]interface{}) error
Post handler implementation
Click to show internal directories.
Click to hide internal directories.