{"modulePath":"github.com/ethersphere/ethproxy","version":"v0.0.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Constants\n\n```go\nconst (\n\tBlockNumberFreeze = \"blockNumberFreeze\"\n\tBlockNumberRecord = \"blockNumberRecord\"\n)\n```\n\n```go\nconst (\n\tJSONContent = \"application/json; charset=utf-8\"\n)\n```\n\n## Types\n\n```go\ntype Api struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewApi(call *callback.Callback, rpc *rpc.Caller, logger logging.Logger) *Api\n```\n\n```go\nfunc (api *Api) Execute(w http.ResponseWriter, r *http.Request)\n```\n\n```go\nfunc (api *Api) Server(port string) *http.Server\n```\n\n```go\ntype RpcMessage struct {\n\tMethod string        `json:\"method,omitempty\"`\n\tParams []interface{} `json:\"params,omitempty\"`\n}\n```\n\n","path":"github.com/ethersphere/ethproxy/pkg/api","name":"api","synopsis":"","isRedistributable":true}
