web

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: Apache-2.0, BSD-3-Clause, ISC Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(opts Options) *Handler

func (*Handler) ServeHTTP

func (l *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Options

type Options struct {
	Logger          zerolog.Logger
	ServePangYaData bool
	UpdateList      *UpdateListOptions
	AccountsService *accounts.Service
}

type RegisterPageParams

type RegisterPageParams struct {
	Errors []string
}

type UpdateListOptions

type UpdateListOptions struct {
	Key pyxtea.Key
	Dir string
}

Jump to

Keyboard shortcuts

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