source

package
v0.0.0-...-b98e79d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 1 Imported by: 6

Documentation

Overview

Package source provides a imageserver.Server implementation that forwards calls to the underlying Server with only the "source" param.

Index

Constants

View Source
const Param = "source"

Param is the source param name.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	imageserver.Server
}

Server is a imageserver.Server implementation that forwards calls to the underlying Server with only the "source" param.

It should be used to cache the source Image.

func (*Server) Get

func (s *Server) Get(params imageserver.Params) (*imageserver.Image, error)

Get implements imageserver.Server.

Directories

Path Synopsis
Package file provides a imageserver.Server implementation that get the Image from a file.
Package file provides a imageserver.Server implementation that get the Image from a file.
Package http provides a imageserver.Server implementation that gets the Image from an HTTP URL.
Package http provides a imageserver.Server implementation that gets the Image from an HTTP URL.

Jump to

Keyboard shortcuts

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