Documentation
¶
Index ¶
- type DbService
- type FilesManager
- type Gui
- func (g *Gui) BeforeClose(ctx context.Context) (prevent bool)
- func (g *Gui) DecodeData(data map[string]interface{}) (*entity.Message, error)
- func (g *Gui) DeleteData(data map[string]interface{}, bucketName string)
- func (g *Gui) DomReady(ctx context.Context)
- func (g *Gui) GetConfigsAndChangeCWD() ([]string, error)
- func (g *Gui) GetData(name string) []entity.Message
- func (g *Gui) IsWindows() bool
- func (g *Gui) Run()
- func (g *Gui) SaveData(data map[string]interface{}, bucketName string)
- func (g *Gui) SaveToFrontendParams()
- func (g *Gui) Shutdown(ctx context.Context)
- func (g *Gui) Startup(ctx context.Context)
- func (g *Gui) Stoped()
- type LogService
- type SessionService
- type TransportService
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 Gui ¶ added in v1.0.3
type Gui struct {
// contains filtered or unexported fields
}
func NewGui ¶ added in v1.0.3
func NewGui( f FilesManager, s SessionService, d DbService, l LogService, t TransportService) *Gui
func (*Gui) BeforeClose ¶ added in v1.0.3
func (*Gui) DecodeData ¶ added in v1.0.3
func (*Gui) DeleteData ¶ added in v1.0.3
func (*Gui) GetConfigsAndChangeCWD ¶ added in v1.0.3
func (*Gui) SaveToFrontendParams ¶ added in v1.0.3
func (g *Gui) SaveToFrontendParams()
type LogService ¶ added in v1.0.3
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()
}
Click to show internal directories.
Click to hide internal directories.