syncmap

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarkInterfaceType

func MarkInterfaceType(i interface{}) interface{}

Types

type StringInterfaceMap

type StringInterfaceMap struct {
	sync.Map
}

func (*StringInterfaceMap) Get

func (m *StringInterfaceMap) Get(key string, o interface{}) error

func (*StringInterfaceMap) GetMap

func (m *StringInterfaceMap) GetMap() map[string]interface{}

func (*StringInterfaceMap) MarshalJSON

func (m *StringInterfaceMap) MarshalJSON() ([]byte, error)

func (*StringInterfaceMap) Store

func (m *StringInterfaceMap) Store(k, v interface{})

func (*StringInterfaceMap) UnmarshalJSON

func (m *StringInterfaceMap) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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