lshared

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shared

type Shared struct {
	// contains filtered or unexported fields
}

func New

func New(size int) *Shared

func (*Shared) Lock

func (s *Shared) Lock(key []byte)

func (*Shared) RLock

func (s *Shared) RLock(key []byte)

func (*Shared) RUnLock

func (s *Shared) RUnLock(key []byte)

func (*Shared) UnLock

func (s *Shared) UnLock(key []byte)

Jump to

Keyboard shortcuts

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