Documentation
¶
Overview ¶
Package sync provides synchronization helpers and wrappers used by go-service.
This package re-exports a small subset of synchronization primitives and types, including a generic Map and a buffer pool backed by the external `github.com/alexfalkowski/go-sync` package, and mutex types from the standard library `sync` package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = di.Module( di.Constructor(sync.NewBufferPool), )
Module for fx.
Functions ¶
This section is empty.
Types ¶
type BufferPool ¶
type BufferPool = sync.BufferPool
BufferPool is an alias for go-sync.BufferPool.
func NewBufferPool ¶
func NewBufferPool() *BufferPool
NewBufferPool is an alias for go-sync.NewBufferPool.
Click to show internal directories.
Click to hide internal directories.