Documentation
¶
Index ¶
- Variables
- func AddWriter(wn io.Writer)
- func BigLittleSwap(v uint) uint
- func CurrentDir(path ...string) string
- func GetUev(buff []byte, start int) (value int, pos int)
- func InstallPlugin(opt *PluginConfig)
- func MayBeError(info error) (hasError bool)
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func Println(v ...interface{})
- func Run(ctx context.Context, configFile string) (err error)
- type MultiLogWriter
- type PluginConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigRaw []byte StartTime time.Time //启动时间 Plugins = make(map[string]*PluginConfig) // Plugins 所有的插件配置 HasTranscoder bool )
View Source
var BigEndian bigEndian
BigEndian is the big-endian implementation of ByteOrder.
View Source
var LittleEndian littleEndian
View Source
var Version = "1.0.0"
Functions ¶
func BigLittleSwap ¶ added in v1.0.1
func CurrentDir ¶
func Printf ¶
func Printf(format string, v ...interface{})
Printf calls Output to print to the standard logger. Arguments are handled in the manner of fmt.Printf.
Types ¶
type MultiLogWriter ¶
MultiLogWriter 多端写日志类
Click to show internal directories.
Click to hide internal directories.