fid

package
Version: v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: BSD-2-Clause Imports: 1 Imported by: 2

Documentation

Overview

Package fid supplies a fid type and the usual mutexed map for storing them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fid

type Fid uint32

type Map

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

func New

func New() *Map

func (*Map) Delete

func (f *Map) Delete(fid Fid)

func (*Map) Get

func (f *Map) Get(fid Fid) interface{}

func (*Map) Set

func (f *Map) Set(fid Fid, v interface{})

Source Files

Jump to

Keyboard shortcuts

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