gateway

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsHandler

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

StatsHandler represents a stat handler for incoming gateway stats.

func NewStatsHandler

func NewStatsHandler() *StatsHandler

NewStatsHandler creates a new StatsHandler.

func (*StatsHandler) Start

func (s *StatsHandler) Start() error

Start starts the stats handler.

func (*StatsHandler) Stop

func (s *StatsHandler) Stop() error

Stop waits for the stats handler to complete the pending packets. At this stage the gateway backend must already been closed.

Jump to

Keyboard shortcuts

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