muxer

package
v1.0.0-alpha.53 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCServer

type GRPCServer struct {
	*grpc.Server
}

func NewGRPCServer

func NewGRPCServer(cfg *config.Config) *GRPCServer

func (*GRPCServer) Start

func (s *GRPCServer) Start(mux cmux.CMux) error

type HTTPServer

type HTTPServer struct {
	Router chi.Router
	Inproc *inprocgrpc.Channel
}

func NewHTTPServer

func NewHTTPServer(cfg *config.Config) *HTTPServer

func (*HTTPServer) Start

func (s *HTTPServer) Start(mux cmux.CMux) error

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, searchStore search.Store, tenantMgr *metadata.TenantManager, txMgr *transaction.Manager)

func (*Muxer) Start

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

type Server

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

Jump to

Keyboard shortcuts

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