Versions in this module Expand all Collapse all v0 v0.9.0 Jun 15, 2015 Changes in this version + const AcceptHeader + const HeaderGitHubTwoFactor + const HeaderTwoFactor + var ErrBadRequest = &ErrorResource + var ErrForbidden = &ErrorResource + var ErrNotFound = &ErrorResource + var ErrTwoFactor = &ErrorResource + var ErrUnauthorized = &ErrorResource + func Authenticate(e *empire.Empire, h httpx.Handler) httpx.Handler + func Decode(r *http.Request, v interface{}) error + func Encode(w http.ResponseWriter, v interface{}) error + func Error(w http.ResponseWriter, err error, status int) error + func New(e *empire.Empire, auth authorization.Authorizer) httpx.Handler + func NoContent(w http.ResponseWriter) error + func Stream(w http.ResponseWriter, v interface{}) error + type App heroku.App + type Authentication struct + func (h *Authentication) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type Authorization heroku.OAuthAuthorization + type CertFinder interface + CertificatesFirst func(ctx context.Context, q empire.CertificatesQuery) (*empire.Certificate, error) + type DeleteApp struct + func (h *DeleteApp) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type DeleteDomain struct + func (h *DeleteDomain) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type DeleteProcesses struct + func (h *DeleteProcesses) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type DeleteSSLEndpoint struct + func (h *DeleteSSLEndpoint) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type Domain heroku.Domain + type Dyno heroku.Dyno + type ErrorResource struct + ID string + Message string + Status int + URL string + func (e *ErrorResource) Error() string + type Formation heroku.Formation + type GetApps struct + func (h *GetApps) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type GetConfigs struct + func (h *GetConfigs) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type GetDomains struct + func (h *GetDomains) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type GetProcesses struct + func (h *GetProcesses) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type GetRelease struct + func (h *GetRelease) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type GetReleases struct + func (h *GetReleases) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type GetSSLEndpoints struct + func (h *GetSSLEndpoints) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PatchConfigs struct + func (h *PatchConfigs) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PatchFormation struct + func (h *PatchFormation) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PatchFormationForm struct + Updates []struct{ ... } + type PatchSSLEndpoint struct + func (h *PatchSSLEndpoint) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PostApps struct + func (h *PostApps) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PostAppsForm struct + Name string + Repo *string + type PostAuthorizations struct + func (h *PostAuthorizations) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PostDeployForm struct + Image empire.Image + type PostDeploys struct + func (h *PostDeploys) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, req *http.Request) error + type PostDomains struct + func (h *PostDomains) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PostDomainsForm struct + Hostname string + type PostProcess struct + func (h *PostProcess) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PostProcessForm struct + Attach bool + Command string + Env map[string]string + Size string + type PostReleases struct + func (h *PostReleases) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PostReleasesForm struct + Version string + func (p *PostReleasesForm) ReleaseVersion() (int, error) + type PostSSLEndpoints struct + func (h *PostSSLEndpoints) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) error + type PostSSLEndpointsForm struct + CertificateChain string + Preprocess bool + PrivateKey string + type Release heroku.Release + type SSLEndpoint heroku.SSLEndpoint