transport

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	// ListenAndServe listens on the TCP network address (given by
	// configuration) and then calls Serve to handle requests on
	// incoming connections.
	ListenAndServe() error

	// Shutdown gracefully shuts down the server without interrupting any
	// active connections
	Shutdown() error

	// GetAddress returns the server address for log usage
	GetAddress() string
}

Directories

Path Synopsis
nolint:unused All definition in this package expect for the config object are used to ensure config validation.
nolint:unused All definition in this package expect for the config object are used to ensure config validation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳