Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlanetDelete ¶
type PlanetDelete struct {
// contains filtered or unexported fields
}
func NewDeleter ¶
func NewDeleter(r planet.Reader) PlanetDelete
type PlanetRead ¶
type PlanetRead struct {
// contains filtered or unexported fields
}
func NewReader ¶
func NewReader() PlanetRead
func (PlanetRead) Count ¶
func (p PlanetRead) Count() (int, error)
func (PlanetRead) ReadAll ¶
func (p PlanetRead) ReadAll(f planet.PageFilterRequest) ([]planet.PlanetDocument, error)
func (PlanetRead) ReadByPlanetId ¶
func (p PlanetRead) ReadByPlanetId(id planet.ID) (planet.PlanetDocument, error)
type PlanetReadUpdater ¶
func NewReadUpdater ¶
func NewReadUpdater(r planet.Reader, u planet.Updater) PlanetReadUpdater
type PlanetUpdate ¶
type PlanetUpdate struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func NewUpdater() PlanetUpdate
func (PlanetUpdate) Update ¶
func (p PlanetUpdate) Update(document planet.PlanetDocument) error
type PlanetWrite ¶
type PlanetWrite struct {
// contains filtered or unexported fields
}
func NewWriter ¶
func NewWriter() PlanetWrite
func (PlanetWrite) Write ¶
func (p PlanetWrite) Write(cmd planet.CreatePlanetCommand) (planet.PlanetDocument, error)
Click to show internal directories.
Click to hide internal directories.