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 Redact ¶ added in v0.1.8
func Redact(next HandlerFunc) HandlerFunc
type MiddlewareFunc ¶
type MiddlewareFunc func(next HandlerFunc) HandlerFunc
Click to show internal directories.
Click to hide internal directories.