Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterStorage ¶
Types ¶
type Storage ¶
type Storage interface { PackageModulesCreate(ctx context.Context, pkg *models.Package, modules []*models.Module) error PackagesUpdateLastCheck(ctx context.Context, packages []*models.Package) error PackageModules(ctx context.Context, req *pb.PackageModulesReq) ([]*models.Module, error) ModulesProcess(ctx context.Context, td time.Duration) ([]*models.Module, error) PackagesProcess(ctx context.Context, td time.Duration) ([]*models.Package, error) PackageCreate(ctx context.Context, req *pb.PackageCreateReq) (*models.Package, error) HandlerList(ctx context.Context, req *pb.HandlerListReq) ([]*models.Handler, error) PackageList(ctx context.Context, req *pb.PackageListReq) ([]*models.Package, error) PackageLookup(ctx context.Context, req *pb.PackageLookupReq) (*models.Package, error) PackageUpdate(ctx context.Context, req *pb.PackageUpdateReq) (*models.Package, error) PackageDelete(ctx context.Context, req *pb.PackageDeleteReq) error CommentCreate(ctx context.Context, req *pb.CommentCreateReq) (*models.Comment, error) CommentDelete(ctx context.Context, req *pb.CommentDeleteReq) error CommentList(ctx context.Context, req *pb.CommentListReq) ([]*models.Comment, error) ModuleList(ctx context.Context, req *pb.ModuleListReq) ([]*models.Module, error) ModuleCreate(ctx context.Context, modules []*models.Module) error }
Click to show internal directories.
Click to hide internal directories.