README ¶ go-smee A Go library and client for smee. Usage smee -target http://localhost:8080 The tool will print a URL which can be e.g. registered as a web hook. License MIT Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Channel func CreateChannel(url string) (*Channel, error) func (ch *Channel) Close() error func (ch *Channel) ReadWebHook() (*WebHook, error) type WebHook Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Channel ¶ type Channel struct { URL string // contains filtered or unexported fields } func CreateChannel ¶ func CreateChannel(url string) (*Channel, error) func (*Channel) Close ¶ func (ch *Channel) Close() error func (*Channel) ReadWebHook ¶ func (ch *Channel) ReadWebHook() (*WebHook, error) type WebHook ¶ type WebHook struct { Body []byte Query map[string]string Header map[string]string } Source Files ¶ View all Source files smee.go Directories ¶ Show internal Expand all Path Synopsis cmd smee Click to show internal directories. Click to hide internal directories.