repository

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetRepository

type AssetRepository interface {
	CleanNippoCache() error
	CleanBuildCache() error
}

type LocalNippoCommand

type LocalNippoCommand interface {
	Create(*model.Nippo) error
	Delete(*model.Nippo) error
}

type LocalNippoQuery

type LocalNippoQuery interface {
	Exist(*model.NippoDate) bool
	Find(*model.NippoDate) (*model.Nippo, error)
	List(param *QueryListParam, option *QueryListOption) ([]model.Nippo, error)
	Load(nippo *model.Nippo) error
}

type QueryListOption

type QueryListOption struct {
	WithContent bool
	Recursive   bool
}

type QueryListParam

type QueryListParam struct {
	Folders        []string
	UpdatedAt      time.Time
	FileExtensions []string
	OrderBy        string
	PageToken      string
}

type RemoteNippoQuery

type RemoteNippoQuery interface {
	List(param *QueryListParam, option *QueryListOption) ([]model.Nippo, error)
	Download(nippo *model.Nippo) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL