Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
Blockchain *blockchain.Blockchain
}
APIServer represents the REST API server
func NewAPIServer ¶
func NewAPIServer(bc *blockchain.Blockchain) *APIServer
NewAPIServer creates a new API server
Click to show internal directories.
Click to hide internal directories.