server

package
v0.0.0-...-be62643 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: BSD-3-Clause Imports: 12 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 {
	// contains filtered or unexported fields
}

func NewGrpcServer

func NewGrpcServer() *GrpcServer

func (*GrpcServer) ListenAndServer

func (g *GrpcServer) ListenAndServer() error

func (*GrpcServer) RegisterService

func (g *GrpcServer) RegisterService()

func (*GrpcServer) Stop

func (g *GrpcServer) Stop() error

type HttpServer

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

func NewHttpServer

func NewHttpServer() *HttpServer

func (*HttpServer) ListenAndServer

func (h *HttpServer) ListenAndServer() error

func (*HttpServer) RegisterRoute

func (h *HttpServer) RegisterRoute()

func (*HttpServer) Stop

func (h *HttpServer) Stop() error

Jump to

Keyboard shortcuts

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