router

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	*controller.Controller
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(ctx context.Context, app *iris.Application) *Handler

NewRouter 初始化路由配置

type WsRouter

type WsRouter struct {
	*service.Service
	*pkg.Pkg
}

func NewWsRouter

func NewWsRouter() *WsRouter

func (*WsRouter) RegisterHandle

func (r *WsRouter) RegisterHandle(server *socketio.Server) *socketio.Server

Jump to

Keyboard shortcuts

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