Documentation

Overview

Copyright 2019 The niqingyang Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. http://acme.top Author: niqingyang niqy@qq.com TIME: 2019/10/1 10:08

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGroup

func AddGroup(name string, group *echo.Group)

注册路由群组

func GetGroup

func GetGroup(name string) *echo.Group

获取指定路由群组

func Group

func Group(callback func(app *echo.Echo))

向指定的 GIN 实例中注入路由群组回调

func GroupByName

func GroupByName(groupName string, callback func(group *echo.Group))

向指定的路由群组中中注入路由回调

func Middleware

func Middleware(callback func(app *echo.Echo))

向指定的 GIN 实例中注入中间件回调

func Route

func Route(callback func(app *echo.Echo))

向指定的 GIN 实例中注入路由回调

func Strap

func Strap(instance *echo.Echo)

在注册 Fiber 实例后,启用引导程序引导回调

Types

This section is empty.

Source Files