handler

package
v0.0.0-...-326d315 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 6 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 {
	Storage sqlite.Storage
}

func Init

func Init(storage sqlite.Storage) *Handler

func (*Handler) Index

func (h *Handler) Index(w http.ResponseWriter, r *http.Request)

func (*Handler) Save

func (h *Handler) Save(w http.ResponseWriter, r *http.Request)

func (*Handler) Show

func (h *Handler) Show(w http.ResponseWriter, r *http.Request)

type Message

type Message struct {
	Message string
}

type URL

type URL struct {
	Link string
}

Jump to

Keyboard shortcuts

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