protocol

package
v0.0.0-...-10437d4 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 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 GrpcService

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

func NewGrpcService

func NewGrpcService() *GrpcService

func (*GrpcService) Start

func (s *GrpcService) Start()

func (*GrpcService) Stop

func (s *GrpcService) Stop()

type HTTPService

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

HTTPService http服务

func NewHTTPService

func NewHTTPService() *HTTPService

func (*HTTPService) Start

func (s *HTTPService) Start() error

Start 启动服务

func (*HTTPService) Stop

func (s *HTTPService) Stop() error

Stop 停止server

Jump to

Keyboard shortcuts

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