api

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockNumberFreeze = "blockNumberFreeze"
	BlockNumberRecord = "blockNumberRecord"
)
View Source
const (
	JSONContent = "application/json; charset=utf-8"
)

Variables

This section is empty.

Functions

func NewServer

func NewServer(call *callback.Callback, port string) *http.Server

Types

type Api

type Api struct {
	// contains filtered or unexported fields
}

type RpcMessage

type RpcMessage struct {
	Method string        `json:"method,omitempty"`
	Params []interface{} `json:"params,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL