Documentation ¶
Index ¶
Constants ¶
View Source
const KeyHeader = "Idempotency-Key"
View Source
const XKeyHeader = "X-Idempotency-Key"
Variables ¶
View Source
var ErrHeaderNotFound = status.Errorf(codes.InvalidArgument, "header %s or %s not found", KeyHeader, XKeyHeader)
Functions ¶
func IncomingHeaderMatcher ¶
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(storage Storage, acl ACL) grpc.UnaryServerInterceptor
Types ¶
Click to show internal directories.
Click to hide internal directories.