apiserver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer

type ApiServer struct {
	Manager manager.Manager
	TcpMux  cmux.CMux
}

func (*ApiServer) AddServersToMux

func (r *ApiServer) AddServersToMux(options *ServerOptions)

func (*ApiServer) GetMux

func (r *ApiServer) GetMux() cmux.CMux

type MuxApiServer

type MuxApiServer interface {
	AddServersToMux(options *ServerOptions)
	GetMux() cmux.CMux
}

func NewApiServer

func NewApiServer(manager manager.Manager, tcpMux cmux.CMux) MuxApiServer

type ServerOptions

type ServerOptions struct {
	PortNumber int
}

Jump to

Keyboard shortcuts

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