route

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestHandler

type RestHandler struct {
	Sort    int              // Sort
	Signed  bool             // Signed
	Logged  bool             // Logged
	Path    string           // Path
	Version string           // Version
	Http    string           // Http
	Method  string           // Method
	Handler mvcs.IController // Handler
	// contains filtered or unexported fields
}

func (*RestHandler) CallMethod

func (h *RestHandler) CallMethod(ctx *gin.Context)

CallMethod

func (*RestHandler) GetHttpMethod

func (h *RestHandler) GetHttpMethod() map[string]byte

GetHttpMethod

type RestHandlers added in v1.3.2

type RestHandlers []RestHandler

func (RestHandlers) Len added in v1.3.2

func (rh RestHandlers) Len() int

RestHandlers 实现sort SDK中的Interface接口 Len

func (RestHandlers) Less added in v1.3.2

func (rh RestHandlers) Less(i, j int) bool

Less

func (RestHandlers) Swap added in v1.3.2

func (rh RestHandlers) Swap(i, j int)

Swap

type Restful

type Restful map[string]RestHandlers

func Merge

func Merge(in ...Restful) Restful

func Register added in v1.3.2

func Register(des Restful, controllers ...mvcs.IController) Restful

Jump to

Keyboard shortcuts

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