httpcallback

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HttpLog *logrus.Entry

Functions

func AddService

func AddService(engine *gin.Engine) *gin.RouterGroup

func HTTPAmPolicyControlUpdateNotifyTerminate

func HTTPAmPolicyControlUpdateNotifyTerminate(c *gin.Context)

func HTTPAmPolicyControlUpdateNotifyUpdate

func HTTPAmPolicyControlUpdateNotifyUpdate(c *gin.Context)

func HTTPN1MessageNotify

func HTTPN1MessageNotify(c *gin.Context)

func HTTPSmContextStatusNotify

func HTTPSmContextStatusNotify(c *gin.Context)

func Index

func Index(c *gin.Context)

Index is the index handler.

func NewRouter

func NewRouter() *gin.Engine

NewRouter returns a new router.

Types

type Route

type Route struct {
	// Name is the name of this Route.
	Name string
	// Method is the string for the HTTP method. ex) GET, POST etc..
	Method string
	// Pattern is the pattern of the URI.
	Pattern string
	// HandlerFunc is the handler function of this route.
	HandlerFunc gin.HandlerFunc
}

Route is the information for every URI.

type Routes

type Routes []Route

Routes is the list of the generated Route.

Jump to

Keyboard shortcuts

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