server

package
v0.0.0-...-4e1f4d9 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 13 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 {
	// Start starts the server.
	Start() error

	// Stop stops the server.
	Stop() error

	// Resources returns an instance of the Resources API to publish events
	// to federated service mesh consumers.
	Resources() resources.Resources
}

Server represents the API for managing the resource discovery server.

func NewServer

func NewServer(port uint32, tlsConfig *tls.Config, stateProvider state.StateProvider) (Server, error)

NewServer returns a new instance of the server given a port to run on, the TLS configuration, and a state provider.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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