webhook

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContentTypeHeaderKey   = "Content-Type"
	UserAgentHeaderKey     = "User-Agent"
	UserAgentHeaderValue   = "gorleaser"
	AuthorizationHeaderKey = "Authorization"
	DefaultContentType     = "application/json; charset=utf-8"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BasicAuthHeader   string `env:"BASIC_AUTH_HEADER_VALUE"`
	BearerTokenHeader string `env:"BEARER_TOKEN_HEADER_VALUE"`
}

type Pipe

type Pipe struct{}

func (Pipe) Announce

func (p Pipe) Announce(ctx *context.Context) error

func (Pipe) Default

func (p Pipe) Default(ctx *context.Context) error

func (Pipe) Skip

func (Pipe) Skip(ctx *context.Context) bool

func (Pipe) String

func (Pipe) String() string

Jump to

Keyboard shortcuts

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