muxer

package
v1.0.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Muxer

type Muxer struct {
	// contains filtered or unexported fields
}

func NewMuxer

func NewMuxer(cfg *config.Config) *Muxer

func (*Muxer) RegisterServices

func (m *Muxer) RegisterServices(kvStore kv.KeyValueStore)

func (*Muxer) Start

func (m *Muxer) Start(host string, port int16) error

type Server

type Server interface {
	Start(mux cmux.CMux) error
	GetType() string
}

Jump to

Keyboard shortcuts

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