grpc

package
v0.0.0-...-b958b56 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthClient

func NewAuthClient(cfg *Config, lg *zap.Logger) *authClient

Types

type AuthClient

type AuthClient interface {
	Authenticate(ctx context.Context, token string) (uint64, error)
}

type Config

type Config struct {
	Targets struct {
		Auth string `koanf:"auth"`
	} `koanf:"targets"`
}

Jump to

Keyboard shortcuts

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