Package nordVpn (v1.8.3) [up] [repository]

Index

Functions

func FormatProxy(username, password, hostname string) string
func WriteServers(limit int) ([]byte, error)

limit <= -1 for default limit == 0 for all

Types

type Server

type Server struct {
	Hostname     string
	Status       string
	Technologies []struct {
		Identifier string
	}
	Locations []struct {
		Country struct {
			City struct {
				DnsName string `json:"dns_name"`
			}
			Code string
		}
	}
}

Functions

func ReadServers(data []byte) ([]Server, error)

Methods

func (s *Server) Country(code string) bool
func (s *Server) ProxySsl() bool