hub

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultHost = "0.0.0.0"
	DefaultPort = "80"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

type Hub struct {
	RSS           *rss.Hub
	Decentralized *decentralized.Hub
}

func NewHub

func NewHub(ctx context.Context, config *config.File, database database.Client) *Hub

type Server

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

func NewServer

func NewServer(ctx context.Context, config *config.File, databaseClient database.Client) *Server

func (*Server) Run

func (s *Server) Run(_ context.Context) error

type Validator

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

func (*Validator) Validate

func (v *Validator) Validate(i interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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