MCPcopy Index your code
hub / github.com/dearcode/candy / Store

Struct Store

store/server.go:17–28  ·  view source on GitHub ↗

Store save user, message.

Source from the content-addressed store, hash-verified

15
16// Store save user, message.
17type Store struct {
18 host string
19 dbPath string
20 user *userDB
21 group *groupDB
22 message *messageDB
23 postman *postman
24 friend *friendDB
25 file *fileDB
26 notice *util.Notice
27 master *util.Master
28}
29
30// NewStore new Store server.
31func NewStore(host, dbPath string) *Store {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected