logprocessor

package
v3.3.5+incompatible Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 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 Client

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

Client contains the information needed to communicate with maxMind

func New

func New(maxMind maxmind.MaxMind) *Client

New creates a new client

func (*Client) Ingest

func (c *Client) Ingest() <-chan []byte

Ingest ingests the logs channel

func (*Client) Stop

func (c *Client) Stop() chan struct{}

Stop handles closing maxMind

func (*Client) Write

func (c *Client) Write(b []byte)

Jump to

Keyboard shortcuts

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