images_server

package
v0.0.0-...-176f8cf Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidRequest = errors.New("invalid request")
)

Functions

This section is empty.

Types

type ImageServer

type ImageServer struct {
	DbSession api.DbSession
	Model     *model.AyiModel
	Config    api.Config
}

func NewServer

func NewServer(session api.DbSession, model *model.AyiModel, config api.Config) *ImageServer

func (*ImageServer) Run

func (s *ImageServer) Run()

Run an HTTP server and starts to server images from it

Jump to

Keyboard shortcuts

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