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
}
CORSServer ...
func (*CORSServer) ServeHTTP ¶ added in v0.5.0
func (s *CORSServer) ServeHTTP(rw http.ResponseWriter, req *http.Request)
ServeHTTP ...
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service ...
func NewService ¶
NewService ...
func (*Service) GetBlock ¶
func (s *Service) GetBlock(w http.ResponseWriter, r *http.Request)
GetBlock ...
func (*Service) GetGenesisPeers ¶ added in v0.5.0
func (s *Service) GetGenesisPeers(w http.ResponseWriter, r *http.Request)
GetGenesisPeers ...
func (*Service) GetGraph ¶ added in v0.4.1
func (s *Service) GetGraph(w http.ResponseWriter, r *http.Request)
GetGraph ...
func (*Service) GetPeers ¶ added in v0.4.1
func (s *Service) GetPeers(w http.ResponseWriter, r *http.Request)
GetPeers ...
Click to show internal directories.
Click to hide internal directories.