manager

package
v0.0.0-...-4d5a555 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRChan

type CRChan struct {
	CommandChan  chan *model.Packet
	ResponseChan chan *model.Packet
}

func NewCRChannel

func NewCRChannel(commandSize, RespSize int) *CRChan

func (*CRChan) CurrentQueueSize

func (crChannel *CRChan) CurrentQueueSize() (int, int)

type Namespaces

type Namespaces struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewNamespaces

func NewNamespaces() *Namespaces

func (*Namespaces) Add

func (nsSet *Namespaces) Add(ns string)

func (*Namespaces) AddAll

func (nsSet *Namespaces) AddAll(nsList []string)

func (*Namespaces) Contain

func (nsSet *Namespaces) Contain(ns string) bool

func (*Namespaces) Remove

func (nsSet *Namespaces) Remove(ns string)

Jump to

Keyboard shortcuts

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