Versions in this module Expand all Collapse all v1 v1.1.0 Oct 28, 2022 Changes in this version + var File_cmd_demo_demo_proto protoreflect.FileDescriptor + func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) + type UnimplementedUserServer struct + func (UnimplementedUserServer) UserInfo(context.Context, *UserInfoReq) (*UserInfoResp, error) + type UnsafeUserServer interface + type UserClient interface + UserInfo func(ctx context.Context, in *UserInfoReq, opts ...grpc.CallOption) (*UserInfoResp, error) + func NewUserClient(cc grpc.ClientConnInterface) UserClient + type UserInfoReq struct + UserId int64 + func (*UserInfoReq) Descriptor() ([]byte, []int) + func (*UserInfoReq) ProtoMessage() + func (x *UserInfoReq) GetUserId() int64 + func (x *UserInfoReq) ProtoReflect() protoreflect.Message + func (x *UserInfoReq) Reset() + func (x *UserInfoReq) String() string + type UserInfoResp struct + UserId int64 + Username string + func (*UserInfoResp) Descriptor() ([]byte, []int) + func (*UserInfoResp) ProtoMessage() + func (x *UserInfoResp) GetUserId() int64 + func (x *UserInfoResp) GetUsername() string + func (x *UserInfoResp) ProtoReflect() protoreflect.Message + func (x *UserInfoResp) Reset() + func (x *UserInfoResp) String() string + type UserServer interface + UserInfo func(context.Context, *UserInfoReq) (*UserInfoResp, error)