Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnableToParseFont = errors.New("unable to process font")
View Source
var ErrUnableToPrint = errors.New("unable to print phrase")
Functions ¶
This section is empty.
Types ¶
type RestAPIServer ¶
type RestAPIServer struct {
// contains filtered or unexported fields
}
func NewRestAPIServer ¶
func NewRestAPIServer(opts Opts, storage storage.FontStorage) (RestAPIServer, error)
func (RestAPIServer) FontNames ¶
func (srv RestAPIServer) FontNames(response http.ResponseWriter, request *http.Request)
func (RestAPIServer) FontUpload ¶
func (srv RestAPIServer) FontUpload(response http.ResponseWriter, request *http.Request)
func (RestAPIServer) Print ¶
func (srv RestAPIServer) Print(response http.ResponseWriter, request *http.Request)
func (RestAPIServer) Run ¶
func (srv RestAPIServer) Run()
Click to show internal directories.
Click to hide internal directories.