Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CompileTime is when this was compiled CompileTime string // CompileRev is the git revision hash (sha1) CompileRev string )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Debug, if true will enable verbose logging and will overwrite the flag passed into the server
Debug bool `yaml:"debug"`
WebServer web.Config `yaml:"web_server"`
RPC rpc.Config `yaml:"rpc_server"`
Database storage.Config `yaml:"database"`
FileManager filemanager.Config `yaml:"file_manager"`
Authentication authentication.AuthSettings `yaml:"authentication"`
Notification notifications.Config `yaml:"notifications"`
}
Config describes all the configuration values of the GoCrack server
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a GoCrack server instance
func New ¶
New returns a gocrack server context. It creates the necessary listeners and opens a connection to the storage and authentication backend
Source Files
¶
Click to show internal directories.
Click to hide internal directories.