boot

package
v0.0.0-...-84a21fe Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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