propertyrepo

package
v0.3.5-alpha1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo interface {
	Delete(ctx context.Context, serviceID uuid.UUID, key string) error
	GetAll(ctx context.Context) ([]*property.Property, error)
	Store(ctx context.Context, u []*property.Property) error
	Upsert(ctx context.Context, u []*property.Property) error
	Update(ctx context.Context, u *property.Property) error
	GetAllByServiceID(ctx context.Context, id uuid.UUID) ([]*property.Property, error)
	GetByServiceIDKey(ctx context.Context, id uuid.UUID, key string) (*property.Property, error)
	TruncateTable(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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