Documentation ¶
Index ¶
- Constants
- Variables
- func CommonAddressHexRepair(address *common.Address) string
- type CounterID
- type Iterator
- type ListenCloser
- type ListenCloserFactory
- type NoopBatch
- func (*NoopBatch) Delete([]byte) error
- func (b *NoopBatch) Inner() database.Batch
- func (*NoopBatch) Put(_, _ []byte) error
- func (*NoopBatch) Replay(database.KeyValueWriter) error
- func (*NoopBatch) Reset()
- func (b *NoopBatch) Size() int
- func (*NoopBatch) ValueSize() int
- func (*NoopBatch) Write() error
- type NoopDatabase
- func (*NoopDatabase) Close() error
- func (*NoopDatabase) Compact(_, _ []byte) error
- func (*NoopDatabase) Delete([]byte) error
- func (*NoopDatabase) Get([]byte) ([]byte, error)
- func (*NoopDatabase) Has([]byte) (bool, error)
- func (*NoopDatabase) NewBatch() database.Batch
- func (*NoopDatabase) NewIterator() database.Iterator
- func (*NoopDatabase) NewIteratorWithPrefix([]byte) database.Iterator
- func (*NoopDatabase) NewIteratorWithStart([]byte) database.Iterator
- func (db *NoopDatabase) NewIteratorWithStartAndPrefix(start, prefix []byte) database.Iterator
- func (*NoopDatabase) Put(_, _ []byte) error
- func (*NoopDatabase) Stat(string) (string, error)
- type TopicUtil
- type UniqueID
- type Worker
Constants ¶
View Source
const (
KeyValueBootstrap = "bootstrap"
)
View Source
const (
Tracer = `` /* 12995-byte string literal not displayed */
)
Variables ¶
View Source
var (
ErrStopTopicUtil = fmt.Errorf("stop")
)
Functions ¶
func CommonAddressHexRepair ¶ added in v1.2.3
Types ¶
type CounterID ¶
type CounterID struct {
// contains filtered or unexported fields
}
func NewCounterID ¶
func NewCounterID() *CounterID
type ListenCloser ¶ added in v1.1.3
ListenCloser listens for messages until it's asked to close
type ListenCloserFactory ¶ added in v1.1.3
type NoopBatch ¶
type NoopBatch struct{}
NoopBatch does nothing
type NoopDatabase ¶
type NoopDatabase struct{}
NoopDatabase is a lightning fast key value store with probabilistic operations.
func (*NoopDatabase) NewBatch ¶
func (*NoopDatabase) NewBatch() database.Batch
NewBatch returns a new batch
func (*NoopDatabase) NewIterator ¶
func (*NoopDatabase) NewIterator() database.Iterator
NewIterator returns a new empty iterator
func (*NoopDatabase) NewIteratorWithPrefix ¶
func (*NoopDatabase) NewIteratorWithPrefix([]byte) database.Iterator
NewIteratorWithPrefix returns a new empty iterator
func (*NoopDatabase) NewIteratorWithStart ¶
func (*NoopDatabase) NewIteratorWithStart([]byte) database.Iterator
NewIteratorWithStart returns a new empty iterator
func (*NoopDatabase) NewIteratorWithStartAndPrefix ¶
func (db *NoopDatabase) NewIteratorWithStartAndPrefix(start, prefix []byte) database.Iterator
NewIteratorWithStartAndPrefix returns a new empty iterator
type TopicUtil ¶ added in v1.1.3
type UniqueID ¶
func NewMemoryUniqueID ¶
func NewMemoryUniqueID() UniqueID
Click to show internal directories.
Click to hide internal directories.