Documentation
¶
Index ¶
- type HTTP
- func (e *HTTP) Actions() []core.Action
- func (e *HTTP) Cancel(ctx core.ExecutionContext) error
- func (e *HTTP) Color() string
- func (e *HTTP) Configuration() []configuration.Field
- func (e *HTTP) Description() string
- func (e *HTTP) Execute(ctx core.ExecutionContext) error
- func (e *HTTP) HandleAction(ctx core.ActionContext) error
- func (e *HTTP) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (e *HTTP) Icon() string
- func (e *HTTP) Label() string
- func (e *HTTP) Name() string
- func (e *HTTP) OutputChannels(configuration any) []core.OutputChannel
- func (e *HTTP) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (e *HTTP) Setup(ctx core.SetupContext) error
- type Header
- type KeyValue
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
type HTTP struct{}
func (*HTTP) Configuration ¶
func (e *HTTP) Configuration() []configuration.Field
func (*HTTP) Description ¶
func (*HTTP) HandleAction ¶
func (e *HTTP) HandleAction(ctx core.ActionContext) error
func (*HTTP) HandleWebhook ¶
func (e *HTTP) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*HTTP) OutputChannels ¶
func (e *HTTP) OutputChannels(configuration any) []core.OutputChannel
func (*HTTP) ProcessQueueItem ¶
type Spec ¶
type Spec struct {
Method string `json:"method"`
URL string `json:"url"`
SendHeaders bool `json:"sendHeaders"`
Headers []Header `json:"headers"`
SendBody bool `json:"sendBody"`
ContentType string `json:"contentType"`
JSON *any `json:"json,omitempty"`
XML *string `json:"xml,omitempty"`
Text *string `json:"text,omitempty"`
FormData *[]KeyValue `json:"formData,omitempty"`
CustomSuccessCodes bool `json:"customSuccessCodes"`
SuccessCodes string `json:"successCodes"`
}
Click to show internal directories.
Click to hide internal directories.