configuration

package
v0.0.0-...-7923462 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// socks server options
	Server socks.Options

	// storage options
	Storage storage.Options

	// logger options
	Logger logger.Options
	// contains filtered or unexported fields
}

config struct

func NewConfig

func NewConfig(file string) *Config

Конструктор

func (*Config) Init

func (c *Config) Init() error

Инициализация

Jump to

Keyboard shortcuts

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