Skip to content

statusio/statusio-go

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Go Status.io

Go package for Status.io

GoDoc

Successful API queries return native Go structs that can be used immediately, with no need for type assertions.

Usage

api := statusio.NewStatusioApi("your-api-id", "your-api-key")

Retrieve status page summary:

statusSummary, err := api.StatusSummary("your-statuspage-id")
if err != nil {
    log.Fatal(err)
}
fmt.Println(statusSummary.Result.Status[0].Containers[0].Status)

View the full API documentation at: http://developers.status.io/