Documentation ¶
Overview ¶
Package web provides a web server with an HTTP API as well as a full UI to run amod code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyRequestBody = errors.New("empty request body") ErrNoModel = errors.New("no model loaded") )
Functions ¶
This section is empty.
Types ¶
type ErrFrameworkNotActive ¶ added in v0.9.0
type ErrFrameworkNotActive struct {
Name string
}
func (ErrFrameworkNotActive) Error ¶ added in v0.9.0
func (e ErrFrameworkNotActive) Error() string
type ErrInvalidFrameworkName ¶ added in v0.9.0
type ErrInvalidFrameworkName struct {
Name string
}
func (ErrInvalidFrameworkName) Error ¶ added in v0.9.0
func (e ErrInvalidFrameworkName) Error() string
type ErrInvalidModelID ¶ added in v0.9.0
type ErrInvalidModelID struct {
ID int
}
func (ErrInvalidModelID) Error ¶ added in v0.9.0
func (e ErrInvalidModelID) Error() string
type ErrInvalidSessionID ¶ added in v0.9.0
type ErrInvalidSessionID struct {
ID int
}
func (ErrInvalidSessionID) Error ¶ added in v0.9.0
func (e ErrInvalidSessionID) Error() string
type SessionList ¶
type SessionList []*Session
Click to show internal directories.
Click to hide internal directories.