14 lines
213 B
Go
14 lines
213 B
Go
|
package queue
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
type SchedulerTask interface {
|
||
|
UriPath() string
|
||
|
SendStatusCode(statusCode int)
|
||
|
SendError(err error)
|
||
|
SendResponse(response *http.Response)
|
||
|
BasicAuth() (string, string)
|
||
|
}
|