Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Error definitions
Functions ¶
This section is empty.
Types ¶
type AddressStorage ¶
type AddressStorage interface { interfaces.Service health.Check Addresses() ([]pmodel.Address, error) Has(id string) bool Read(id string) (*pmodel.Address, error) Create(adr pmodel.Address) (string, error) Update(adr pmodel.Address) error Delete(id string) error }
AddressStorage this is the interface every storage provider should implement
Click to show internal directories.
Click to hide internal directories.