safe

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 4 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.RWMutex
	Map map[interface{}]interface{}
}

func (*Map) Clear added in v0.1.17

func (m *Map) Clear()

func (*Map) ContainsKey

func (m *Map) ContainsKey(key interface{}) bool

func (*Map) Delete added in v0.1.17

func (m *Map) Delete(key string)

func (*Map) Get

func (m *Map) Get(key interface{}) (interface{}, bool)

func (*Map) Put

func (m *Map) Put(key interface{}, value interface{})

func (*Map) ToStringMap

func (m *Map) ToStringMap() map[string]string

func (*Map) ToValueArray added in v0.1.24

func (m *Map) ToValueArray() []string

type StringMap

type StringMap struct {
	sync.RWMutex
	Map map[string]string
}

func (*StringMap) Clear added in v0.1.17

func (m *StringMap) Clear()

func (*StringMap) ContainsKey

func (m *StringMap) ContainsKey(key string) bool

func (*StringMap) Delete added in v0.1.17

func (m *StringMap) Delete(key string)

func (*StringMap) Get

func (m *StringMap) Get(key string) (string, bool)

func (*StringMap) Put

func (m *StringMap) Put(key string, value string)

func (*StringMap) ToStringMap

func (m *StringMap) ToStringMap() map[string]string

func (*StringMap) ToValueArray added in v0.1.24

func (m *StringMap) ToValueArray() []string

Jump to

Keyboard shortcuts

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