client

package
v0.0.0-...-d9c1391 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUnaryClientInterceptor

func GetUnaryClientInterceptor(errorHandler func(error) error) grpc.UnaryClientInterceptor

Types

type AuthToken

type AuthToken struct {
	Token string
}

func GetAuthToken

func GetAuthToken() (*AuthToken, error)

func (AuthToken) GetRequestMetadata

func (t AuthToken) GetRequestMetadata(ctx context.Context, in ...string) (map[string]string, error)

func (AuthToken) RequireTransportSecurity

func (AuthToken) RequireTransportSecurity() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL