controllers

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInitControllersFn

func CreateInitControllersFn(wc *WebController) fasthttp.RequestHandler

Types

type WebController

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

func NewWebController

func NewWebController(opt *web.Options, logger *zap.Logger, midClient pb.MiddleClient) *WebController

func (*WebController) Index

func (wc *WebController) Index(c *fasthttp.RequestCtx)

func (*WebController) Page

func (wc *WebController) Page(c *fasthttp.RequestCtx)

func (*WebController) Qr

func (wc *WebController) Qr(c *fasthttp.RequestCtx)

func (*WebController) Robots

func (wc *WebController) Robots(c *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

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