server

package
v0.0.0-...-117c448 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	GrpcServer *grpc.Server
	// contains filtered or unexported fields
}

Server GRPC服务器

func NewServer

func NewServer() *Server

NewServer 创建GRPC服务器

func (*Server) Start

func (p *Server) Start(address string) error

Start 启动服务器

func (*Server) Stop

func (p *Server) Stop() error

Stop 停止服务器

Jump to

Keyboard shortcuts

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