Documentation ¶
Index ¶
- type Server
- func (s *Server) All(ctx context.Context, r *storage.AllRequest) (*storage.AllReply, error)
- func (s *Server) Create(ctx context.Context, r *storage.CreateRequest) (*storage.CreateReply, error)
- func (s *Server) Delete(ctx context.Context, r *storage.DeleteRequest) (*storage.DeleteReply, error)
- func (m *Server) LoadExampleData()
- func (s *Server) Read(ctx context.Context, r *storage.ReadRequest) (*storage.ReadReply, error)
- func (s *Server) Update(ctx context.Context, r *storage.UpdateRequest) (*storage.UpdateReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Create ¶
func (s *Server) Create(ctx context.Context, r *storage.CreateRequest) (*storage.CreateReply, error)
func (*Server) Delete ¶
func (s *Server) Delete(ctx context.Context, r *storage.DeleteRequest) (*storage.DeleteReply, error)
func (*Server) LoadExampleData ¶
func (m *Server) LoadExampleData()
LoadExampleData loads the test data into the database.
func (*Server) Update ¶
func (s *Server) Update(ctx context.Context, r *storage.UpdateRequest) (*storage.UpdateReply, error)
Click to show internal directories.
Click to hide internal directories.