Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Storage ¶
type Storage interface { Check() error GetInbound(after string) ([]*api.Authorization, error) GetMatchingDepositAuthorization(e api.Authorization) ([]*api.Authorization, error) GetDepositAuthorizationByID(id string) ([]*api.Authorization, error) SearchDepositAuthorizationByCid(cid string) ([]*api.Authorization, error) SearchDepositAuthorizationByCreateDate(createdAt string) ([]*api.Authorization, error) SearchDepositAuthorizationByExportDate(exportedAt string) ([]*api.Authorization, error) CreateInbound(authID string) error CreateDepositAuthorization(reg api.Authorization) (*api.Authorization, error) DeleteDepositAuthorizationByID(id string) (int64, error) GetDepositAuthorizationForExport() ([]*api.Authorization, error) UpdateExportedDepositAuthorization(exports []*api.Authorization) error UpdateDepositAuthorizationByIDSetFulfilled(id string, did string) error UpdateDepositAuthorizationByIDSetTitle(id string, title string) error GetFieldMapperList() ([]*mapper, error) }
our storage interface
var Store Storage
our singleton store
Click to show internal directories.
Click to hide internal directories.