Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Server *server.Server Routers []chi.Router Logger *slog.Logger // contains filtered or unexported fields }
func NewApp ¶
func NewApp(opts ...AppOptFunc) (*App, error)
type AppOptFunc ¶
func WithConnection ¶
func WithConnection(ctx context.Context, conn string) AppOptFunc
func WithName ¶
func WithName(name string) AppOptFunc
Click to show internal directories.
Click to hide internal directories.