configure

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Proxy     client.Proxy
	DNS       client.DNS
	GRPC      client.GRPC
	Transport client.Transport
	NET       general.NET
	Logger    logger.Options
}

Client socks5 配置

func (*Client) Format

func (c *Client) Format() (e error)

Format 格式化 參數

func (*Client) Load

func (c *Client) Load(filename string) (e error)

Load 加載 配置

func (*Client) String

func (c *Client) String() string

type Server

type Server struct {
	Server []server.Server
	Logger logger.Options
}

Server 服務器 配置

func (*Server) Format

func (s *Server) Format(basePath string) (e error)

Format 格式化 參數

func (*Server) Load

func (s *Server) Load(filename string) (e error)

Load 加載 配置

func (*Server) String

func (s *Server) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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