api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(app *core.App) error

Types

type AppSettings

type AppSettings struct {
	*core.SystemSet
	*models.Settings
	Pages *[4]string
}

type Attachment

type Attachment struct {
	models.Attachment
	Year int `json:"year"`
}

type GistGroupByLang

type GistGroupByLang struct {
	Lang  string `json:"lang"`
	Count int    `json:"count"`
}

type GithubFile

type GithubFile struct {
	Name string `json:"name"`
}

type GroupByYear

type GroupByYear struct {
	Year  int `json:"year"`
	Count int `json:"count"`
}

type OssConfig

type OssConfig struct {
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
	StsToken        string `json:"stsToken"`
	Region          string `json:"region"`
	Bucket          string `json:"bucket"`
}

Directories

Path Synopsis
http

Jump to

Keyboard shortcuts

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