writerouter

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Flushed     = "goncho_write_flushed"
	Deferred    = "goncho_write_deferred"
	Queued      = "goncho_write_queued"
	FlushFailed = "goncho_write_flush_failed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Frequency   writefrequency.Frequency
	Flusher     session.Flusher
	AsyncWriter *asyncwrite.Writer
}

type Result

type Result struct {
	Code     string
	Evidence []string
}

type Router

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

func New

func New(cfg Config) *Router

func (*Router) Save

func (r *Router) Save(session session.MemorySession) Result

Jump to

Keyboard shortcuts

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