Documentation ¶
Index ¶
- type CORSServer
- type Service
- func (s *Service) GetBlock(w http.ResponseWriter, r *http.Request)
- func (s *Service) GetGenesisPeers(w http.ResponseWriter, r *http.Request)
- func (s *Service) GetGraph(w http.ResponseWriter, r *http.Request)
- func (s *Service) GetPeers(w http.ResponseWriter, r *http.Request)
- func (s *Service) GetStats(w http.ResponseWriter, r *http.Request)
- func (s *Service) Serve()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CORSServer ¶ added in v0.5.0
type CORSServer struct {
// contains filtered or unexported fields
}
func (*CORSServer) ServeHTTP ¶ added in v0.5.0
func (s *CORSServer) ServeHTTP(rw http.ResponseWriter, req *http.Request)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetGenesisPeers ¶ added in v0.5.0
func (s *Service) GetGenesisPeers(w http.ResponseWriter, r *http.Request)
func (*Service) GetGraph ¶ added in v0.4.1
func (s *Service) GetGraph(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.