MCPcopy Create free account
hub / github.com/dearcode/candy / Gate

Struct Gate

gate/server.go:29–38  ·  view source on GitHub ↗

Gate recv client request.

Source from the content-addressed store, hash-verified

27
28// Gate recv client request.
29type Gate struct {
30 host string
31 store *store
32 master *util.Master
33 notice *util.Notice
34 sessions map[string]*session
35 ids map[int64]*session
36 sync.RWMutex
37 healthServer *health.Server // nil means disabled
38}
39
40// NewGate new gate server.
41func NewGate() *Gate {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected