Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientType ¶
type ClientType int
ClientType enum
const ( // UnknownClient unknown endpoint type UnknownClient ClientType = iota // TCP type TCP // HTTPPost type HTTPPost )
func ParseClinetType ¶
func ParseClinetType(str string) ClientType
ParseClinetType parses string to ClinetType
func (ClientType) String ¶
func (i ClientType) String() string
type Console ¶
type Console struct { Level uint Flat bool DisableColors bool FullTimestamp bool Histogram bool TimestampFormat string }
Console configuraiton
type Endpoint ¶
type Endpoint struct { Address string Port uint Type ClientType }
Endpoint configuration
type Log ¶
type Log struct { LogDir string LogFile string Level uint LogReqDir string LogResDir string DisableColors bool FullTimestamp bool TimestampFormat string Histogram bool }
Log configuraiton
Click to show internal directories.
Click to hide internal directories.