Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthConfig ¶
func NewAuthConfig() *app.ServiceAuthConfig
Types ¶
type Flags ¶
type Flags struct {
Addr string
}
Flags структура консольных флагов
func GetDefaultFlags ¶
func GetDefaultFlags() *Flags
type ServiceAuth ¶
type ServiceAuth struct { EnvFile string Flags *Flags Server *server.HttpServer Config *app.ServiceAuthConfig Cache models.Cachable Storage models.Storable Auth models.Identifier // contains filtered or unexported fields }
func NewServiceAuth ¶
func NewServiceAuth(envFile string) *ServiceAuth
func (*ServiceAuth) Logger ¶
func (app *ServiceAuth) Logger() *alog.Alog
func (*ServiceAuth) Run ¶
func (app *ServiceAuth) Run() error
func (*ServiceAuth) Stop ¶
func (app *ServiceAuth) Stop()
Click to show internal directories.
Click to hide internal directories.