Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Config *ServerConfig Controllers *controllers.Controllers // contains filtered or unexported fields }
func NewServer ¶
func NewServer(cfg *ServerConfig, ctrls *controllers.Controllers, graceful *graceful_service.GracefulService) (newServer *Server)
type ServerConfig ¶
type ServerConfig struct { Host string Port int RunMode config.RunMode MemStorySecret string SessionStory string }
func NewServerConfig ¶
func NewServerConfig(cfg *config.AppConfig) *ServerConfig
type ServerLogger ¶
type ServerLogger struct {
Logger *logging.Logger
}
Click to show internal directories.
Click to hide internal directories.