timeline

package
v1.16.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timeline

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

func New

func New(
	oauth *oauth.OAuth,
	db *db.DB,
	config *config.Config,
	pages *pages.Pages,
	logger *slog.Logger,
	postsFS fs.FS,
) *Timeline

func (*Timeline) Home

func (t *Timeline) Home(w http.ResponseWriter, r *http.Request)

func (*Timeline) HomeOrTimeline

func (t *Timeline) HomeOrTimeline(w http.ResponseWriter, r *http.Request)

func (*Timeline) Router

func (t *Timeline) Router() http.Handler

func (*Timeline) Timeline

func (t *Timeline) Timeline(w http.ResponseWriter, r *http.Request)

Source Files

  • home.go
  • router.go
  • timeline.go

Jump to

Keyboard shortcuts

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