Documentation ¶
Index ¶
Constants ¶
View Source
const LockVersion = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Bundler struct { Debug bool `toml:"debug-log"` Path string `toml:"server-path"` } Server struct { Api string `toml:"api"` // ApiReplace is an optional argument that allows a local saddle API version to be used instead of one pulled // from GitHub. ApiReplace string `toml:"replace-api"` Dragonfly string `toml:"dragonfly"` // DragonflyReplace is an optional argument that allows a local dragonfly version to be used instead of one pulled // from GitHub. DragonflyReplace string `toml:"replace-dragonfly"` } `toml:"server"` Plugin []PluginInfo `toml:"plugin"` }
type LockFile ¶
type LockFile struct { // Version is the version the lockfile was made in. Version uint // Api is the version of the saddle api. Api string // Dragonfly is the dragonfly version used. Dragonfly string // Plugins is a map which contains all the plugin checksums. The keys are the plugin module names. Plugins map[string]string }
LockFile contains information about the currently existing server binaries. It is used to determine whether it is up-to-date with the latest configuration.
type PluginInfo ¶
Click to show internal directories.
Click to hide internal directories.