view

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BtsEqualFold

func BtsEqualFold(s, p []byte) bool

btsEqualFold checks s to be case insensitive equal to p. Note that p must be only ascii letters. That is, every byte in p belongs to range ['a','z'] or ['A','Z'].

func BtsHasToken

func BtsHasToken(header, token []byte) (has bool)

func StrEqualFold

func StrEqualFold(s, p string) bool

StrEqualFold checks s to be case insensitive equal to p. Note that p must be only ascii letters. That is, every byte in p belongs to range ['a','z'] or ['A','Z'].

func StrHasToken

func StrHasToken(header, token string) (has bool)

func StrToBytes

func StrToBytes(str string) (bts []byte)

Types

type ErrorView

type ErrorView struct {
	// contains filtered or unexported fields
}

func (*ErrorView) Process

func (errorView *ErrorView) Process(pisig *core.Pisig) http.HandlerFunc

type WebSocketView

type WebSocketView struct {
	// contains filtered or unexported fields
}

func (*WebSocketView) Process

func (v *WebSocketView) Process(pisig *core.Pisig) http.HandlerFunc

Jump to

Keyboard shortcuts

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