internal

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2021 License: GPL-3.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName    = "gamcro"
	NewDirPerm = 0750
)
View Source
const (
	Major   = 0
	Minor   = 5
	Patch   = 0
	Quality = `alpha`
	BuildNo = 66
)
View Source
const DefaultCredsFile = "auth.txt"

Variables

View Source
var (
	CurrentRealmKey = mustMakeRandStr(realmChars, 6)
)
View Source
var (
	LogCfg = qbsllm.NewConfig(log)
)

Functions

This section is empty.

Types

type AuthCreds added in v0.5.0

type AuthCreds struct {
	// contains filtered or unexported fields
}

func (*AuthCreds) ReadFile added in v0.5.0

func (ac *AuthCreds) ReadFile(name string) error

func (*AuthCreds) Set added in v0.5.0

func (ac *AuthCreds) Set(user, passwd string) (err error)

func (*AuthCreds) WriteFile added in v0.5.0

func (ac *AuthCreds) WriteFile(name string) error

type Gamcro

type Gamcro struct {
	SrvAddr         string
	Passphr         []byte
	TLSCert, TLSKey string
	ClientAuth      AuthCreds

	MultiClient bool
	ClientNet   string
	TxtLimit    int
	// contains filtered or unexported fields
}

func (*Gamcro) ConnectHint added in v0.5.0

func (g *Gamcro) ConnectHint() string

func (*Gamcro) Run

func (g *Gamcro) Run(qrFlag bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL