server

package
v0.0.0-...-5a97dd6 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = &struct {
}{}

Functions

func Run

func Run() error

Types

type SyncMap

type SyncMap[T any] struct {
	// contains filtered or unexported fields
}

func NewSync

func NewSync[T any]() SyncMap[T]

func (*SyncMap[T]) Add

func (s *SyncMap[T]) Add(t T) string

func (*SyncMap[T]) AddWID

func (s *SyncMap[T]) AddWID(t T, id string)

func (*SyncMap[T]) Get

func (s *SyncMap[T]) Get(i string) T

func (*SyncMap[T]) Rem

func (s *SyncMap[T]) Rem(i string)

Jump to

Keyboard shortcuts

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