setting

package
v0.0.0-...-99505da Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cfg         *ini.File
	LogFile     string
	ExpiredTime int
	RunMode     string

	HTTPIP   string
	HTTPPort int

	ReadTimout  time.Duration
	WriteTimout time.Duration

	PageSize  int
	JwtSecret string

	SSHUser      string
	SSHPwd       string
	KeyFile      string
	KeyPwd       string
	SSHPort      int
	ConnTimeout  int
	WholeTimeout time.Duration
)

Functions

func GetCurrentDirectory

func GetCurrentDirectory() string

func LoadApp

func LoadApp()

func LoadBase

func LoadBase()

func LoadSSH

func LoadSSH()

func LoadServer

func LoadServer()

func PathExists

func PathExists(path string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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