Documentation ¶ Index ¶ func New(config Config, storage *storage.UserService, loggersLogger *logrus.Logger) (*service, error) type Config 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 } Source Files ¶ View all Source files config.go service.go Click to show internal directories. Click to hide internal directories.