mask.go 270 B

123456789101112131415
  1. package client
  2. import (
  3. "context"
  4. "go-common/app/interface/main/dm2/model"
  5. )
  6. const _mask = "RPC.Mask"
  7. // Mask get mask
  8. func (s *Service) Mask(c context.Context, arg *model.ArgMask) (res *model.Mask, err error) {
  9. err = s.client.Call(c, _mask, arg, &res)
  10. return
  11. }