common.go 352 B

123456789101112131415161718
  1. package client
  2. import (
  3. "context"
  4. "go-common/app/service/main/usersuit/model"
  5. )
  6. const (
  7. _pointFlag = "RPC.PointFlag"
  8. )
  9. // PointFlag obtain new pendant noify.
  10. func (s *Service2) PointFlag(c context.Context, arg *model.ArgMID) (res *model.PointFlag, err error) {
  11. res = new(model.PointFlag)
  12. err = s.client.Call(c, _pointFlag, arg, res)
  13. return
  14. }