gui

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbService added in v1.0.3

type DbService interface {
	ReOpen() error
	CreateBucket(name string) error
	Store(key, value string) error
	DeleteKey(key string) error
	StoreBulk(result []entity.Message) error
	GetValueFromBucket(key string) error
	GetAllValue()
	Message() []entity.Message
	SetNameBucket(nameBucket string)
	BucketIsCreate() bool
}

type FilesManager added in v1.0.3

type FilesManager interface {
	FilesInDir(path string) ([]string, error)
	ChangeWorkingDir(path string) error
}

type Gui added in v1.0.3

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

func NewGui added in v1.0.3

func (*Gui) BeforeClose added in v1.0.3

func (g *Gui) BeforeClose(ctx context.Context) (prevent bool)

func (*Gui) DecodeData added in v1.0.3

func (g *Gui) DecodeData(data map[string]interface{}) (*entity.Message, error)

func (*Gui) DeleteData added in v1.0.3

func (g *Gui) DeleteData(data map[string]interface{}, bucketName string)

func (*Gui) DomReady added in v1.0.3

func (g *Gui) DomReady(ctx context.Context)

func (*Gui) GetConfigsAndChangeCWD added in v1.0.3

func (g *Gui) GetConfigsAndChangeCWD() ([]string, error)

func (*Gui) GetData added in v1.0.3

func (g *Gui) GetData(name string) []entity.Message

func (*Gui) IsWindows added in v1.0.3

func (g *Gui) IsWindows() bool

func (*Gui) Run added in v1.0.3

func (g *Gui) Run()

func (*Gui) SaveData added in v1.0.3

func (g *Gui) SaveData(data map[string]interface{}, bucketName string)

func (*Gui) SaveToFrontendParams added in v1.0.3

func (g *Gui) SaveToFrontendParams()

func (*Gui) Shutdown added in v1.0.3

func (g *Gui) Shutdown(ctx context.Context)

func (*Gui) Startup added in v1.0.3

func (g *Gui) Startup(ctx context.Context)

func (*Gui) Stoped added in v1.0.3

func (g *Gui) Stoped()

type LogService added in v1.0.3

type LogService interface {
	Fatal(...interface{})
	Debugf(string, ...interface{})
	Fatalf(string, ...interface{})
	Info(...interface{})
}

type SessionService added in v1.0.3

type SessionService interface {
	SetConnTimeout(t int)
	SetProxyAllowCleartextAuth(b bool)
	SetAllowUnusedAddrFamilies(s string)
	SetClockTickMS(uint)
	SetProxyHost(s string)
	SetExternalPkiAlias(s string)
	SetGremlinConfig(string)
	SetGuiVersion(string)
	SetHwAddrOverride(string)
	SetPlatformVersion(string)
	SetPortOverride(string)
	SetPrivateKeyPassword(string)
	SetProtoOverride(string)
	SetProtoVersionOverride(int)
	SetProxyUsername(string)
	SetProxyPassword(string)
	SetProxyPort(string)
	SetServerOverride(string)
	SetSsoMethods(string)
	SetTlsCertProfileOverride(string)
	SetTlsCipherList(string)
	SetTlsCiphersuitesList(string)
	SetTlsVersionMinOverride(string)
	SetDefaultKeyDirection(int)
	SetTunPersist(bool)
	SetEnableLegacyAlgorithms(bool)
	SetEnableNonPreferredDCAlgorithms(bool)
	SetDisableClientCert(bool)
	SetRetryOnAuthFailed(bool)
	SetAllowLocalDnsResolvers(bool)
	SetAllowLocalLanAccess(bool)
	SetAltProxy(bool)
	SetAutologinSessions(bool)
	SetDco(bool)
	SetEcho(bool)
	SetGenerate_tun_builder_capture_event(bool)
	SetGoogleDnsFallback(bool)
	SetInfo(bool)
	SetSynchronousDnsLookup(bool)
	SetWintun(bool)

	SetSslDebugLevel(int)
	SetCompressionMode(string)
}

type TransportService added in v1.0.3

type TransportService interface {
	Disconnect()
}

Jump to

Keyboard shortcuts

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