Documentation ¶
Overview ¶
Package files contains the HTTP server for files services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( images Images, ) *remotohttp.Server
New makes a new remotohttp.Server with the specified services registered.
func RegisterImagesServer ¶
func RegisterImagesServer(server *remotohttp.Server, service Images)
RegisterImagesServer registers a Images with a remotohttp.Server.
Types ¶
type FlipRequest ¶
type FlipRequest struct {
Image remototypes.File `json:"image"`
}
FlipRequest is the request for Images.Flip.
type Images ¶
type Images interface {
Flip(context.Context, *FlipRequest) (*remototypes.FileResponse, error)
}
Images provides image services.
Click to show internal directories.
Click to hide internal directories.