stats

package
v0.0.0-...-eecacf2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

func GetStatus

func GetStatus(available_actions []string, uptime int) map[string]string

Types

type Conn

type Conn struct {
	// contains filtered or unexported fields
}

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

Jump to

Keyboard shortcuts

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