syncmap

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2021 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map struct {
	*sync.Map
}

Map extends sync.Map preventing its binary serialization.

func New

func New() *Map

New returns a new empty Map.

func (Map) MarshalBinary

func (Map) MarshalBinary() ([]byte, error)

MarshalBinary prevents Map to be encoded to binary representation.

func (*Map) UnmarshalBinary

func (m *Map) UnmarshalBinary([]byte) error

UnmarshalBinary prevents Map to be decoded from binary representation.

Jump to

Keyboard shortcuts

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