services

package
v0.18.4 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterUnauthenticatedRoutes added in v0.14.0

func RegisterUnauthenticatedRoutes(r *gin.RouterGroup, db *sqlx.DB)

Types

type AmbossService

type AmbossService struct {
	CommonService
	NodeId int `json:"nodeId"`
}

type CommonService added in v0.18.1

type CommonService struct {
	Status       commons.Status `json:"status"`
	StatusString string         `json:"statusString"`
	BootTime     *time.Time     `json:"bootTime,omitempty"`
}

type LndService

type LndService struct {
	CommonService
	NodeId         int             `json:"nodeId"`
	BitcoinNetwork commons.Network `json:"bitcoinNetwork"`
	StreamStatus   []Stream        `json:"streamStatus,omitempty"`
}

type Service

type Service struct {
	CommonService
	NodeId     *int                `json:"nodeId,omitempty"`
	Type       commons.ServiceType `json:"type"`
	TypeString string              `json:"typeString"`
}

type Services

type Services struct {
	BitcoinNetworks []commons.Network `json:"bitcoinNetworks"`
	TorqService     TorqService       `json:"torqService"`
	LndServices     []LndService      `json:"lndServices,omitempty"`
	Services        []Service         `json:"services,omitempty"`
	VectorServices  []VectorService   `json:"vectorServices,omitempty"`
	AmbossServices  []AmbossService   `json:"ambossServices,omitempty"`
}

type Stream added in v0.18.1

type Stream struct {
	CommonService
	NodeId     int                        `json:"nodeId,omitempty"`
	Type       commons.SubscriptionStream `json:"type"`
	TypeString string                     `json:"typeString"`
}

type TorqService

type TorqService struct {
	CommonService
	Version string `json:"version"`
}

type VectorService

type VectorService struct {
	CommonService
	NodeId int `json:"nodeId"`
}

Jump to

Keyboard shortcuts

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