model

package
v0.0.0-...-5d358e5 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONNECT_MODE_PROXY = iota
	CONNECT_MODE_DIRECT
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthUsers

type AuthUsers struct {
	Id       string `yaml:"id"`
	Password string `yaml:"password"`
}

type CONNECT_MODE

type CONNECT_MODE int

func (CONNECT_MODE) String

func (c CONNECT_MODE) String() string

type ConfigYaml

type ConfigYaml struct {
	Auth              bool        `yaml:"auth"`
	AutoDirectConnect bool        `yaml:"auto_direct_connect"`
	ProxyServer       string      `yaml:"proxy"`
	GatewayServer     string      `yaml:"gateway"`
	Listen            string      `yaml:"listen"`
	LogMode           string      `yaml:"log_mode"`
	ExcludeIps        []string    `yaml:"exclude"`
	Users             []AuthUsers `yaml:"users"`
}

type ConnectPacket

type ConnectPacket struct {
	Addr string
}

Jump to

Keyboard shortcuts

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