iotex-core: Index | Files

package ha

import ""


Package Files


type Controller Uses

type Controller struct {
    // contains filtered or unexported fields

Controller controls the node high availability status

func New Uses

func New(c consensus.Consensus) *Controller

New constructs a HA controller instance

func (*Controller) Handle Uses

func (ha *Controller) Handle(w http.ResponseWriter, r *http.Request)

Handle handles admin request

Package ha imports 5 packages (graph) and is imported by 1 packages. Updated 2019-08-18. Refresh now. Tools for package owners.