grpc

package
v0.0.0-...-d80f745 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(c zrpc.RpcServerConf, service *srv.Service) *zrpc.RpcServer

Types

type AccessServiceServer

type AccessServiceServer struct {
	access.UnimplementedAccessServiceServer

	Svc *srv.Service
}

func NewAccessServiceServer

func NewAccessServiceServer(s *srv.Service) *AccessServiceServer

func (*AccessServiceServer) IsCheckedIn

检查是否有登录

type UserServiceServer

type UserServiceServer struct {
	user.UnimplementedUserServiceServer
	Svc *srv.Service
}

func NewUserServiceServer

func NewUserServiceServer(s *srv.Service) *UserServiceServer

func (*UserServiceServer) BatchGetUser

func (*UserServiceServer) GetUser

Jump to

Keyboard shortcuts

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