Documentation
¶
Index ¶
- type Service
- func (s *Service) AddCard(c context.Context, req *model.AddCard) (err error)
- func (s *Service) AddGroup(c context.Context, req *model.AddGroup) (err error)
- func (s *Service) CardOrderChange(c context.Context, req *model.ArgIds) (err error)
- func (s *Service) CardsByGid(c context.Context, gid int64) ([]*model.Card, error)
- func (s *Service) Close()
- func (s *Service) DeleteCard(c context.Context, id int64) error
- func (s *Service) DeleteGroup(c context.Context, id int64) error
- func (s *Service) GroupList(c context.Context, req *model.ArgQueryGroup) (res []*model.CardGroup, err error)
- func (s *Service) GroupOrderChange(c context.Context, req *model.ArgIds) (err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) UpdateCard(c context.Context, req *model.UpdateCard) (err error)
- func (s *Service) UpdateCardState(c context.Context, req *model.ArgState) error
- func (s *Service) UpdateGroup(c context.Context, req *model.UpdateGroup) error
- func (s *Service) UpdateGroupState(c context.Context, req *model.ArgState) 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 struct
func (*Service) CardOrderChange ¶
CardOrderChange card order change.
func (*Service) CardsByGid ¶
CardsByGid get cards by gid.
func (*Service) DeleteCard ¶
DeleteCard delete card.
func (*Service) DeleteGroup ¶
DeleteGroup delete group.
func (*Service) GroupList ¶
func (s *Service) GroupList(c context.Context, req *model.ArgQueryGroup) (res []*model.CardGroup, err error)
GroupList group list.
func (*Service) GroupOrderChange ¶
GroupOrderChange group order change.
func (*Service) UpdateCard ¶
UpdateCard update card.
func (*Service) UpdateCardState ¶
UpdateCardState update card state.
func (*Service) UpdateGroup ¶
UpdateGroup update group.
Click to show internal directories.
Click to hide internal directories.