builtins

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidBodyType   = errors.New("invalid body type")
	ErrInvalidHdrKeyType = errors.New("invalid header key type")
	ErrInvalidHdrVal     = errors.New("invalid header value type")
	ErrInvalidType       = errors.New("invalid type")
	ErrInsecureWebhook   = errors.New("secure webhook missing authorization")
	ErrIncorrectPassword = errors.New("incorrect password")
)

Functions

func Register

func Register(sd starlark.StringDict, opts *Options)

Types

type HTTPError added in v0.0.3

type HTTPError struct {
	Code    int
	Message string
	Err     error
}

type Options

type Options struct {
	Name   string
	DB     *bbolt.DB
	Config *config.Config
	Mux    *http.ServeMux
}

Jump to

Keyboard shortcuts

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