Back to godoc.org

Package bonafide

v0.0.0-...-42593eb
Latest Go to latest

The latest major version is .

Published: May 7, 2020 | License: GPL3 | Module: 0xacab.org/leap/bitmask-vpn

Index

type Bonafide

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

func New

func New() *Bonafide

func (*Bonafide) GetCertPem

func (b *Bonafide) GetCertPem() ([]byte, error)

func (*Bonafide) GetGateways

func (b *Bonafide) GetGateways(transport string) ([]Gateway, error)

func (*Bonafide) GetOpenvpnArgs

func (b *Bonafide) GetOpenvpnArgs() ([]string, error)

func (*Bonafide) SetDefaultGateway

func (b *Bonafide) SetDefaultGateway(name string)

type Gateway

type Gateway struct {
	Host      string
	IPAddress string
	Location  string
	Ports     []string
	Protocols []string
	Options   map[string]string
}

Package Files

  • bonafide.go
  • eip_service.go
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier