Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwitchBuffer ¶
type SwitchBuffer struct {
// contains filtered or unexported fields
}
func NewSwitchBuffer ¶
func NewSwitchBuffer(handler func(items *list.List) error) *SwitchBuffer
NewSwitchBuffer create a new SwitchBuffer.
func (*SwitchBuffer) Push ¶
func (s *SwitchBuffer) Push(item interface{}) chan error
Cache gets current writable buffer.
Click to show internal directories.
Click to hide internal directories.