service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

func New

func New(p *config.Providers) *Service

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)

Jump to

Keyboard shortcuts

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