application

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: Apache-2.0 Imports: 46 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomDomainFolder added in v0.2.3

func CustomDomainFolder() string

func DataDir

func DataDir() string

func DeployToNetlify

func DeployToNetlify(target string, deployment *valueobject.Deployment, domain *valueobject.Domain, token string) error

func DeployToNetlifyBK

func DeployToNetlifyBK(target string, deployment *valueobject.Deployment, domain *valueobject.Domain, token string) error

func EnsureDirExists added in v0.2.1

func EnsureDirExists(dir string) error

func GenerateStaticSite

func GenerateStaticSite() error

func GenerateStaticSiteWithTarget

func GenerateStaticSiteWithTarget(target string) error

func ImageStorageDir added in v0.1.27

func ImageStorageDir() string

func LoadHugoProject

func LoadHugoProject() error

func LogDir added in v0.1.22

func LogDir() string

func NewContentServer

func NewContentServer(db repository.Repository) *entity.Content

func NewDemo

func NewDemo() (string, error)

func PreviewDir

func PreviewDir() string

func PreviewFolder

func PreviewFolder() string

func PreviewSiteRecycle

func PreviewSiteRecycle(cs *contentEntity.Content, token string)

func PublishDir added in v0.2.3

func PublishDir() string

PublishDir 返回用户发布内容的根目录

func PublishFolder added in v0.2.3

func PublishFolder() string

PublishFolder 返回发布目录名称

func ServeGenerateStaticSite

func ServeGenerateStaticSite() (afero.Fs, error)

func SubDomainFolder added in v0.2.3

func SubDomainFolder() string

func TLSDir

func TLSDir() string

func UploadDir

func UploadDir() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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