Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StateChange occurs when a job's state changes. // Handler can inspect the job's State property // in order to determine what state the job is at. StateChange = "STATE_CHANGE" // Read occurs when a Job is read by the client // through the API. Read = "READ" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HandlerFunc ¶
func ApplyMiddleware ¶
func ApplyMiddleware(h HandlerFunc, mws []MiddlewareFunc) HandlerFunc
func Webhook ¶ added in v0.1.20
func Webhook(next HandlerFunc) HandlerFunc
type MiddlewareFunc ¶
type MiddlewareFunc func(next HandlerFunc) HandlerFunc
func Redact ¶ added in v0.1.8
func Redact(redacter *redact.Redacter) MiddlewareFunc
Click to show internal directories.
Click to hide internal directories.