Versions in this module Expand all Collapse all v3 v3.0.0 Apr 4, 2026 Changes in this version + const ERR_BUF_TOO_SMALL + const ERR_EMPTY_INPUT + const ERR_FAILED_UNMARSHAL_MESSAGE + const ERR_FAILED_VALUE_RETRIEVAL + const ERR_INIT_STORE + const ERR_INTERNAL + const ERR_INVALID_UTF8 + const ImplementationNetworkErr + const OK + var ErrClientInitialization = errors.New("failed to initialize the client") + var ErrEmptyResponse = errors.New("value retrieved but empty for token") + var ErrRetrieveFailed = errors.New("failed to retrieve config item") + var ErrServiceCallFailed = errors.New("failed to complete the service call") + var Handshake = plugin.HandshakeConfig + var PluginMap = map[string]plugin.Plugin + type GRPCClient struct + func (m *GRPCClient) Value(key string, metadata []byte) (string, error) + type GRPCPlugin struct + Impl TokenStore + func (p *GRPCPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) + func (p *GRPCPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error + type GRPCServer struct + Impl TokenStore + func (m *GRPCServer) Value(ctx context.Context, req *proto.TokenValueRequest) (*proto.TokenValueResponse, error) + type TokenStore interface + Value func(token string, metadata []byte) (string, error)