Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoRuntimeEnabled = errors.New("at least one runtime must be enabled") ErrClientClosed = errors.New("client already closed") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ListenAddress ¶
type HTTPOptions ¶
type HTTPOptions struct {
Enabled bool
}
type ListenOptions ¶
type ListenOptions struct {
Address string
}
type Logger ¶
Logger is the minimal public logging contract for amz. It is compatible with standard log.Logger and the internal runtime logger.
type Options ¶
type Options struct {
Storage StorageOptions
Listen ListenOptions
Transport TransportOptions
HTTP HTTPOptions
SOCKS5 SOCKS5Options
TUN TUNOptions
Logger Logger
}
type SOCKS5Options ¶
type SOCKS5Options struct {
Enabled bool
}
type StorageOptions ¶
type StorageOptions struct {
Path string
}
type TUNOptions ¶
type TUNOptions struct {
Enabled bool
}
type TransportOptions ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.