rest

package
v0.0.0-...-632786d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbortMetodOption

func AbortMetodOption() gin.HandlerFunc

AbortMetodOption - abort method options

func AddSessionInfo

func AddSessionInfo() gin.HandlerFunc

AddSessionInfo - add session info to gin context

func CheckBearerAuth

func CheckBearerAuth() gin.HandlerFunc

CheckBearerAuth - check bearer auth

func ClearPath

func ClearPath() gin.HandlerFunc

ClearPath - clear request path

func IncMetrics

func IncMetrics() gin.HandlerFunc

IncMetrics - inc metrics

func NewRestServer

func NewRestServer() (*restServer, error)

NewRestServer - new rest server

func SetHeaders

func SetHeaders() gin.HandlerFunc

SetHeaders - set headers for CORS

Types

This section is empty.

Jump to

Keyboard shortcuts

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