managerapp

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: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupInternalRoleManager

func SetupInternalRoleManager() *rolemanager.RoleManager

func SetupRoleManager

func SetupRoleManager() *rolemanager.RoleManager

Types

type Application

type Application struct {
	// contains filtered or unexported fields
}

func Setup

func (Application) Start

func (a Application) Start()

func (Application) Stop

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

func (Application) StopGRCPServerInternal

func (a Application) StopGRCPServerInternal(wg *sync.WaitGroup)

func (Application) StopGRPCServer

func (a Application) StopGRPCServer(wg *sync.WaitGroup)

func (Application) StopHTTPServer

func (a Application) StopHTTPServer(ctx context.Context, wg *sync.WaitGroup)

func (Application) StopInternalHTTPServer

func (a Application) StopInternalHTTPServer(ctx context.Context, wg *sync.WaitGroup)

type Config

type Config struct {
	ShutdownTimeout    time.Duration       `koanf:"shutdown_timeout"`
	HTTPServer         httpserver.Config   `koanf:"http_server"`
	Logger             logger.Config       `koanf:"logger"`
	Token              tokenservice.Config `koanf:"token"`
	Postgres           postgres.Config     `koanf:"postgres"`
	GRPCServer         grpcserver.Config   `koanf:"grpc_server"`
	User               userservice.Config  `koanf:"user"`
	Redis              redis.Config        `koanf:"redis"`
	Delivery           http.Config         `koanf:"delivery"`
	InternalHTTPServer httpserver.Config   `koanf:"internal_http_server"`
	APIKey             string              `koanf:"api_key"`
	GRPCServerInternal grpcserver.Config   `koanf:"grpc_server_internal"`
}

Directories

Path Synopsis
delivery
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
repository
service

Jump to

Keyboard shortcuts

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