server

package
v1.9.1-0...-015e2d1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 15 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 struct {
	// contains filtered or unexported fields
}

func New

func New(c sfu.Config, logger logr.Logger) *Server

New create a server which support grpc/jsonrpc

func (*Server) ServeGRPC

func (s *Server) ServeGRPC(gaddr string) error

ServeGRPC serve grpc

func (*Server) ServeJSONRPC

func (s *Server) ServeJSONRPC(jaddr, cert, key string) error

ServeJSONRPC serve jsonrpc

func (*Server) ServeMetrics

func (s *Server) ServeMetrics(maddr string)

ServeMetrics

func (*Server) ServePProf

func (s *Server) ServePProf(paddr string)

ServePProf

Jump to

Keyboard shortcuts

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