mobile

package
v0.0.0-...-176a534 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitmaskMobile

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

func NewBitmaskMobile

func NewBitmaskMobile(url string, countryCode string, store mobilemodels.Store) (*BitmaskMobile, error)

func (*BitmaskMobile) GetAllBridges

func (bm *BitmaskMobile) GetAllBridges(location, port, transport, transportType string) (*mobilemodels.Bridges, error)

func (*BitmaskMobile) GetAllGateways

func (bm *BitmaskMobile) GetAllGateways(location, port, transport string) (*mobilemodels.Gateways, error)

func (*BitmaskMobile) GetBestBridge

func (bm *BitmaskMobile) GetBestBridge() (string, error)

func (*BitmaskMobile) GetBestGateway

func (bm *BitmaskMobile) GetBestGateway() (string, error)

func (*BitmaskMobile) GetOpenVPNCert

func (bm *BitmaskMobile) GetOpenVPNCert() (string, error)

func (*BitmaskMobile) GetProvider

func (bm *BitmaskMobile) GetProvider() (*models.ModelsProvider, error)

GetProvider returns the essential provider infos, including urls to the API and supported API version

func (*BitmaskMobile) GetService

func (bm *BitmaskMobile) GetService() (*models.ModelsEIPService, error)

GetService returns service information, including available locations and common tunnel config

func (*BitmaskMobile) SetCountryCode

func (bm *BitmaskMobile) SetCountryCode(cc string)

func (*BitmaskMobile) SetIntroducer

func (bm *BitmaskMobile) SetIntroducer(introducerUrl string) error

func (*BitmaskMobile) SetResolveWithDoH

func (bm *BitmaskMobile) SetResolveWithDoH(resolveWithDoH bool)

func (*BitmaskMobile) SetUseTls

func (bm *BitmaskMobile) SetUseTls(useTls bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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