ginx

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpRegister

func HttpRegister(router *gin.RouterGroup, relativePath string, restAPI interface{}, handlers ...gin.HandlerFunc)

func MergeURL

func MergeURL(first, second string) string

Types

type Delete

type Delete interface {
	DELETE(c *gin.Context)
}

type Get

type Get interface {
	GET(c *gin.Context)
}

type HttpDeletePathDescriptor

type HttpDeletePathDescriptor interface {
	HttpDeletePath() string
}

type HttpGetPathDescriptor

type HttpGetPathDescriptor interface {
	HttpGetPath() string
}

type HttpPatchPathDescriptor

type HttpPatchPathDescriptor interface {
	HttpPatchPath() string
}

type HttpPostPathDescriptor

type HttpPostPathDescriptor interface {
	HttpPostPath() string
}

type HttpPutPathDescriptor

type HttpPutPathDescriptor interface {
	HttpPutPath() string
}

type Patch

type Patch interface {
	PATCH(c *gin.Context)
}

type Post

type Post interface {
	POST(c *gin.Context)
}

type Put

type Put interface {
	PUT(c *gin.Context)
}

Jump to

Keyboard shortcuts

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