Documentation
¶
Index ¶
- func RegisterGRPCServer(s grpc.ServiceRegistrar, srv desc.KnowledgeBaseServiceServer)
- type Implementation
- func (i *Implementation) CreateKnowledgeBase(ctx context.Context, request *desc.CreateKnowledgeBaseRequest) (*desc.CreateKnowledgeBaseResponse, error)
- func (i *Implementation) DeleteKnowledgeBaseById(ctx context.Context, request *desc.DeleteKnowledgeBaseByIdRequest) (*desc.DeleteKnowledgeBaseByIdResponse, error)
- func (i *Implementation) GetKnowledgeBaseById(ctx context.Context, request *desc.GetKnowledgeBaseByIdRequest) (*desc.GetKnowledgeBaseByIdResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGRPCServer ¶
func RegisterGRPCServer(s grpc.ServiceRegistrar, srv desc.KnowledgeBaseServiceServer)
Types ¶
type Implementation ¶
type Implementation struct { desc.UnimplementedKnowledgeBaseServiceServer // contains filtered or unexported fields }
func NewKnowledgeBaseService ¶
func NewKnowledgeBaseService(knowledgeBaseService *services.KnowledgeBaseService) *Implementation
func (*Implementation) CreateKnowledgeBase ¶
func (i *Implementation) CreateKnowledgeBase(ctx context.Context, request *desc.CreateKnowledgeBaseRequest) (*desc.CreateKnowledgeBaseResponse, error)
func (*Implementation) DeleteKnowledgeBaseById ¶
func (i *Implementation) DeleteKnowledgeBaseById(ctx context.Context, request *desc.DeleteKnowledgeBaseByIdRequest) (*desc.DeleteKnowledgeBaseByIdResponse, error)
func (*Implementation) GetKnowledgeBaseById ¶
func (i *Implementation) GetKnowledgeBaseById(ctx context.Context, request *desc.GetKnowledgeBaseByIdRequest) (*desc.GetKnowledgeBaseByIdResponse, error)
Click to show internal directories.
Click to hide internal directories.