bilibili-backup/app/service/main/usersuit/rpc/client/common.go

19 lines
352 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
package client
import (
"context"
"go-common/app/service/main/usersuit/model"
)
const (
_pointFlag = "RPC.PointFlag"
)
// PointFlag obtain new pendant noify.
func (s *Service2) PointFlag(c context.Context, arg *model.ArgMID) (res *model.PointFlag, err error) {
res = new(model.PointFlag)
err = s.client.Call(c, _pointFlag, arg, res)
return
}