lavacontexts

package
v0.2.23 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCtxWithClientInfo

func CreateCtxWithClientInfo(ctx context.Context, info *lavapbv1.ServiceInfo) context.Context

func CreateCtxWithReqID

func CreateCtxWithReqID(ctx context.Context, reqId string) context.Context

func CreateCtxWithServerInfo

func CreateCtxWithServerInfo(ctx context.Context, info *lavapbv1.ServiceInfo) context.Context

func CreateReqHeader

func CreateReqHeader(ctx context.Context, header *lava.RequestHeader) context.Context

func CreateRspHeader

func CreateRspHeader(ctx context.Context, header *lava.ResponseHeader) context.Context

func GetClientInfo

func GetClientInfo(ctx context.Context) *lavapbv1.ServiceInfo

func GetReqID

func GetReqID(ctx context.Context) string

func GetServerInfo

func GetServerInfo(ctx context.Context) *lavapbv1.ServiceInfo

func ReqHeader

func ReqHeader(ctx context.Context) *lava.RequestHeader

func RspHeader

func RspHeader(ctx context.Context) *lava.ResponseHeader

Types

This section is empty.

Jump to

Keyboard shortcuts

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