service

package
v0.0.0-...-1185af5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL