server

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServeMux

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

func NewServeMux

func NewServeMux(rpcPort, gatewayPort uint16, metrics bool) (*ServeMux, error)

func (*ServeMux) ConnAddr

func (m *ServeMux) ConnAddr() string

func (*ServeMux) GatewayMux

func (m *ServeMux) GatewayMux() *runtime.ServeMux

func (*ServeMux) HTTPMux

func (m *ServeMux) HTTPMux() *http.ServeMux

func (*ServeMux) Handle

func (m *ServeMux) Handle(pattern string, handler http.Handler)

func (*ServeMux) HandleFunc

func (m *ServeMux) HandleFunc(pattern string, handler http.HandlerFunc)

func (*ServeMux) RPCServer

func (m *ServeMux) RPCServer() *grpc.Server

func (*ServeMux) Serve

func (m *ServeMux) Serve()

Jump to

Keyboard shortcuts

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