Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthCredentials ¶
type HTTPServer ¶
type HTTPServer interface { ListenAndServe(listenAddr string) error ServeHTTP(w http.ResponseWriter, r *http.Request) Stop(ctx context.Context) error }
func NewServer ¶
func NewServer( auth AuthCredentials, svc JobService, ) (HTTPServer, error)
type JobCreateRequest ¶
type JobHandleResponse ¶
type JobHandleResponse struct {
ID string `json:"id"`
}
type JobRunRequest ¶
Click to show internal directories.
Click to hide internal directories.