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

Function newPostman

store/postman.go:23–25  ·  view source on GitHub ↗
(user *userDB, friend *friendDB, group *groupDB, notice *util.Notice)

Source from the content-addressed store, hash-verified

21)
22
23func newPostman(user *userDB, friend *friendDB, group *groupDB, notice *util.Notice) *postman {
24 return &postman{user: user, friend: friend, group: group, notice: notice}
25}
26
27// check 检查发件人是否有权发送这个消息.
28func (p *postman) check(msg *meta.Message) error {

Callers 1

StartMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected