server

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: LGPL-2.1 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigTLS

func ConfigTLS(caCrt, srvCrt, srvKey string) (*tls.Config, error)

Types

type Server

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

Server listening fluentd protocol

func New

func New(config *options.FluentOptions) (*Server, error)

New server, with an handler

func NewTLS

func NewTLS(config *options.FluentOptions, cfg *tls.Config) (*Server, error)

New TLS server, with an handler

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(address string) error

ListenAndServe an address

Jump to

Keyboard shortcuts

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