server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = &ConfigType{}
View Source
var Log = &LogType{}

Functions

This section is empty.

Types

type ConfigType

type ConfigType struct {
	IsChanged       bool
	AppDirPath      string
	LogFilePath     string
	Proto           string
	Host            string
	Port            string
	CertDirPath     string
	TlsCertFileName string
	TlsKeyFileName  string
	// contains filtered or unexported fields
}

func (*ConfigType) Load

func (self *ConfigType) Load(args []string)

func (*ConfigType) Save

func (self *ConfigType) Save()

type LogType

type LogType struct {
	Header *log.Logger
	Write  *log.Logger
	//   Trace *log.Logger
	Info    *log.Logger
	Warning *log.Logger
	Error   *log.Logger
	// contains filtered or unexported fields
}

func (*LogType) Close

func (self *LogType) Close()

func (*LogType) Open

func (self *LogType) Open(logFilePath string)

func (*LogType) Trace

func (self *LogType) Trace()

Jump to

Keyboard shortcuts

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