unsafehash

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Segment

type Segment struct {
	Position int64
	List     []interface{} // client list
}

func NewSegment

func NewSegment(position int64, list []interface{}) *Segment

type SegmentHash

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

func NewSegmentHash

func NewSegmentHash(segmentList ...*Segment) *SegmentHash

func (*SegmentHash) Append

func (c *SegmentHash) Append(segmentList ...*Segment)

func (*SegmentHash) Get

func (c *SegmentHash) Get(key int64) interface{}

Jump to

Keyboard shortcuts

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