Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlagRouter ¶
func FlagRouter(h *flag.FlagHandler) chi.Router
Types ¶
type Server ¶
type Server struct { Mux http.Handler Dbpool *pgxpool.Pool // pgx // contains filtered or unexported fields }
func NewServer ¶
func NewServer(config *ServerOptions) (*Server, error)
type ServerOptions ¶
type ServerOptions struct { WebPort string `default:"8000" help:"web server port"` Logging telemetry.LoggingConfig `embed:"" prefix:"logging."` }
Click to show internal directories.
Click to hide internal directories.