Documentation ¶
Index ¶
- Variables
- func MkdirRecurrently(ctx context.Context, baseDir, username, projectName string) error
- func NewCacheStore(cacheDir string) repository.CacheStore
- func NewRecordStore(db *sql.DB) repository.RecordStore
- func NewReportStore(webHookURL, channel, botName, botIcon, baseDir string) repository.ReportStore
- func NewUserStore(baseDir string) repository.UserStore
- func ValidateUserFilePath(ctx context.Context, username, projectName, filename string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidFilePath = errors.New("invalid file path")
Functions ¶
func MkdirRecurrently ¶
func NewCacheStore ¶
func NewCacheStore(cacheDir string) repository.CacheStore
func NewRecordStore ¶
func NewRecordStore(db *sql.DB) repository.RecordStore
func NewReportStore ¶
func NewReportStore(webHookURL, channel, botName, botIcon, baseDir string) repository.ReportStore
func NewUserStore ¶
func NewUserStore(baseDir string) repository.UserStore
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.