Documentation ¶
Index ¶
- type RBuffergo
- func (b *RBuffergo) CanRead(size int) bool
- func (b *RBuffergo) CanWrite(size int) bool
- func (b *RBuffergo) Capacity() int
- func (b *RBuffergo) Clear()
- func (b *RBuffergo) Empty() bool
- func (b *RBuffergo) Full() bool
- func (b *RBuffergo) GetBuffer() []byte
- func (b *RBuffergo) GetReadLineBuffer() []byte
- func (b *RBuffergo) GetWriteLineBuffer() []byte
- func (b *RBuffergo) Read(data []byte) bool
- func (b *RBuffergo) Restore()
- func (b *RBuffergo) Size() int
- func (b *RBuffergo) SkipRead(size int)
- func (b *RBuffergo) SkipWrite(size int)
- func (b *RBuffergo) Store()
- func (b *RBuffergo) Write(data []byte) bool
- type ROBuffergo
- func (b *ROBuffergo) Empty() bool
- func (b *ROBuffergo) Front() (error, interface{})
- func (b *ROBuffergo) FrontInter() *ROBuffergoInter
- func (b *ROBuffergo) Full() bool
- func (b *ROBuffergo) Get(id int) (error, data interface{})
- func (b *ROBuffergo) PopFront() error
- func (b *ROBuffergo) Set(id int, data interface{}) error
- func (b *ROBuffergo) Size() int
- type ROBuffergoInter
- type Rlistgo
- type RlistgoInter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RBuffergo ¶
type RBuffergo struct {
// contains filtered or unexported fields
}
func (*RBuffergo) GetReadLineBuffer ¶
func (*RBuffergo) GetWriteLineBuffer ¶
type ROBuffergo ¶
type ROBuffergo struct {
// contains filtered or unexported fields
}
func NewROBuffer ¶
func NewROBuffer(len int, startid int, maxid int) *ROBuffergo
func (*ROBuffergo) Empty ¶
func (b *ROBuffergo) Empty() bool
func (*ROBuffergo) Front ¶
func (b *ROBuffergo) Front() (error, interface{})
func (*ROBuffergo) FrontInter ¶
func (b *ROBuffergo) FrontInter() *ROBuffergoInter
func (*ROBuffergo) Full ¶
func (b *ROBuffergo) Full() bool
func (*ROBuffergo) Get ¶
func (b *ROBuffergo) Get(id int) (error, data interface{})
func (*ROBuffergo) PopFront ¶
func (b *ROBuffergo) PopFront() error
func (*ROBuffergo) Set ¶
func (b *ROBuffergo) Set(id int, data interface{}) error
func (*ROBuffergo) Size ¶
func (b *ROBuffergo) Size() int
type ROBuffergoInter ¶
type ROBuffergoInter struct { Value interface{} // contains filtered or unexported fields }
func (*ROBuffergoInter) Next ¶
func (bi *ROBuffergoInter) Next() *ROBuffergoInter
type Rlistgo ¶
type Rlistgo struct {
// contains filtered or unexported fields
}
func (*Rlistgo) FrontInter ¶
func (b *Rlistgo) FrontInter() *RlistgoInter
type RlistgoInter ¶
type RlistgoInter struct { Value interface{} // contains filtered or unexported fields }
func (*RlistgoInter) Next ¶
func (bi *RlistgoInter) Next() *RlistgoInter
Click to show internal directories.
Click to hide internal directories.