Documentation ¶
Overview ¶
Package redchan go lang chan over redis
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorFunc ¶
type ErrorFunc func() error
ErrorFunc return last error If this return a error means you need call again Send/Recv because all connections are closed.
type RedisChannel ¶
type RedisChannel struct {
// contains filtered or unexported fields
}
RedisChannel identify a unique channel on redis for send and receive messages
func (RedisChannel) ChannelID ¶
func (rd RedisChannel) ChannelID() string
ChannelID unique id for channel
func (RedisChannel) ChannelKind ¶
func (rd RedisChannel) ChannelKind() reflect.Type
ChannelKind kind of channel for decoding and encoding any struct
func (RedisChannel) ChannelSize ¶
func (rd RedisChannel) ChannelSize() int
ChannelSize size of channel
Click to show internal directories.
Click to hide internal directories.