server

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 10 Imported by: 2

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) *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) 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