Documentation ¶
Index ¶
- func InternalError(w http.ResponseWriter, event interface{}, err error)
- func Main(h func(context.Context) Interface)
- func ParseGithubData(payload []byte, eventType string) (interface{}, error)
- func ParseGithubWebhook(w http.ResponseWriter, r *http.Request) interface{}
- func Send(resp Response) error
- type Continuation
- type Interface
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InternalError ¶
func InternalError(w http.ResponseWriter, event interface{}, err error)
func ParseGithubData ¶
func ParseGithubWebhook ¶
func ParseGithubWebhook(w http.ResponseWriter, r *http.Request) interface{}
Types ¶
type Continuation ¶
func ToContinuation ¶
func ToContinuation(r Response) (*Continuation, error)
func (*Continuation) AsResponse ¶
func (c *Continuation) AsResponse() Response
Click to show internal directories.
Click to hide internal directories.