dataext

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferedReadCloser

type BufferedReadCloser interface {
	io.ReadCloser
	BufferedAll() ([]byte, error)
}

func NewBufferedReadCloser

func NewBufferedReadCloser(sub io.ReadCloser) BufferedReadCloser

type LRUData

type LRUData interface{}

type LRUMap

type LRUMap struct {
	// contains filtered or unexported fields
}

func NewLRUMap

func NewLRUMap(size int) *LRUMap

func (*LRUMap) Put

func (c *LRUMap) Put(key string, value LRUData)

func (*LRUMap) Size

func (c *LRUMap) Size() int

func (*LRUMap) TryGet

func (c *LRUMap) TryGet(key string) (LRUData, bool)

type SyncStringSet

type SyncStringSet struct {
	// contains filtered or unexported fields
}

func (*SyncStringSet) Add

func (s *SyncStringSet) Add(value string) bool

func (*SyncStringSet) AddAll

func (s *SyncStringSet) AddAll(values []string)

func (*SyncStringSet) Contains

func (s *SyncStringSet) Contains(value string) bool

func (*SyncStringSet) Get

func (s *SyncStringSet) Get() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL