This commit massively overhauls the project's structure to simplify development. Most parts are now correctly compartmentalized and dependencies are passed in a sane way rather than global variables galore xd.
9 lines
285 B
Go
9 lines
285 B
Go
package API
|
|
|
|
type Info struct {
|
|
// an int between 0 and 9 that represents the compression level, 0 being no compression, 9 being maximum compression
|
|
CompressionLevel int `json:"compression_level"`
|
|
// the version of the daemon (see pkg/version.go)
|
|
Version string `json:"version"`
|
|
}
|