neinpgo.rbn.im/neinp/fid Index | Files

package fid

import "go.rbn.im/neinp/fid"

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

Index

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

fid.go map.go

Version
v0.0.0-20210223183118-a76f220d4840 (latest)
Published
Feb 23, 2021
Platform
linux/amd64
Imports
1 packages
Last checked
6 days ago

Tools for package owners.