Documentation ¶
Index ¶
- type Service
- func (svc *Service) CreateComment(ctx context.Context, req *connect.Request[commentv1.CreateCommentRequest]) (*connect.Response[commentv1.CreateCommentResponse], error)
- func (svc *Service) CreateScope(ctx context.Context, req *connect.Request[commentv1.CreateScopeRequest]) (*connect.Response[commentv1.CreateScopeResponse], error)
- func (svc *Service) DeleteScope(ctx context.Context, req *connect.Request[commentv1.DeleteScopeRequest]) (*connect.Response[commentv1.DeleteScopeResponse], error)
- func (svc *Service) GetComment(ctx context.Context, req *connect.Request[commentv1.GetCommentRequest]) (*connect.Response[commentv1.GetCommentResponse], error)
- func (svc *Service) ListComments(ctx context.Context, req *connect.Request[commentv1.ListCommentsRequest]) (*connect.Response[commentv1.ListCommentsResponse], error)
- func (svc *Service) ListScope(ctx context.Context, req *connect.Request[commentv1.ListScopeRequest]) (*connect.Response[commentv1.ListScopeResponse], error)
- func (svc *Service) UpdateScope(ctx context.Context, req *connect.Request[commentv1.UpdateScopeRequest]) (*connect.Response[commentv1.UpdateScopeResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { *config.Providers commentv1connect.UnimplementedCommentServiceHandler }
func (*Service) CreateComment ¶
func (svc *Service) CreateComment(ctx context.Context, req *connect.Request[commentv1.CreateCommentRequest]) (*connect.Response[commentv1.CreateCommentResponse], error)
func (*Service) CreateScope ¶
func (svc *Service) CreateScope(ctx context.Context, req *connect.Request[commentv1.CreateScopeRequest]) (*connect.Response[commentv1.CreateScopeResponse], error)
func (*Service) DeleteScope ¶
func (svc *Service) DeleteScope(ctx context.Context, req *connect.Request[commentv1.DeleteScopeRequest]) (*connect.Response[commentv1.DeleteScopeResponse], error)
func (*Service) GetComment ¶
func (svc *Service) GetComment(ctx context.Context, req *connect.Request[commentv1.GetCommentRequest]) (*connect.Response[commentv1.GetCommentResponse], error)
func (*Service) ListComments ¶
func (svc *Service) ListComments(ctx context.Context, req *connect.Request[commentv1.ListCommentsRequest]) (*connect.Response[commentv1.ListCommentsResponse], error)
func (*Service) ListScope ¶
func (svc *Service) ListScope(ctx context.Context, req *connect.Request[commentv1.ListScopeRequest]) (*connect.Response[commentv1.ListScopeResponse], error)
func (*Service) UpdateScope ¶
func (svc *Service) UpdateScope(ctx context.Context, req *connect.Request[commentv1.UpdateScopeRequest]) (*connect.Response[commentv1.UpdateScopeResponse], error)
Click to show internal directories.
Click to hide internal directories.