providers

package
v0.0.0-...-8b6083e Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Providers []ProviderFunc

Functions

func RegisterProvider

func RegisterProvider(f ProviderFunc)

Types

type NewItemMessage

type NewItemMessage struct {
	Item database.Item
}

type Provider

type Provider interface {
	Identifier() string
	Name() string
	Description() string
	Templates()
	Routes() ProviderRoutes
	Service() Service
}

type ProviderFunc

type ProviderFunc func() Provider

type ProviderRoutes

type ProviderRoutes struct {
	Item template.Template
}

type Service

type Service interface {
	Start() chan ServiceMessage
}

type ServiceMessage

type ServiceMessage interface{}

Directories

Path Synopsis
cmd
rss
cmd
cmd

Jump to

Keyboard shortcuts

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