gospell_gin

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	*gin.Context
	Spell *gospell.Context
}

type HandlerFunc

type HandlerFunc = func(*Context)

type RouterGroup

type RouterGroup struct {
	*gin.RouterGroup
	// contains filtered or unexported fields
}

func NewRouterGroup

func NewRouterGroup(spell *gospell.Engine, parent *gin.RouterGroup) *RouterGroup

func (*RouterGroup) Any

func (r *RouterGroup) Any(relativePath string, handlers ...HandlerFunc) gin.IRoutes

func (*RouterGroup) DELETE

func (r *RouterGroup) DELETE(relativePath string, handlers ...HandlerFunc) gin.IRoutes

func (*RouterGroup) GET

func (r *RouterGroup) GET(relativePath string, handlers ...HandlerFunc) gin.IRoutes

func (*RouterGroup) Group

func (r *RouterGroup) Group(relativePath string, handlers ...HandlerFunc) *RouterGroup

func (*RouterGroup) HEAD

func (r *RouterGroup) HEAD(relativePath string, handlers ...HandlerFunc) gin.IRoutes

func (*RouterGroup) Handle

func (r *RouterGroup) Handle(httpMethod, relativePath string, handlers ...HandlerFunc) gin.IRoutes

func (*RouterGroup) OPTIONS

func (r *RouterGroup) OPTIONS(relativePath string, handlers ...HandlerFunc) gin.IRoutes

func (*RouterGroup) PATCH

func (r *RouterGroup) PATCH(relativePath string, handlers ...HandlerFunc) gin.IRoutes

func (*RouterGroup) POST

func (r *RouterGroup) POST(relativePath string, handlers ...HandlerFunc) gin.IRoutes

func (*RouterGroup) PUT

func (r *RouterGroup) PUT(relativePath string, handlers ...HandlerFunc) gin.IRoutes

Jump to

Keyboard shortcuts

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