Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger *zap.Logger DB *sqlx.DB ErupeConfig *config.Config UseOriginalLauncherFiles bool }
Config struct allows configuring the server.
type ServerHandler ¶
type ServerHandler func(*Server, http.ResponseWriter, *http.Request)
ServerHandler is a handler function akin to http.Handler's ServeHTTP, but has an additional *Server argument.
type ServerHandlerFunc ¶
type ServerHandlerFunc struct {
// contains filtered or unexported fields
}
ServerHandlerFunc is a small type that implements http.Handler and wraps a calling ServerHandler with a *Server argument.
func (ServerHandlerFunc) ServeHTTP ¶
func (shf ServerHandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.