Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func Setup ¶
func Setup(cfg Config, logger *slog.Logger, trap <-chan os.Signal, t *translation.Translate, authLocalAdapter service.AuthService, userLocalAdapter service.UserService, conversationLocalAdapter service.ConversationService) Application
func (Application) Start ¶
func (a Application) Start()
type Config ¶
type Config struct {
ShutdownTimeout time.Duration `koanf:"shutdown_timeout"`
HTTPServer httpserver.Config `koanf:"http_server"`
Logger logger.Config `koanf:"logger"`
TemplatePath string `koanf:"template_path"`
ManagerAppGRPC grpcclient.Config `koanf:"manager_app_grpc"`
ChatAppGRPC grpcclient.Config `koanf:"chat_app_grpc"`
ChatWsURL string `koanf:"chat_ws_url"`
}
Click to show internal directories.
Click to hide internal directories.