http_web

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartHttpNode

func StartHttpNode()

Types

type GeetestFilter added in v1.0.21

type GeetestFilter struct{}

func (*GeetestFilter) DoFilter added in v1.0.21

func (self *GeetestFilter) DoFilter(chain node.Filter, ctx *node.Context, args ...interface{}) error

type GetUserReq

type GetUserReq struct {
	common.BaseReq
	Uid  int    `json:"uid"`
	Name string `json:"name"`
}

type MyWebNode

type MyWebNode struct {
	node.HttpNode
}

func NewHTTP

func NewHTTP() *MyWebNode

func (*MyWebNode) FirstRegister added in v1.0.21

func (self *MyWebNode) FirstRegister(ctx *node.Context) error

func (*MyWebNode) SecondValidate added in v1.0.21

func (self *MyWebNode) SecondValidate(ctx *node.Context) error

type NewPostFilter

type NewPostFilter struct{}

func (*NewPostFilter) DoFilter

func (self *NewPostFilter) DoFilter(chain node.Filter, ctx *node.Context, args ...interface{}) error

Jump to

Keyboard shortcuts

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