api

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const HeaderRequestID = "X-Request-ID"

Variables

This section is empty.

Functions

func MiddlewareRequestID

func MiddlewareRequestID(c *gin.Context)

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(name string, logger *logrus.Entry) Handler

func (*Handler) Logger

func (h *Handler) Logger(c *gin.Context) *logrus.Entry

Directories

Path Synopsis
rest
rpc

Jump to

Keyboard shortcuts

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