Documentation ¶
Index ¶
- type Service
- func (s *Service) Archive(c context.Context, arg *model.Archive) (res *int64, err error)
- func (s *Service) Archive2(c context.Context, arg *model.Archive) (res *model.Auth, err error)
- func (s *Service) AuthPIDs(c context.Context, arg *model.ArgPids) (res map[int64]*model.Auth, err error)
- func (s *Service) Group(c context.Context, arg *model.Group) (res *model.Auth, err error)
- func (s *Service) Info(c context.Context, arg *model.ArgIP) (res *model.Info, err error)
- func (s *Service) InfoComplete(c context.Context, arg *model.ArgIP) (res *model.InfoComplete, err error)
- func (s *Service) Infos(c context.Context, arg []string) (res map[string]*model.Info, err error)
- func (s *Service) InfosComplete(c context.Context, arg []string) (res map[string]*model.InfoComplete, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is resource rpc client.
func (*Service) AuthPIDs ¶
func (s *Service) AuthPIDs(c context.Context, arg *model.ArgPids) (res map[int64]*model.Auth, err error)
AuthPIDs check if ip in pids.
func (*Service) InfoComplete ¶
func (s *Service) InfoComplete(c context.Context, arg *model.ArgIP) (res *model.InfoComplete, err error)
InfoComplete get the whold ip info.
func (*Service) InfosComplete ¶
func (s *Service) InfosComplete(c context.Context, arg []string) (res map[string]*model.InfoComplete, err error)
InfosComplete get the whold ips infos.
Click to show internal directories.
Click to hide internal directories.