Documentation
¶
Index ¶
- type CodeReferenceService
- func (s *CodeReferenceService) CreateCodeReference(ctx context.Context, req *proto.CreateCodeReferenceRequest) (*proto.CreateCodeReferenceResponse, error)
- func (s *CodeReferenceService) DeleteCodeReference(ctx context.Context, req *proto.DeleteCodeReferenceRequest) (*proto.DeleteCodeReferenceResponse, error)
- func (s *CodeReferenceService) GetCodeReference(ctx context.Context, req *proto.GetCodeReferenceRequest) (*proto.GetCodeReferenceResponse, error)
- func (s *CodeReferenceService) ListCodeReferences(ctx context.Context, req *proto.ListCodeReferencesRequest) (*proto.ListCodeReferencesResponse, error)
- func (s *CodeReferenceService) Register(server *grpc.Server)
- func (s *CodeReferenceService) UpdateCodeReference(ctx context.Context, req *proto.UpdateCodeReferenceRequest) (*proto.UpdateCodeReferenceResponse, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeReferenceService ¶
type CodeReferenceService struct {
// contains filtered or unexported fields
}
func NewCodeReferenceService ¶
func NewCodeReferenceService( ac accountclient.Client, mysqlClient mysql.Client, p publisher.Publisher, opts ...Option, ) *CodeReferenceService
func (*CodeReferenceService) CreateCodeReference ¶
func (s *CodeReferenceService) CreateCodeReference( ctx context.Context, req *proto.CreateCodeReferenceRequest, ) (*proto.CreateCodeReferenceResponse, error)
func (*CodeReferenceService) DeleteCodeReference ¶
func (s *CodeReferenceService) DeleteCodeReference( ctx context.Context, req *proto.DeleteCodeReferenceRequest, ) (*proto.DeleteCodeReferenceResponse, error)
func (*CodeReferenceService) GetCodeReference ¶
func (s *CodeReferenceService) GetCodeReference( ctx context.Context, req *proto.GetCodeReferenceRequest, ) (*proto.GetCodeReferenceResponse, error)
func (*CodeReferenceService) ListCodeReferences ¶
func (s *CodeReferenceService) ListCodeReferences( ctx context.Context, req *proto.ListCodeReferencesRequest, ) (*proto.ListCodeReferencesResponse, error)
func (*CodeReferenceService) Register ¶
func (s *CodeReferenceService) Register(server *grpc.Server)
func (*CodeReferenceService) UpdateCodeReference ¶
func (s *CodeReferenceService) UpdateCodeReference( ctx context.Context, req *proto.UpdateCodeReferenceRequest, ) (*proto.UpdateCodeReferenceResponse, error)
Click to show internal directories.
Click to hide internal directories.