Documentation
¶
Index ¶
- func Serve(h *ApiHandler)
- type ApiHandler
- func (h *ApiHandler) AutomateOutputMerging(w http.ResponseWriter, r *http.Request)
- func (h *ApiHandler) GetBlock(w http.ResponseWriter, r *http.Request)
- func (h *ApiHandler) GetBlocks(w http.ResponseWriter, r *http.Request)
- func (h *ApiHandler) GetHome(w http.ResponseWriter, r *http.Request)
- func (h *ApiHandler) GetSearchResult(w http.ResponseWriter, r *http.Request)
- func (h *ApiHandler) GetTransaction(w http.ResponseWriter, r *http.Request)
- func (h *ApiHandler) GetTransactionJSON(w http.ResponseWriter, r *http.Request)
- func (h *ApiHandler) GetTransactions(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Serve ¶
func Serve(h *ApiHandler)
Types ¶
type ApiHandler ¶
type ApiHandler struct {
// contains filtered or unexported fields
}
func NewApiHandler ¶
func NewApiHandler(c *client.Client) *ApiHandler
func (*ApiHandler) AutomateOutputMerging ¶
func (h *ApiHandler) AutomateOutputMerging(w http.ResponseWriter, r *http.Request)
func (*ApiHandler) GetBlock ¶
func (h *ApiHandler) GetBlock(w http.ResponseWriter, r *http.Request)
func (*ApiHandler) GetBlocks ¶
func (h *ApiHandler) GetBlocks(w http.ResponseWriter, r *http.Request)
func (*ApiHandler) GetHome ¶
func (h *ApiHandler) GetHome(w http.ResponseWriter, r *http.Request)
func (*ApiHandler) GetSearchResult ¶
func (h *ApiHandler) GetSearchResult(w http.ResponseWriter, r *http.Request)
func (*ApiHandler) GetTransaction ¶
func (h *ApiHandler) GetTransaction(w http.ResponseWriter, r *http.Request)
func (*ApiHandler) GetTransactionJSON ¶
func (h *ApiHandler) GetTransactionJSON(w http.ResponseWriter, r *http.Request)
func (*ApiHandler) GetTransactions ¶
func (h *ApiHandler) GetTransactions(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.