mobilemodels

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 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)
	GetAllBridges(location, port, transport, transportType string) (string, error)
	GetAllGateways(location, port, transport string) (string, error)
	GetOpenVPNCert() (string, error)
	SetCountryCodeLookupURL(servers string) (err error)
	SetStunServers(servers string) (err 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
}

Source Files

  • bitmaskmobile.go
  • store.go

Jump to

Keyboard shortcuts

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