application

package
v0.0.0-...-394db76 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempDir

func CreateTempDir(fs afero.Fs, prefix string) (string, func(), error)

CreateTempDir creates a temp dir in the given filesystem and returns the dirnam and a func that removes it when done.

func GenerateStaticSite

func GenerateStaticSite() error

func NewDemo

func NewDemo() (string, error)

Types

type AdminServer

type AdminServer struct {
	admin.Admin
}

func NewAdminServer

func NewAdminServer(db repository.Repository) (*AdminServer, error)

type ContentServer

type ContentServer struct {
	content.Content
}

func NewContentServer

func NewContentServer(db repository.Repository) *ContentServer

Jump to

Keyboard shortcuts

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