Documentation ¶
Index ¶
- Variables
- type Auth
- type Client
- type ClientIntern
- type Command
- type Config
- type ConfigIntern
- type Context
- func (context *Context) Close()
- func (context *Context) Err(code string)
- func (context *Context) Handle()
- func (context *Context) Log(line string)
- func (context *Context) Logf(format string, args ...interface{})
- func (context *Context) Ok()
- func (context *Context) OkValue(value interface{})
- func (context *Context) Realm()
- func (context *Context) Write(line string)
- func (context *Context) Writef(format string, args ...interface{})
- type Daemon
- type Interpreter
- type Mysql
- type Postgres
- type Proxy
- type Security
- type Server
- type Sqlite
- type Ssl
- type Stats
- type SubParser
- type Syslog
- type SyslogIntern
Constants ¶
This section is empty.
Variables ¶
View Source
var NOARGS []string
Functions ¶
This section is empty.
Types ¶
type ClientIntern ¶
type ClientIntern struct {
Auth []string
}
type ConfigIntern ¶
type ConfigIntern struct { Daemon Syslog SyslogIntern Client ClientIntern Security Ssl Sqlite Mysql Postgres Proxy }
type Interpreter ¶
type Interpreter struct { *Context // contains filtered or unexported fields }
type Server ¶
type Server struct { Logger *log.Logger Cfg *Config Backend backends.Abstract App *cli.App Logging bool Stats // contains filtered or unexported fields }
func (*Server) RunContext ¶
type Stats ¶
type Stats struct {
Connects, Disconnects, Login, FailedLogin int
// contains filtered or unexported fields
}
func (*Stats) ActiveConnections ¶
type SyslogIntern ¶
type SyslogIntern struct {
Facility, Level string
}
Click to show internal directories.
Click to hide internal directories.