Documentation
¶
Index ¶
- Variables
- type Server
- func (s Server) CreateNote(ctx context.Context, note *pb.Note) (*pb.Id, error)
- func (s Server) DeleteNote(ctx context.Context, set *pb.IdSet) (*pb.IdSet, error)
- func (s Server) GetNote(ctx context.Context, set *pb.IdSet) (*pb.NoteList, error)
- func (s Server) GetNotes(ctx context.Context, empty *pb.EmptyRequest) (*pb.NoteList, error)
- func (s *Server) ListenAndServe(port string) error
- func (s Server) UpdateNote(ctx context.Context, note *pb.Note) (*pb.Note, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var NoteMap map[string]*pb.Note
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
pb.UnimplementedNoteServiceServer
}
func (Server) CreateNote ¶
func (Server) DeleteNote ¶
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.