flush

package
v0.0.0-...-cee1f35 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flusher

type Flusher interface {
	Flush() error
}

type Service

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

func NewService

func NewService(lg *log.Logger, flush Flusher, flushInt time.Duration) *Service

func (*Service) Close

func (s *Service) Close(ctx context.Context) error

func (*Service) Err

func (s *Service) Err() error

func (*Service) Start

func (s *Service) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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