extend

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Overview

*

  • Created by GoLand.
  • Brief: matcher fields read/write
  • User: vibrant
  • Date: 2019/04/09
  • Time: 17:20

*

  • Created by GoLand.
  • Brief: matcher fields read/write
  • User: vibrant
  • Date: 2019/04/03
  • Time: 11:20

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearSyncMap

func ClearSyncMap(m *SyncMap)

ClearSyncMap

Types

type SyncMap

type SyncMap struct {
	//data
	sync.Map
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*SyncMap) MyDelete

func (m *SyncMap) MyDelete(key interface{})

MyDelete

func (*SyncMap) MyLen

func (m *SyncMap) MyLen() int64

MyLen

func (*SyncMap) MyLoad

func (m *SyncMap) MyLoad(key interface{}) (value interface{}, ok bool)

MyLoad

func (*SyncMap) MyLoadOrStore

func (m *SyncMap) MyLoadOrStore(key, value interface{}) (actual interface{}, loaded bool)

MyLoadOrStore

func (*SyncMap) MyRange

func (m *SyncMap) MyRange(f func(key, value interface{}) bool)

MyRange

func (*SyncMap) MyStore

func (m *SyncMap) MyStore(key, value interface{})

MyStore

Jump to

Keyboard shortcuts

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