Documentation
¶
Index ¶
- type NotesService
- func (s *NotesService) AddNote(_ context.Context, req *notesv1.AddNoteRequest) (*notesv1.AddNoteResponse, error)
- func (s *NotesService) EditNote(_ context.Context, req *notesv1.EditNoteRequest) (*notesv1.EditNoteResponse, error)
- func (s *NotesService) ListNotes(_ *notesv1.ListNotesRequest, srv notesv1.NotesService_ListNotesServer) error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotesService ¶
type NotesService struct { notesv1.UnimplementedNotesServiceServer // contains filtered or unexported fields }
func NewNotesService ¶
func NewNotesService(v *protovalidate.Validator) *NotesService
func (*NotesService) AddNote ¶
func (s *NotesService) AddNote(_ context.Context, req *notesv1.AddNoteRequest) (*notesv1.AddNoteResponse, error)
func (*NotesService) EditNote ¶
func (s *NotesService) EditNote(_ context.Context, req *notesv1.EditNoteRequest) (*notesv1.EditNoteResponse, error)
func (*NotesService) ListNotes ¶
func (s *NotesService) ListNotes(_ *notesv1.ListNotesRequest, srv notesv1.NotesService_ListNotesServer) error
Click to show internal directories.
Click to hide internal directories.