server

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string, configPath string, addr string, instanceId int64) boot.Instance

New 创建Server, 使用配置文件

Types

type Server

func (*Server) GetUserInfo

func (s *Server) GetUserInfo(ctx context.Context, args *pb.GetUserInfoArgs) (*pb.GetUserInfoReply, error)

GetUserInfo 获取用户信息

func (*Server) Init

func (s *Server) Init() error

Init 服务初始化

Jump to

Keyboard shortcuts

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