models

package
v0.0.0-...-9f5e8be Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PublicPoktApplication

type PublicPoktApplication struct {
	ID        string   `json:"id"`
	MaxRelays int      `json:"max_relays"`
	Chains    []string `json:"chain"`
	Address   string   `json:"address"`
}

type PublicQosNode

type PublicQosNode struct {
	NodePublicKey   string    `json:"node_public_key"`
	ServiceUrl      string    `json:"service_url"`
	Chain           string    `json:"chain"`
	SessionHeight   uint      `json:"session_height"`
	AppPublicKey    string    `json:"app_public_key"`
	TimeoutUntil    time.Time `json:"timeout_until"`
	TimeoutReason   string    `json:"timeout_reason"`
	LastKnownErr    string    `json:"last_known_err"`
	IsHealthy       bool      `json:"is_healthy"`
	IsSynced        bool      `json:"is_synced"`
	LastKnownHeight uint64    `json:"last_known_height"`
	P90Latency      float64   `json:"p90_latency"`
}

Jump to

Keyboard shortcuts

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