Documentation ¶
Index ¶
- type Option
- type Subscribe
- func (s *Subscribe) Convert(subscribe model.Subscribe) apistructs.Subscribe
- func (s *Subscribe) GetSubscribes(req apistructs.GetSubscribeReq) ([]apistructs.Subscribe, error)
- func (s *Subscribe) Subscribe(req apistructs.CreateSubscribeReq) (string, error)
- func (s *Subscribe) UnSubscribe(req apistructs.UnSubscribeReq) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscribe ¶
type Subscribe struct {
// contains filtered or unexported fields
}
func (*Subscribe) Convert ¶
func (s *Subscribe) Convert(subscribe model.Subscribe) apistructs.Subscribe
func (*Subscribe) GetSubscribes ¶
func (s *Subscribe) GetSubscribes(req apistructs.GetSubscribeReq) ([]apistructs.Subscribe, error)
func (*Subscribe) Subscribe ¶
func (s *Subscribe) Subscribe(req apistructs.CreateSubscribeReq) (string, error)
func (*Subscribe) UnSubscribe ¶
func (s *Subscribe) UnSubscribe(req apistructs.UnSubscribeReq) error
Click to show internal directories.
Click to hide internal directories.