 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Rep
- func (r *Rep) CheckTable()
- func (r *Rep) IncrGroupSeq(groupId string) (uint64, error)
- func (r *Rep) IncrUserSeq(uid string) (uint64, error)
- func (r *Rep) SaveGroupChatCassandra(spanCtx context.Context, groupId string, sendTime int64, m *chatpb.MsgDataToDB) error
- func (r *Rep) SaveUserChatCassandra2(spanCtx context.Context, uid string, sendTime int64, m *chatpb.MsgDataToDB) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rep ¶
type Rep struct {
	Cache redis.UniversalClient
	//mysql       *gorm.DB
	CassandraClient *gocql.Session
	// contains filtered or unexported fields
}
    func NewRep ¶
func NewRep(svcCtx *svc.ServiceContext) *Rep
func (*Rep) CheckTable ¶
func (r *Rep) CheckTable()
func (*Rep) SaveGroupChatCassandra ¶
func (*Rep) SaveUserChatCassandra2 ¶
 Click to show internal directories. 
   Click to hide internal directories.