gateway

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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