grpc_auth

package
v0.0.0-...-23ae872 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config, storage *storage.UserService, loggersLogger *logrus.Logger) (*service, error)

Types

type Config

type Config struct {
	Address   string `env:"GRPC_AUTH_LISTEN,default=localhost:9093"`
	JwtSecret string `env:"JWT_SECRET,default=superpuper"` // TODO set require
}

Jump to

Keyboard shortcuts

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