server

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogToEvent added in v0.3.0

func LogToEvent(log *parser.Log) axiom.Event

Types

type Config

type Config struct {
	Dataset string
	AddrUDP string
	AddrTCP string
}

Config ...

type Server

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

func NewServer

func NewServer(client *axiom.Client, config *Config) (srv *Server, err error)

func (*Server) Flush

func (srv *Server) Flush() error

func (*Server) Run

func (srv *Server) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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