route

package
v0.0.0-...-82df24b Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Landing

type Landing struct{}

func NewLandingHandler

func NewLandingHandler() *Landing

NewLandingHandler creates a new Landing router.

func (*Landing) Home

func (l *Landing) Home(t template.Template)

type Member

type Member struct{}

func NewMemberHandler

func NewMemberHandler() *Member

NewMemberHandler creates a new Member router.

func (*Member) GetBySecUID

func (*Member) GetBySecUID(ctx context.Context)

func (*Member) List

func (*Member) List(ctx context.Context)

type Source

type Source struct{}

func NewSourceHandler

func NewSourceHandler() *Source

NewSourceHandler creates a new Source router.

func (*Source) Report

func (*Source) Report(ctx context.Context)

func (*Source) VerifyKey

func (*Source) VerifyKey(key string) func(ctx context.Context)

VerifyKey is the middleware which verifies the crawler key. Only the real acao we can trust.

func (*Source) VideoIDs

func (*Source) VideoIDs(ctx context.Context)

func (*Source) VideoURLs

func (*Source) VideoURLs(ctx context.Context)

type Video

type Video struct{}

func NewVideoHandler

func NewVideoHandler() *Video

NewVideoHandler creates a new Video router.

func (*Video) GetByID

func (*Video) GetByID(ctx context.Context)

func (*Video) List

func (*Video) List(ctx context.Context)

func (*Video) Random

func (*Video) Random(ctx context.Context)

Jump to

Keyboard shortcuts

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