statsd_server

package
v0.0.0-...-43963b1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TCP = "tcp"
	UDP = "udp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port int `env:"PORT" envDefault:"8125" validate:"required"`
}

type StatsdServer

type StatsdServer struct {
	Config Config
}

func New

func New(cfg Config) (*StatsdServer, error)

func (*StatsdServer) Help

func (s *StatsdServer) Help() string

func (*StatsdServer) Run

func (s *StatsdServer) Run(args []string) int

func (*StatsdServer) Synopsis

func (s *StatsdServer) Synopsis() string

Jump to

Keyboard shortcuts

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