example

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plug = new(Example)

Functions

func InitRouter

func InitRouter(prefix string) *context.App

func SetConfig added in v0.0.13

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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