Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface {
Post(ctx context.Context, namespace string, refIDs []string, ID string, data Data) (Data, *types.CommonError)
// Get daya by owner ID
Get(ctx context.Context, namespace string, refIDs []string, ID string) ([]Data, *types.CommonError)
// Delete specific ID data. If no data, MUST return error
Delete(ctx context.Context, namespace string, refIDs []string, ID string) (Data, *types.CommonError)
}
Click to show internal directories.
Click to hide internal directories.