client

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: GPL-3.0 Imports: 1 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 {
	ServerAddr  string        `json:"server_addr"`
	Host        string        `json:"host,omitempty"`
	UUID        string        `json:"uuid"` // user id
	ListenSocks string        `json:"listen_socks,omitempty"`
	ListenHttp  string        `json:"listen_http,omitempty"`
	BasicAuth   string        `json:"basic_auth,omitempty"` // user:password
	Mux         uint8         `json:"mux"`                  // 0 -> disabled, n (>0) -> limited connection
	EnableTLS   bool          `json:"tls"`
	Routes      router.Routes `json:"route,omitempty"`
}

Jump to

Keyboard shortcuts

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