msg

package
v0.0.0-...-9f44e2f Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Kv         *bolt.DB
	DbFolder   = "./db/"
	DateFormat = "2006/01/02/15:04:05"
)

预设变量

Functions

This section is empty.

Types

type Msg

type Msg struct {
	DbFolder   string
	DateFormat string
}

func Init

func Init(cfg Msg) Msg

func (Msg) Debug

func (m Msg) Debug(parm ...interface{})

func (Msg) DebugCaller

func (m Msg) DebugCaller(skip int) (name, file string, line int, ok bool)

func (Msg) Log

func (m Msg) Log(parm ...interface{})

func (Msg) Print

func (m Msg) Print(parm ...interface{})

Jump to

Keyboard shortcuts

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