An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/jsvensson/jsend

Package jsend implements JSend. See https://github.com/omniti-labs/jsend for the JSend specification. You can wrap your http.ResponseWriter: Returning object also implements http.ResponseWriter. So you can pass it to your http middlewares. Success example: Status field in response body is derived from http status code. Status is "fail" if code is 4XX, "error" if code is 5XX and "success" otherwise. Fail: Error:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/jsvensson/jsend
License: MIT
Latest release: almost 5 years ago
First release: almost 5 years ago
Namespace: github.com/jsvensson
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago

    Loading...
    Readme
    Loading...