requestId

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(c *gin.Context) string

func New

func New(opts ...Option) gin.HandlerFunc

Types

type Generator

type Generator func() string

type HeaderStrKey

type HeaderStrKey string

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithGenerator

func WithGenerator(generator Generator) Option

func WithHeaderKey

func WithHeaderKey(key HeaderStrKey) Option

Jump to

Keyboard shortcuts

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