Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListHandler ¶ added in v1.0.0
func ListHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type CountValues ¶ added in v1.0.0
type Counters ¶ added in v1.0.0
type Counters struct { Totals *CountValues `json:"totals"` This *CountValues `json:"current"` }
type GHSResponse ¶ added in v1.0.0
type GHSResponse struct { *apiresponse.Response Counters *Counters `json:"counters,omitempty"` QueryFilters map[string]string `json:"query_filters,omitempty"` Result []ghs.GithubStandard `json:"result"` }
-- Standard how to cast result to common type?
func NewResponse ¶ added in v1.0.0
func NewResponse() *GHSResponse
Click to show internal directories.
Click to hide internal directories.