config

package
v0.0.0-...-70ba0c5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: GPL-3.0 Imports: 4 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 {
	Mac                 string `json:"mac"`
	LocalProxyBind      string `json:"local_proxy_bind"`
	RemoteProxyData     string `json:"remote_proxy_data"`
	RemoteProxyControl  string `json:"remote_proxy_control"`
	LocalBindMin        uint16 `json:"local_bind_min"`
	LocalBindMax        uint16 `json:"local_bind_max"`
	Browser             string `json:"browser"`
	ProxyScheme         string `json:"proxy_scheme"`
	ProxyTLSCertificate string `json:"proxy_tls_certificate"`
	ProxyTLSKey         string `json:"proxy_tls_key"`
}

Client handler

func ReadConfigClient

func ReadConfigClient(filename string) Client

ReadConfigClient reads the client configuration

type Server

type Server struct {
	ControlBind string `json:"control_bind"`
	DataBind    string `json:"data_bind"`
	DbDriver    string `json:"db_driver"`
	DbConn      string `json:"db_conn"`
}

Server handler

func ReadConfigServer

func ReadConfigServer(filename string) Server

ReadConfigServer reads the server configuration

Jump to

Keyboard shortcuts

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