Versions in this module Expand all Collapse all v1 v1.0.1 Apr 15, 2024 Changes in this version + var File_metadata_proto protoreflect.FileDescriptor v1.0.0 Apr 15, 2024 Changes in this version + var File_api_metadata_metadata_proto protoreflect.FileDescriptor + var Metadata_ServiceDesc = grpc.ServiceDesc + func RegisterMetadataGrpcServer(s grpc.ServiceRegistrar, srv MetadataServer) + func RegisterMetadataHTTPServer(s *http.Server, srv MetadataHTTPServer) + func RegisterMetadataServer(app application.Application, srv IMetadataUseCase) + type GetServiceDescReply struct + FileDescSet *descriptorpb.FileDescriptorSet + func (*GetServiceDescReply) Descriptor() ([]byte, []int) + func (*GetServiceDescReply) ProtoMessage() + func (x *GetServiceDescReply) GetFileDescSet() *descriptorpb.FileDescriptorSet + func (x *GetServiceDescReply) ProtoReflect() protoreflect.Message + func (x *GetServiceDescReply) Reset() + func (x *GetServiceDescReply) String() string + type GetServiceDescRequest struct + Name string + func (*GetServiceDescRequest) Descriptor() ([]byte, []int) + func (*GetServiceDescRequest) ProtoMessage() + func (x *GetServiceDescRequest) GetName() string + func (x *GetServiceDescRequest) ProtoReflect() protoreflect.Message + func (x *GetServiceDescRequest) Reset() + func (x *GetServiceDescRequest) String() string + type IMetadataUseCase interface + GetServiceDesc func(context.Context, *GetServiceDescRequest) (*GetServiceDescReply, error) + ListServices func(context.Context, *ListServicesRequest) (*ListServicesReply, error) + type ListServicesReply struct + Methods []string + Services []string + func (*ListServicesReply) Descriptor() ([]byte, []int) + func (*ListServicesReply) ProtoMessage() + func (x *ListServicesReply) GetMethods() []string + func (x *ListServicesReply) GetServices() []string + func (x *ListServicesReply) ProtoReflect() protoreflect.Message + func (x *ListServicesReply) Reset() + func (x *ListServicesReply) String() string + type ListServicesRequest struct + func (*ListServicesRequest) Descriptor() ([]byte, []int) + func (*ListServicesRequest) ProtoMessage() + func (x *ListServicesRequest) ProtoReflect() protoreflect.Message + func (x *ListServicesRequest) Reset() + func (x *ListServicesRequest) String() string + type MetadataClient interface + GetServiceDesc func(ctx context.Context, in *GetServiceDescRequest, opts ...grpc.CallOption) (*GetServiceDescReply, error) + ListServices func(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesReply, error) + func NewMetadataClient(cc grpc.ClientConnInterface) MetadataClient + type MetadataHTTPClient interface + GetServiceDesc func(ctx context.Context, req *GetServiceDescRequest, opts ...http.CallOption) (rsp *GetServiceDescReply, err error) + ListServices func(ctx context.Context, req *ListServicesRequest, opts ...http.CallOption) (rsp *ListServicesReply, err error) + func NewMetadataHTTPClient(client *http.Client) MetadataHTTPClient + type MetadataHTTPClientImpl struct + func (c *MetadataHTTPClientImpl) GetServiceDesc(ctx context.Context, in *GetServiceDescRequest, opts ...http.CallOption) (*GetServiceDescReply, error) + func (c *MetadataHTTPClientImpl) ListServices(ctx context.Context, in *ListServicesRequest, opts ...http.CallOption) (*ListServicesReply, error) + type MetadataHTTPServer interface + GetServiceDesc func(context.Context, *GetServiceDescRequest) (*GetServiceDescReply, error) + ListServices func(context.Context, *ListServicesRequest) (*ListServicesReply, error) + type MetadataServer interface + GetServiceDesc func(context.Context, *GetServiceDescRequest) (*GetServiceDescReply, error) + ListServices func(context.Context, *ListServicesRequest) (*ListServicesReply, error) + type Server struct + func NewServer(srv *grpc.Server) *Server + func (s *Server) GetServiceDesc(ctx context.Context, in *GetServiceDescRequest) (*GetServiceDescReply, error) + func (s *Server) ListServices(ctx context.Context, in *ListServicesRequest) (*ListServicesReply, error) + type UnimplementedMetadataServer struct + func (UnimplementedMetadataServer) GetServiceDesc(context.Context, *GetServiceDescRequest) (*GetServiceDescReply, error) + func (UnimplementedMetadataServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesReply, error) + type UnsafeMetadataServer interface