mobilemodels

package
v0.0.0-...-2f54668 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitmaskMobileCore

type BitmaskMobileCore interface {
	SetCountryCode(cc string) error
	GetGeolocation() (string, error)
	SetUseTls(useTls bool) error
	SetResolveWithDoH(resolveWithDoH bool) error
	SetIntroducer(introducerUrl string) error
	GetIntroducerURLByDomain(domain string) (string, error)
	SetSocksProxy(proxyUrl string) error
	SetDebug(isDebug bool)
	GetProvider() (string, error)
	GetService() (string, error)
	GetBestGateway() (string, error)
	GetBestBridge() (string, error)
	GetAllBridges(location, port, transport, transportType string) (string, error)
	GetAllGateways(location, port, transport string) (string, error)
	GetOpenVPNCert() (string, error)
}

BitmaskMobileCore defines the interface for BitmaskMobile it allows us to write better testable code on the other side of the FFI by mocking return values of BitmaskCore

type Store

type Store interface {
	storage.Store
}

Jump to

Keyboard shortcuts

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