Documentation ¶
Index ¶
- type Service
- func (s *Service) AliasToType(alias string) (t int32, exists bool)
- func (s *Service) Close() error
- func (s *Service) ListBusiness(c context.Context) (business []*reply.Business, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) TypeToAlias(t int32) (alias string, exists bool)
- func (s *Service) UpSearchReply(c context.Context, rps map[int64]*model.Reply) (err error)
- func (s *Service) Wait()
- type StatMsg
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 reply-job service
func (*Service) AliasToType ¶
AliasToType map alias to type
func (*Service) ListBusiness ¶
ListBusiness return all non-deleted business record.
func (*Service) TypeToAlias ¶
TypeToAlias map type to alias
func (*Service) UpSearchReply ¶
UpSearchReply update search reply index.
type StatMsg ¶
type StatMsg struct { Type string `json:"type,omitempty"` ID int64 `json:"id,omitempty"` Count int `json:"count,omitempty"` Oid int64 `json:"origin_id,omitempty"` DislikeCount int `json:"dislike_count,omitempty"` Timestamp int64 `json:"timestamp,omitempty"` Mid int64 `json:"mid,omitempty"` }
StatMsg stat msg.
Click to show internal directories.
Click to hide internal directories.