repository

package
v0.0.0-...-d438797 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2021 License: MIT Imports: 7 Imported by: 0

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

func (PlanetDelete) Delete

func (p PlanetDelete) Delete(id planet.ID) error

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 (PlanetRead) ReadByPlanetId

func (p PlanetRead) ReadByPlanetId(id planet.ID) (planet.PlanetDocument, error)

type PlanetReadUpdater

type PlanetReadUpdater struct {
	planet.Reader
	planet.Updater
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL