room

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DestroySession

func DestroySession(apiKey, room, sessionKey string) error

func GetSession

func GetSession(apiKey, room, sessionKey string) (interface{}, bool)

func StoreSession

func StoreSession(apiKey, room, sessionKey string, c interface{})

Types

type CountedSyncMap

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

func GetRoom

func GetRoom(apiKey, room string) (*CountedSyncMap, bool)

func (*CountedSyncMap) CountedDelete

func (m *CountedSyncMap) CountedDelete(key interface{})

func (*CountedSyncMap) CountedLen

func (m *CountedSyncMap) CountedLen() uint64

func (*CountedSyncMap) CountedStore

func (m *CountedSyncMap) CountedStore(key, value interface{})

Jump to

Keyboard shortcuts

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