kitty

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	XForwardedFor             = "X-Forwarded-For"
	XRealIP                   = "X-Real-IP"
	Host                      = "Host"
	ApplicationFormUrlencoded = "application/x-www-form-urlencoded"
	ApplicationProtobuf       = "application/x-protobuf"
	ApplicationJson           = "application/json"
	ApplicationOctetStream    = "application/octet-stream"
	MultipartFormData         = "multipart/form-data"
	ContentType               = "Content-Type"
	ContentLength             = "Content-Length"

	TextHtml  = "text/html; charset=utf-8"
	TextPlain = "text/plain; charset=utf-8"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type A

type A []interface{}

type Context

type Context context.Context

type Logger

type Logger interface {
	Errorf(format string, args ...interface{})
	Warningf(format string, args ...interface{})
	Infof(format string, args ...interface{})
	Debugf(format string, args ...interface{})
}

type M

type M map[string]interface{}

type Params

type Params struct {
	Keys   []string
	Values []string
}

func (Params) ByName

func (ps Params) ByName(name string) string

Jump to

Keyboard shortcuts

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