Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2025 v0.1.0 Nov 28, 2025 Changes in this version + func AreHeadersInitialized(ctx context.Context) bool + func ContextWithHeaders(ctx context.Context, headersSetters ...HeaderSetter) (context.Context, error) + func GetASCIIHeaderByName(ctx context.Context, name string) (string, error) + func GetAnyBinaryHeader(ctx context.Context, destination proto.Message) error + func GetAnyBinaryHeaderByName(ctx context.Context, destination proto.Message, name string) error + func GetHeader(ctx context.Context, destination proto.Message) error + func GetHeaderByName(ctx context.Context, destination proto.Message, name string) error + func GetPropagatingHeader(ctx context.Context, destination proto.Message) error + func GetRootHeader(ctx context.Context, destination proto.Message) error + func GetRootHeaderByName(ctx context.Context, destination proto.Message, name string) error + func GetStringHeaderByName(ctx context.Context, name string) (string, error) + func SetASCIIHeader(ctx context.Context, name string, data string) error + func SetHeader(ctx context.Context, data proto.Message) error + func SetHeaderByName(ctx context.Context, data proto.Message, name string) error + func SetPropagatingHeader(ctx context.Context, data proto.Message) error + func StreamClientInterceptor() grpc.StreamClientInterceptor + func StreamServerInterceptor() grpc.StreamServerInterceptor + func UnaryClientInterceptor() grpc.UnaryClientInterceptor + func UnaryServerInterceptor() grpc.UnaryServerInterceptor + type HeaderKey string + type HeaderSetter struct + Data proto.Message + HeaderSetterFunc headerSetterFunc + func DefaultHeaderSetter(namedProto proto.Message) HeaderSetter + func PropagatingHeaderSetter(namedProto proto.Message) HeaderSetter + type Headers map[string]interface + type Type int + const ASCII + const Inbound + const Outbound + const Propagating + const Root + func (h Type) String() string