Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppName = "gamcro" NewDirPerm = 0750 DefaultTextsDir = "texts" )
View Source
const ( Major = 0 Minor = 7 Patch = 2 Prerelease = `alpha` BuildNo = 147 )
View Source
const DefaultCredsFile = "auth.txt"
Variables ¶
View Source
var (
CurrentRealmKey = mustMakeRandStr(realmChars, 6)
)
Functions ¶
This section is empty.
Types ¶
type AuthCreds ¶ added in v0.5.0
type AuthCreds struct {
// contains filtered or unexported fields
}
type CryptError ¶ added in v0.6.0
type CryptError struct {
// contains filtered or unexported fields
}
func (CryptError) Error ¶ added in v0.6.0
func (ce CryptError) Error() string
type Gamcro ¶
type Gamcro struct { SrvAddr string Passphr []byte `json:"-"` TLSCert, TLSKey string ClientAuth AuthCreds MultiClient bool ClientNet string TxtLimit int APIs GamcroAPI TextsDir string CORS string // contains filtered or unexported fields }
func (*Gamcro) ConnectHint ¶ added in v0.5.0
type GamcroAPI ¶ added in v0.6.0
type GamcroAPI uint32
func ParseRoboAPISet ¶ added in v0.6.0
func (GamcroAPI) FlagString ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.