Documentation ¶
Index ¶
- func CreateCtxWithClientInfo(ctx context.Context, info *lavapbv1.ServiceInfo) context.Context
- func CreateCtxWithReqID(ctx context.Context, reqId string) context.Context
- func CreateCtxWithServerInfo(ctx context.Context, info *lavapbv1.ServiceInfo) context.Context
- func CreateReqHeader(ctx context.Context, header *lava.RequestHeader) context.Context
- func CreateRspHeader(ctx context.Context, header *lava.ResponseHeader) context.Context
- func GetClientInfo(ctx context.Context) *lavapbv1.ServiceInfo
- func GetReqID(ctx context.Context) string
- func GetServerInfo(ctx context.Context) *lavapbv1.ServiceInfo
- func ReqHeader(ctx context.Context) *lava.RequestHeader
- func RspHeader(ctx context.Context) *lava.ResponseHeader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCtxWithClientInfo ¶
func CreateCtxWithReqID ¶
func CreateCtxWithServerInfo ¶
func CreateReqHeader ¶
func CreateRspHeader ¶
func GetClientInfo ¶
func GetClientInfo(ctx context.Context) *lavapbv1.ServiceInfo
func GetServerInfo ¶
func GetServerInfo(ctx context.Context) *lavapbv1.ServiceInfo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.