smee

package module
v0.0.0-...-2c87d02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 6 Imported by: 0

README

go-smee

Go Reference

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

Documentation

Index

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
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL