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

logstream

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogStream

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

func New

func New(bufferSize int, bufferConstructor func(int) logbuffer.LogBuffer) *LogStream

func (*LogStream) AddTopic

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

func (*LogStream) DeQueue

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

func (*LogStream) EnQueue

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

func (*LogStream) RemoveTopic

func (e *LogStream) RemoveTopic(topic string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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