Documentation ¶
Index ¶
Constants ¶
View Source
const (
NUM_VBUCKETS int = 1024
)
Variables ¶
View Source
var FreeAppWorkerChanMap map[string]chan *Client
View Source
var NewAppWorkerChanMap map[string]chan *Worker
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Feed *couchbase.DcpFeed // contains filtered or unexported fields }
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
type Server ¶
type Server struct { AppName string ActiveWorkerCount uint32 RunningWorkers map[*Client]int ConnAcceptQueue chan Connection // Keeps track of different stats of individual client workers // i.e. state of each worker("pending", "active"), start vbucket. // end vbucket etc WorkerStateMap map[int]map[string]interface{} WorkerShutdownChanMap map[int]chan bool StopAcceptChan chan bool StopServerChan chan bool }
Click to show internal directories.
Click to hide internal directories.