actions

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthClientWrapper

type AuthClientWrapper struct {
	AuthClient auth.AuthClient
	ApiClient  api.ApiClientWrapper
}

func (AuthClientWrapper) ListLocations

func (w AuthClientWrapper) ListLocations(country string) error

func (AuthClientWrapper) Login

func (w AuthClientWrapper) Login(email string, password string) error

func (AuthClientWrapper) Logout

func (w AuthClientWrapper) Logout() error

func (AuthClientWrapper) Register

func (w AuthClientWrapper) Register(email string, password string) error

func (AuthClientWrapper) SetLocation

func (w AuthClientWrapper) SetLocation(location forestvpn_api.Location, includeHostIP bool) error

type State

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

func (*State) GetStatus

func (s *State) GetStatus() bool

func (*State) SetDown

func (s *State) SetDown(config string) error

func (*State) SetUp

func (s *State) SetUp(config string) error

Jump to

Keyboard shortcuts

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