registrar

package
v1.5.66-0...-1e0c951 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Owner               string `json:"owner"`
	Endpoint            string `json:"endpoint"`
	SpID                int    `json:"spID"`
	Type                string `json:"type"`
	BlockNumber         int    `json:"blockNumber"`
	DelegateOwnerWallet string `json:"delegateOwnerWallet"`
}

type NodeResponse

type NodeResponse struct {
	Data []Node `json:"data"`
}

type PeerProvider

type PeerProvider interface {
	Peers() ([]server.Peer, error)
	Signers() ([]server.Peer, error)
}

func NewAudiusApiGatewayProd

func NewAudiusApiGatewayProd() PeerProvider

func NewAudiusApiGatewayStaging

func NewAudiusApiGatewayStaging() PeerProvider

func NewEthChainProvider

func NewEthChainProvider() PeerProvider

func NewGraphProd

func NewGraphProd() PeerProvider

func NewGraphStaging

func NewGraphStaging() PeerProvider

func NewMultiProd

func NewMultiProd() PeerProvider

func NewMultiStaging

func NewMultiStaging() PeerProvider

func NewStatic

func NewStatic(peers, signers []server.Peer) PeerProvider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL