package main type Server struct { } // Checks if the storage has an element with the id. // Returns [ErrNotExists] if the element doesn't exist. func (s *Server) Has(id string) error { return nil } // Retreive an element from the storage. // Returns [ErrNotExists] if the element doesn't exist. func (s *Server) Get(id string) ([]byte, error) { return nil, nil } // Store an element in the storage. func (s *Server) Put(id string, element []byte) error { return nil } // Delete an element from the storage. // Returns [ErrNotExists] if the elment doesn't exist. func (s *Server) Delete(id string) error { return nil }