server

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2017 License: MIT 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 {
	// Run runs the server once node is ready.
	Run() error

	// Shutdown shuts down the server.
	Shutdown() error
}

Server is an interface describing custom server that could be registered in Centrifugo. At moment we have only httpserver (located nearby) that implements it.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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