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