Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleConn ¶
func HandleGetBlockchain ¶
func HandleGetBlockchain(w http.ResponseWriter, r *http.Request)
func HandlePOSConn ¶
func HandlePOSInputData ¶
func HandlePOSInputData()
func HandlePOWInputData ¶
func HandlePOWInputData()
func HandleWriteBlockchain ¶
func HandleWriteBlockchain(w http.ResponseWriter, r *http.Request)
Types ¶
type Server ¶
type Server struct{}
server is used to implement helloworld.GreeterServer.
func (*Server) AnnounceCandidates ¶
func (s *Server) AnnounceCandidates(ctx context.Context, in *blockchainGrpc.AnnounceCandidateRequest) (*blockchainGrpc.AnnounceCandidateReply, error)
func (*Server) MulticastPing ¶
func (s *Server) MulticastPing(ctx context.Context, in *blockchainGrpc.PingRequest) (*blockchainGrpc.PingReply, error)
Click to show internal directories.
Click to hide internal directories.