Documentation ¶
Overview ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 Infinity Bot List ¶
Copyright © 2022 Infinity Bot List ¶
Copyright © 2023 Infinity Bot List ¶
Copyright © 2022 Infinity Bot List ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 Infinity Bot List ¶
Copyright © 2022 Infinity Bot List
Index ¶
Constants ¶
View Source
const CrossCompileNote = `` /* 764-byte string literal not displayed */
TODO
Variables ¶
View Source
var ( // Store git commit hash GitCommit string // This is gotten through ldflags BuildRev string // Build time is the time the binary was built BuildTime string // Project name is the name of the project ProjectName string )
Functions ¶
Types ¶
type Extension ¶
type Extension struct { // The name of the extension Name string `json:"name"` // Git URL if any GitUrl string `json:"git,omitempty"` }
Extensions needed. If a git repo is provided under the extensions key, there will be an attempt to install the extensions from the git repo
If a git repo is provided, the following will be run:
- gmake - gmake install - gmake installcheck
type PermDetailMap ¶
type PermDetailMap struct { ID string `json:"id"` Name string `json:"name"` Desc string `json:"desc"` }
Does not include all keys sent by API, only ones we need
type PermissionResponse ¶
type PermissionResponse struct {
Perms []PermDetailMap `json:"perms"`
}
Click to show internal directories.
Click to hide internal directories.