Documentation ¶
Overview ¶
Package service is a directory of grpc service implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KitTemplateRESTService ¶
type KitTemplateRESTService struct { *KitTemplateService // contains filtered or unexported fields }
KitTemplateRESTService Wrapper on top of the GRPC server to be able to use the interceptor for REST request as it is used for grpc request.
func NewKitTemplateRESTService ¶
func NewKitTemplateRESTService(service *KitTemplateService) *KitTemplateRESTService
NewKitTemplateRESTService creates an instance of QontoService.
func (*KitTemplateRESTService) RegisterHandlerService ¶
func (s *KitTemplateRESTService) RegisterHandlerService(mux *runtime.ServeMux) error
RegisterHandlerService registers the service implementation to mux.
func (*KitTemplateRESTService) WithUnaryServerInterceptor ¶
func (s *KitTemplateRESTService) WithUnaryServerInterceptor(i grpc.UnaryServerInterceptor) rest.ServiceServer
WithUnaryServerInterceptor set the UnaryServerInterceptor for the REST service.
type KitTemplateService ¶
type KitTemplateService struct { }
KitTemplateService ... .
func NewKitTemplateService ¶
func NewKitTemplateService() *KitTemplateService
NewKitTemplateService ...
func (*KitTemplateService) RegisterService ¶
func (s *KitTemplateService) RegisterService(sr grpc.ServiceRegistrar)
RegisterService registers the service implementation to grpc service.
Click to show internal directories.
Click to hide internal directories.