handlers

package
v0.0.0-...-4081b50 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidURL = fmt.Errorf("Given URL is unavailable for now.")

Functions

This section is empty.

Types

type HandlerError

type HandlerError struct {
	Message string `json:"message"`
}

type Info

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

Info holds HTTP handler for getting page information.

func GetNewInfo

func GetNewInfo(l *log.Logger) *Info

GetNewInfo creates handler with logger for HTTP requests Constructor for Info

func (*Info) ParseImages

func (i *Info) ParseImages(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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