adminapp

package
v0.0.0-...-0f16109 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

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()

func (Application) Stop

func (a Application) Stop(ctx context.Context) bool

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"`
}

Directories

Path Synopsis
delivery

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL