Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigFolderPath = os.Getenv("CONFIG_FOLDER") DefaultConfigFile = ConfigFolderPath + "/config.json" DefaultHost = "127.0.0.1" DefaulPort = "9095" )
Functions ¶
func ResourceNotFoundHandler ¶
Types ¶
type Server ¶
type Server struct { Cancel context.CancelFunc RouteManager *routing.RouteManager MiddlewareStack *middlewares.MiddlewareStack DB *models.DB ConfigFile string Config *Config // contains filtered or unexported fields }
func DefaultServer ¶
Click to show internal directories.
Click to hide internal directories.