Versions in this module Expand all Collapse all v0 v0.6.1 Jan 27, 2024 v0.6.0 Jan 26, 2024 v0.5.1 Jan 14, 2024 v0.5.0 Jan 13, 2024 v0.4.0 Jan 10, 2024 Changes in this version + const UserService_GetById_FullMethodName + var File_user_proto protoreflect.FileDescriptor + var UserService_ServiceDesc = grpc.ServiceDesc + func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer) + type GetByIdRequest struct + Id int64 + func (*GetByIdRequest) Descriptor() ([]byte, []int) + func (*GetByIdRequest) ProtoMessage() + func (x *GetByIdRequest) GetId() int64 + func (x *GetByIdRequest) ProtoReflect() protoreflect.Message + func (x *GetByIdRequest) Reset() + func (x *GetByIdRequest) String() string + type GetByIdResponse struct + User *User + func (*GetByIdResponse) Descriptor() ([]byte, []int) + func (*GetByIdResponse) ProtoMessage() + func (x *GetByIdResponse) GetUser() *User + func (x *GetByIdResponse) ProtoReflect() protoreflect.Message + func (x *GetByIdResponse) Reset() + func (x *GetByIdResponse) String() string + type Server struct + Name string + func (s *Server) GetById(ctx context.Context, request *GetByIdRequest) (*GetByIdResponse, error) + type UnimplementedUserServiceServer struct + func (UnimplementedUserServiceServer) GetById(context.Context, *GetByIdRequest) (*GetByIdResponse, error) + type UnsafeUserServiceServer interface + type User struct + Id int64 + Name string + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (x *User) GetId() int64 + func (x *User) GetName() string + func (x *User) ProtoReflect() protoreflect.Message + func (x *User) Reset() + func (x *User) String() string + type UserServiceClient interface + GetById func(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetByIdResponse, error) + func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient + type UserServiceServer interface + GetById func(context.Context, *GetByIdRequest) (*GetByIdResponse, error)