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. |
Click to show internal directories.
Click to hide internal directories.