Documentation ¶
Index ¶
- func New() lava.GrpcRouter
- type Server
- func (s *Server) GetServiceDesc(_ context.Context, in *metadatapb.GetServiceDescRequest) (*metadatapb.GetServiceDescReply, error)
- func (s *Server) ListServices(_ context.Context, _ *metadatapb.ListServicesRequest) (*metadatapb.ListServicesReply, error)
- func (s *Server) Middlewares() []lava.Middleware
- func (s *Server) ServiceDesc() *grpc.ServiceDesc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() lava.GrpcRouter
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is api meta server
func NewService ¶
func (*Server) GetServiceDesc ¶
func (s *Server) GetServiceDesc(_ context.Context, in *metadatapb.GetServiceDescRequest) (*metadatapb.GetServiceDescReply, error)
GetServiceDesc return service meta by name
func (*Server) ListServices ¶
func (s *Server) ListServices(_ context.Context, _ *metadatapb.ListServicesRequest) (*metadatapb.ListServicesReply, error)
ListServices return all services
func (*Server) Middlewares ¶
func (s *Server) Middlewares() []lava.Middleware
func (*Server) ServiceDesc ¶
func (s *Server) ServiceDesc() *grpc.ServiceDesc
Click to show internal directories.
Click to hide internal directories.