Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartRouter ¶
func StartRouter(gm *gamemanager.GameManager, gc ServerConfig)
StartRouter starts the gig server for handling Gemini requests.
Types ¶
type IndexConfig ¶
type IndexConfig struct {
DisplayProjectInfo bool
DisplayPoweredBy bool
ContactEmail string
Title string
PageBody string
}
IndexConfig contains configuration info for the homepage.
type ServerConfig ¶
type ServerConfig struct {
Domain string
Port int64
CertFile string
KeyFile string
Version string
HomePage IndexConfig
}
ServerConfig contains basic server config settings.
Click to show internal directories.
Click to hide internal directories.