info

package
v0.0.0-...-4b2481f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(info *Info) endpoint.Middleware

func NewContext

func NewContext(ctx context.Context, info *Info) context.Context

NewContext return context with endpoint info

Types

type Info

type Info struct {
	FullMethod string
}

func FromContext

func FromContext(ctx context.Context) (*Info, bool)

FromContext get endpoint info from context

Jump to

Keyboard shortcuts

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