frontend

package
v0.0.0-...-9d8b9bc Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(httpBind string, configURL string, userURL string) common.Service

New makes a new frontend

Types

type ArticleIndex

type ArticleIndex struct {
	// contains filtered or unexported fields
}

func (*ArticleIndex) Query

func (a *ArticleIndex) Query() []common.OutputArticle

func (*ArticleIndex) Update

func (a *ArticleIndex) Update(articles []common.OutputArticle)

type IndexQuerier

type IndexQuerier interface {
	Query() []common.OutputArticle
}

type IndexUpdater

type IndexUpdater interface {
	Update(articles []common.OutputArticle)
}

Jump to

Keyboard shortcuts

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