Documentation ¶
Index ¶
Constants ¶
View Source
const (
CorsPrefix = "REST_TRIGGER"
)
View Source
const HeaderSetCookie = "Set-Cookie"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶
type Factory struct { }
type HandlerSettings ¶
type Output ¶
type Output struct { PathParams map[string]string `md:"pathParams"` // The path parameters (e.g., 'id' in http://.../pet/:id/name ) QueryParams map[string]string `md:"queryParams"` // The query parameters (e.g., 'id' in http://.../pet?id=someValue ) Headers map[string]string `md:"headers"` // The HTTP header parameters Content interface{} `md:"content"` // The content of the request Method string `md:"method"` // The HTTP method used for the request }
type PreflightHandler ¶
type PreflightHandler struct {
// contains filtered or unexported fields
}
type Reply ¶
type Trigger ¶
type Trigger struct {
// contains filtered or unexported fields
}
Trigger REST trigger struct
func (*Trigger) Initialize ¶
func (t *Trigger) Initialize(ctx trigger.InitContext) error
Click to show internal directories.
Click to hide internal directories.