services

package
v0.13.1-rc4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 8 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 {
	Service
	NodeId int `json:"nodeId"`
}

type LndService

type LndService struct {
	Service
	NodeId                        int            `json:"nodeId"`
	TransactionStreamStatus       commons.Status `json:"transactionStreamStatus"`
	TransactionStreamBootTime     *time.Time     `json:"transactionStreamBootTime,omitempty"`
	HtlcEventStreamStatus         commons.Status `json:"htlcEventStreamStatus"`
	HtlcEventStreamBootTime       *time.Time     `json:"htlcEventStreamBootTime,omitempty"`
	ChannelEventStreamStatus      commons.Status `json:"channelEventStreamStatus"`
	ChannelEventStreamBootTime    *time.Time     `json:"channelEventStreamBootTime,omitempty"`
	GraphEventStreamStatus        commons.Status `json:"graphEventStreamStatus"`
	GraphEventStreamBootTime      *time.Time     `json:"graphEventStreamBootTime,omitempty"`
	ForwardStreamStatus           commons.Status `json:"forwardStreamStatus"`
	ForwardStreamBootTime         *time.Time     `json:"forwardStreamBootTime,omitempty"`
	InvoiceStreamStatus           commons.Status `json:"invoiceStreamStatus"`
	InvoiceStreamBootTime         *time.Time     `json:"invoiceStreamBootTime,omitempty"`
	PaymentStreamStatus           commons.Status `json:"paymentStreamStatus"`
	PaymentStreamBootTime         *time.Time     `json:"paymentStreamBootTime,omitempty"`
	InFlightPaymentStreamStatus   commons.Status `json:"inFlightPaymentStreamStatus"`
	InFlightPaymentStreamBootTime *time.Time     `json:"inFlightPaymentStreamBootTime,omitempty"`
	PeerEventStreamStatus         commons.Status `json:"peerEventStreamStatus"`
	PeerEventStreamBootTime       *time.Time     `json:"peerEventStreamBootTime,omitempty"`
}

type Service

type Service struct {
	Status   commons.Status `json:"status"`
	BootTime *time.Time     `json:"bootTime,omitempty"`
}

type Services

type Services struct {
	TorqService    TorqService     `json:"torqService"`
	LndServices    []LndService    `json:"lndServices,omitempty"`
	VectorServices []VectorService `json:"vectorServices,omitempty"`
	AmbossServices []AmbossService `json:"ambossServices,omitempty"`
}

type TorqService

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

type VectorService

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

Jump to

Keyboard shortcuts

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