Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventTypeCreate = iota EventTypePut = iota EventTypeDeleteForOwner EventTypeDelete )
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
func ListenAndServe(hooksRepo Repository, port int)
func NewHooksRepository ¶
Types ¶
type Hook ¶
type HookAPIEvent ¶
type HooksAPIServer ¶
type HooksAPIServer struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.