server

package
v0.0.0-...-48b1a76 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package server contains main HTTP handler for Lalyta.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(args Args) http.Handler

Types

type Args

type Args struct {
	// Location of lalyta service. It will be shown at /info endpoint.
	Location string

	// Message for /info endpoint.
	Message string

	Parameters api.QueryParameters
	Storage    api.BookmarksStorage
}

Args holds dependencies for Handler.

Jump to

Keyboard shortcuts

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