Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrParcelNotFound error = errors.New("parcel not found")
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo interface { CreateParcel(ctx context.Context, name string) (*model.Parcel, error) DescribeParcel(ctx context.Context, parcelID uint64) (*model.Parcel, error) ListParcels(ctx context.Context, cursor, offset uint64) ([]*model.Parcel, error) RemoveParcel(ctx context.Context, parcelID uint64) (bool, error) }
Repo is DAO for parcel
Click to show internal directories.
Click to hide internal directories.