example

package
v1.1.601 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plug = new(Example)

Functions

func InitRouter

func InitRouter(prefix string, srv service.List) *context.App

func SetConfig added in v1.1.4

func SetConfig(cfg c.Config)

func TestHandler

func TestHandler(ctx *context.Context)

Types

type Example

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

func NewExample

func NewExample() *Example

func (*Example) GetHandler

func (example *Example) GetHandler(url, method string) context.Handlers

func (*Example) GetRequest

func (example *Example) GetRequest() []context.Path

func (*Example) InitPlugin

func (example *Example) InitPlugin(srv service.List)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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