Documentation ¶
Index ¶
- Constants
- Variables
- func C(v ...interface{})
- func D(v ...interface{})
- func E(v ...interface{})
- func I(v ...interface{})
- func Log(level int, format string, v ...interface{})
- func ParseConfig() error
- func Run()
- func Serve(path string, handler func(*websocket.Conn))
- func ServeHTTP(path string, handler func(http.ResponseWriter, *http.Request))
- func SetLevel(l int)
- func T(v ...interface{})
- func W(v ...interface{})
Constants ¶
View Source
const ( Trace = iota Debug Info Warning Error Critical )
Log levels to control the logging output.
View Source
const VERSION = "0.0.1"
Variables ¶
View Source
var ( AppName string AppPath string AppConfigPath string WsPort int LogLevel int AppId int )
View Source
var AppConfig config.ConfigContainer
View Source
var Logger *logs.BeeLogger
logger references the used application logger.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.