daemon

package
v0.0.0-...-42a42c3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

New creates new Server object

Types

type Server

type Server struct {
	Logger *log.Logger
	Beat   *beat.Beat

	Config config.Config
	// contains filtered or unexported fields
}

Server state

func (*Server) Run

func (s *Server) Run(b *beat.Beat) error

Run is the entrypoint for starting the TCP server and GRPC client The main event loop that should block until signalled to stop by an invocation of the Stop() method.

func (*Server) Stop

func (s *Server) Stop()

Stop cleanly shuts down threatseer

Jump to

Keyboard shortcuts

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