Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Table goka.Table = goka.GroupTable(group) Stream goka.Stream = "block_user" )
Functions ¶
Types ¶
type BlockEvent ¶
type BlockEvent struct {
Unblock bool
}
type BlockEventCodec ¶
type BlockEventCodec struct{}
func (*BlockEventCodec) Decode ¶
func (c *BlockEventCodec) Decode(data []byte) (interface{}, error)
func (*BlockEventCodec) Encode ¶
func (c *BlockEventCodec) Encode(value interface{}) ([]byte, error)
type BlockValue ¶
type BlockValue struct {
Blocked bool
}
type BlockValueCodec ¶
type BlockValueCodec struct{}
func (*BlockValueCodec) Decode ¶
func (c *BlockValueCodec) Decode(data []byte) (interface{}, error)
func (*BlockValueCodec) Encode ¶
func (c *BlockValueCodec) Encode(value interface{}) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.