Documentation ¶
Index ¶
- func NewCallStateAdapter() (adapters.CallStateAdapter, error)
- type CallState
- func (cs CallState) AddSetMember(key string, member string, expired ...int) error
- func (cs CallState) Del(callUUID string) error
- func (cs CallState) DelKeyMember(key string, member string) error
- func (cs CallState) Get(callUUID string) ([]byte, error)
- func (cs CallState) GetMembersScore(key string) (map[string]int64, error)
- func (cs CallState) IncrKeyMemberScore(key string, member string, score int) (int64, error)
- func (cs CallState) KeyExist(key string) (bool, error)
- func (cs CallState) Set(callUuid string, state []byte, expired ...int) error
- func (cs CallState) SetRecordingJob(state []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCallStateAdapter ¶
func NewCallStateAdapter() (adapters.CallStateAdapter, error)
Types ¶
type CallState ¶
type CallState struct {
// contains filtered or unexported fields
}
func (CallState) AddSetMember ¶
func (CallState) GetMembersScore ¶
func (CallState) IncrKeyMemberScore ¶
func (CallState) SetRecordingJob ¶
Click to show internal directories.
Click to hide internal directories.