Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcConn ¶
type GrpcConn struct {
// contains filtered or unexported fields
}
func NewGrpcConn ¶
type JsonrpcConn ¶
type JsonrpcConn struct { }
type MacaroonCredential ¶
type MacaroonCredential string
MacaroonCredential implements the credentials.PerRPCCredentials interface.
func (MacaroonCredential) GetRequestMetadata ¶
func (t MacaroonCredential) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)
GetRequestMetadata implements the PerRPCCredentials interface. This method is required in order to pass the wrapped macaroon into the gRPC context. With this, the macaroon will be available within the request handling scope of the ultimate gRPC server implementation.
func (MacaroonCredential) RequireTransportSecurity ¶
func (t MacaroonCredential) RequireTransportSecurity() bool
RequireTransportSecurity implements the PerRPCCredentials interface.
Click to show internal directories.
Click to hide internal directories.