replace zxq.co/ripple/hanayo
This commit is contained in:
11
vendor/zxq.co/ripple/rippleapi/app/internals/status.go
vendored
Normal file
11
vendor/zxq.co/ripple/rippleapi/app/internals/status.go
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// Package internals has methods that suit none of the API packages.
|
||||
package internals
|
||||
|
||||
import "github.com/valyala/fasthttp"
|
||||
|
||||
var statusResp = []byte(`{ "status": 1 }`)
|
||||
|
||||
// Status is used for checking the API is up by the ripple website, on the status page.
|
||||
func Status(c *fasthttp.RequestCtx) {
|
||||
c.Write(statusResp)
|
||||
}
|
Reference in New Issue
Block a user