Documentation
¶
Index ¶
- Variables
- type UserService
- func (s *UserService) AmqpConsumerHandler(mq *gorabbitmq.RabbitMQ, data map[string]interface{}) error
- func (s *UserService) AmqpProducerHandler(mq *gorabbitmq.RabbitMQ, data []byte) error
- func (s *UserService) GetIndex(requestParams user.IndexRequest) (interface{}, error)
- func (s *UserService) GetList(requestParams user.IndexRequest) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var User = &UserService{}
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct{}
func (*UserService) AmqpConsumerHandler ¶
func (s *UserService) AmqpConsumerHandler(mq *gorabbitmq.RabbitMQ, data map[string]interface{}) error
AmqpConsumerHandler 处理消费者方法
func (*UserService) AmqpProducerHandler ¶
func (s *UserService) AmqpProducerHandler(mq *gorabbitmq.RabbitMQ, data []byte) error
AmqpProducerHandler 处理生产者方法
func (*UserService) GetIndex ¶
func (s *UserService) GetIndex(requestParams user.IndexRequest) (interface{}, error)
GetIndex 获取列表
func (*UserService) GetList ¶
func (s *UserService) GetList(requestParams user.IndexRequest) (interface{}, error)
GetList 获取列表
Click to show internal directories.
Click to hide internal directories.