Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port int `arg:"env:HTTP_SRV_PORT"` // порт http сервера
}
config параметры конфигурации
type GorillaServer ¶
type GorillaServer struct {
// contains filtered or unexported fields
}
GorillaServer сервер
func (*GorillaServer) Router ¶
func (s *GorillaServer) Router() *mux.Router
func (*GorillaServer) Run ¶
func (s *GorillaServer) Run(main *application.MainParams) error
Run запуск сервиса в работу
func (*GorillaServer) Stop ¶
func (s *GorillaServer) Stop()
Click to show internal directories.
Click to hide internal directories.