http

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sign

func Sign(url string, params url.Values, appkey string, secret string, lower bool) string

Sign is used to sign form params by given condition.

Types

type Config

type Config struct {
	AuthAppkeyMap map[string]string
}

Config is the verify config model.

type Verify

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

Verify is is the verify model.

func NewThirdVerify

func NewThirdVerify(conf *Config) *Verify

NewThirdVerify will create a verify middleware by given config.

func (*Verify) Verify

func (v *Verify) Verify(ctx *bm.Context)

Verify will inject into handler func as verify required

Jump to

Keyboard shortcuts

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