Documentation ¶
Index ¶
- type Conn
- type Table
- func (t *Table) Exists(c identification.Identifier) bool
- func (t *Table) HasBatch(c identification.Identifier, id string) bool
- func (t *Table) Remove(c identification.Identifier)
- func (t *Table) RemoveBatch(c identification.Identifier, id string)
- func (t *Table) Store(c identification.Identifier) error
- func (t *Table) StoreBatch(c identification.Identifier, id string)
- func (t *Table) TotalConnection() int
- func (t *Table) TotalConnectionPerGroup() map[string]int
- type Upgrader
- type UpgraderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { Identifier identification.Identifier // contains filtered or unexported fields }
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (*Table) Exists ¶
func (t *Table) Exists(c identification.Identifier) bool
func (*Table) HasBatch ¶
func (t *Table) HasBatch(c identification.Identifier, id string) bool
func (*Table) Remove ¶
func (t *Table) Remove(c identification.Identifier)
func (*Table) RemoveBatch ¶
func (t *Table) RemoveBatch(c identification.Identifier, id string)
func (*Table) Store ¶
func (t *Table) Store(c identification.Identifier) error
func (*Table) StoreBatch ¶
func (t *Table) StoreBatch(c identification.Identifier, id string)
func (*Table) TotalConnection ¶
func (*Table) TotalConnectionPerGroup ¶
type Upgrader ¶
type Upgrader struct { Table *Table // contains filtered or unexported fields }
func NewUpgrader ¶
func NewUpgrader(conf UpgraderConfig) *Upgrader
Click to show internal directories.
Click to hide internal directories.