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

Method UnSubscribe

notice/server.go:53–56  ·  view source on GitHub ↗

UnSubscribe unsubscribe a Notifer.

(_ context.Context, req *meta.UnSubscribeRequest)

Source from the content-addressed store, hash-verified

51
52// UnSubscribe unsubscribe a Notifer.
53func (n *Notifer) UnSubscribe(_ context.Context, req *meta.UnSubscribeRequest) (*meta.UnSubscribeResponse, error) {
54 n.broker.UnSubscribe(req.ID)
55 return &meta.UnSubscribeResponse{}, nil
56}
57
58// Push push a message to gate.
59func (n *Notifer) Push(_ context.Context, req *meta.PushRequest) (*meta.PushResponse, error) {

Callers

nothing calls this directly

Calls 1

UnSubscribeMethod · 0.65

Tested by

no test coverage detected