protocol

package
v0.0.0-...-f4657ca Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: GPL-3.0 Imports: 15 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
}

GRPC服务结构体

func NewGrpcService

func NewGrpcService() *GrpcService

GRPC服务结构体初始化

func (*GrpcService) Start

func (s *GrpcService) Start() error

GRPC服务启动方法

func (*GrpcService) Stop

func (s *GrpcService) Stop() error

GRPC服务停止方法

type HttpService

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

Http服务结构体

func NewHttpService

func NewHttpService() *HttpService

Http服务结构体初始化

func (*HttpService) PathPrefix

func (h *HttpService) PathPrefix() string

获取PathPrefix方法

func (*HttpService) Start

func (s *HttpService) Start() error

Http服务启动方法 swagger文档对应每个模块

func (*HttpService) Stop

func (s *HttpService) Stop() error

Http服务停止方法

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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