Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
HttpServer handles the REST API requests in each node and redirects it to the local Node, where is the logic's core.
func NewServer ¶
func NewServer(port int) *HttpServer
NewServer creates a new API HttpServer that receives the requests for the local node.
Click to show internal directories.
Click to hide internal directories.