Help us shape the future of Go! Take the 2026 Go Developer Survey

logringbuf

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogRingBuffer

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

func New

func New(bufferSize int) *LogRingBuffer

func (*LogRingBuffer) AddTopic

func (e *LogRingBuffer) AddTopic(topic string, signal chan struct{})

func (*LogRingBuffer) DeQueue

func (e *LogRingBuffer) DeQueue(topic string) (log.Log, error)

func (*LogRingBuffer) EnQueue

func (e *LogRingBuffer) EnQueue(topic string, value log.Log)

func (*LogRingBuffer) RemoveTopic

func (e *LogRingBuffer) RemoveTopic(topic string)

Jump to

Keyboard shortcuts

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