Documentation ¶
Index ¶
- Variables
- type ActionFilter
- type Answer
- type BizProto
- type Cache
- type Channel
- type Checker
- type DB
- type Exec
- type Filter
- type Frame
- type FrameType
- type MsgIndex
- type Pusher
- type StandardAnswer
- func (s *StandardAnswer) Ack(ctx context.Context, frame Frame) (int64, error)
- func (s *StandardAnswer) Check(ctx context.Context, checker Checker, frame Frame) error
- func (s *StandardAnswer) Filter(ctx context.Context, frame Frame) (uint64, error)
- func (s *StandardAnswer) FrameFilters(tp FrameType) []Filter
- func (s *StandardAnswer) Transport(ctx context.Context, frame Frame) error
- type StandardStorage
- type Storage
- type Trace
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorEnvType = errors.New("unsupported event type") ErrorChType = errors.New("unsupported channel type") ErrorMsgType = errors.New("unsupported message type") ErrExecSupport = errors.New("biz proto exec not support") ErrMsgTypeSupport = errors.New("biz msg type not support") ErrAppTypeSupport = errors.New("app type not support") ErrPermissionDeny = errors.New("permission deny") ErrGroupMemberNotExists = errors.New("group member not exists") )
Functions ¶
This section is empty.
Types ¶
type ActionFilter ¶
type StandardAnswer ¶
type StandardAnswer struct {
// contains filtered or unexported fields
}
implement
func NewStandardAnswer ¶
func (*StandardAnswer) FrameFilters ¶
func (s *StandardAnswer) FrameFilters(tp FrameType) []Filter
type StandardStorage ¶
type StandardStorage struct {
// contains filtered or unexported fields
}
func NewStandardStorage ¶
func NewStandardStorage(db DB) *StandardStorage
Source Files ¶
Click to show internal directories.
Click to hide internal directories.