Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(handlerOpts ...HandlerOption) http.Handler
Types ¶
type HandlerOption ¶
type HandlerOption func(opt *options)
func WithGeneratorOptions ¶
func WithGeneratorOptions(opts ...generator.Option) HandlerOption
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is service
func (*Service) GetServiceOpenAPI ¶
func (s *Service) GetServiceOpenAPI(ctx context.Context, in *metadata.GetServiceDescRequest, onlyRPC bool) (string, error)
GetServiceOpenAPI get service open api
func (*Service) ListServices ¶
func (s *Service) ListServices(ctx context.Context, in *metadata.ListServicesRequest) (*metadata.ListServicesReply, error)
ListServices list services
Click to show internal directories.
Click to hide internal directories.