Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Namespace ... Namespace(c echo.Context, namespaceID int64, auth enums.Auth) bool // Repository ... Repository(c echo.Context, repositoryID int64, auth enums.Auth) bool // Tag ... Tag(c echo.Context, tagID int64, auth enums.Auth) bool // Artifact ... Artifact(c echo.Context, artifactID int64, auth enums.Auth) bool }
Service is the interface for the auth service
type ServiceFactory ¶
type ServiceFactory interface {
New() Service
}
ServiceFactory is the interface that provides the artifact service factory methods.
func NewServiceFactory ¶
func NewServiceFactory(injects ...inject) ServiceFactory
NewServiceFactory creates a new artifact service factory.
Click to show internal directories.
Click to hide internal directories.