Documentation ¶
Index ¶
- Constants
- func GetStatus(available_actions []string, uptime int) map[string]string
- type Conn
- type Connection
- func (this *Connection) Close(comment string, is_error bool)
- func (this *Connection) StateKeepalive(resp_compressed, took uint64, skip_response_sent bool)
- func (this *Connection) StateReading() int64
- func (this *Connection) StateServing(action, _pinfo string)
- func (this *Connection) StateWriting(request_size, request_size_compressed, response_size uint64) uint64
Constants ¶
View Source
const TYPE_CONN_CLOSE = 0
View Source
const TYPE_CONN_OPEN = 0
View Source
const TYPE_CONN_UPDATE = 0
View Source
const TYPE_NUMERIC_STAT = 0
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func MakeConnection ¶
func MakeConnection(remoteAddr string) *Connection
func (*Connection) Close ¶
func (this *Connection) Close(comment string, is_error bool)
func (*Connection) StateKeepalive ¶
func (this *Connection) StateKeepalive(resp_compressed, took uint64, skip_response_sent bool)
func (*Connection) StateReading ¶
func (this *Connection) StateReading() int64
func (*Connection) StateServing ¶
func (this *Connection) StateServing(action, _pinfo string)
func (*Connection) StateWriting ¶
func (this *Connection) StateWriting(request_size, request_size_compressed, response_size uint64) uint64
Click to show internal directories.
Click to hide internal directories.