Versions in this module Expand all Collapse all v1 v1.0.0 Apr 21, 2020 Changes in this version + const KeyHeader + const XKeyHeader + var ErrHeaderNotFound = status.Errorf(codes.InvalidArgument, "header %s or %s not found", KeyHeader, XKeyHeader) + func IncomingHeaderMatcher(key string) (string, bool) + func UnaryServerInterceptor(storage Storage, acl ACL) grpc.UnaryServerInterceptor + type ACL interface + Check func(ctx context.Context, method string) interface{} + type Storage interface + Get func(key string, data interface{}) (res interface{}, err error) + Set func(key string, data interface{})