grpc

package
v0.0.0-...-4df4af0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGrpcConnection

func NewGrpcConnection(config *configs.Config) (grpc.ClientConnInterface, error)

Types

type AuthCredential

type AuthCredential struct {
	Token string
}

func (AuthCredential) GetRequestMetadata

func (ac AuthCredential) GetRequestMetadata(ctx context.Context, in ...string) (map[string]string, error)

func (AuthCredential) RequireTransportSecurity

func (ac AuthCredential) RequireTransportSecurity() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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