Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { api.UnimplementedMetadataServer // contains filtered or unexported fields }
Server is api meta server
func (*Server) GetServiceMeta ¶
func (s *Server) GetServiceMeta(ctx context.Context, in *api.GetServiceMetaRequest) (*api.GetServiceMetaReply, error)
GetServiceMeta return service meta by name
func (*Server) ListServices ¶
ListServices return all services
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is description service
func (*Service) GetServiceMeta ¶
func (s *Service) GetServiceMeta(ctx context.Context, name string) (fds *descriptorpb.FileDescriptorSet, err error)
GetServiceMeta get the full fileDescriptorSet of service
Click to show internal directories.
Click to hide internal directories.