Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( logger *slog.Logger, reg prometheus.Registerer, versionSvc *app.VersionService, serverSvc *app.ServerService, tribeSvc *app.TribeService, playerSvc *app.PlayerService, villageSvc *app.VillageService, ennoblementSvc *app.EnnoblementService, tribeChangeSvc *app.TribeChangeService, serverSnapshotSvc *app.ServerSnapshotService, tribeSnapshotSvc *app.TribeSnapshotService, playerSnapshotSvc *app.PlayerSnapshotService, opts ...Option, ) http.Handler
Types ¶
type OpenAPIConfig ¶
type OpenAPIConfig struct { Enabled bool SwaggerEnabled bool BasePath string Servers []OpenAPIConfigServer }
type OpenAPIConfigServer ¶
type Option ¶
type Option func(cfg *config)
func WithOpenAPIConfig ¶
func WithOpenAPIConfig(oapiCfg OpenAPIConfig) Option
func WithTimeout ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.