service

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LauncherAgent

type LauncherAgent struct {
	// contains filtered or unexported fields
}

func NewLauncherAgent

func NewLauncherAgent(network string, logger *logrus.Entry) *LauncherAgent

func (*LauncherAgent) GetState

func (t *LauncherAgent) GetState() string

type Manager

type Manager struct {
	*LauncherAgent
	// contains filtered or unexported fields
}

func NewManager

func NewManager(network string) (*Manager, error)

func (*Manager) Close

func (t *Manager) Close() error

func (*Manager) ConfigureRouter

func (t *Manager) ConfigureRouter(r *gin.Engine)

func (*Manager) GetService

func (t *Manager) GetService(name string) (core.Service, error)

func (*Manager) GetStatus

func (t *Manager) GetStatus() map[string]string

type ServiceEntry

type ServiceEntry struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type ServiceStatus

type ServiceStatus struct {
	Service string `json:"service"`
	Status  string `json:"status"`
}

type SetupStatus

type SetupStatus struct {
	Status  string      `json:"status"`
	Details interface{} `json:"details"`
}

type StatusResult

type StatusResult struct {
	Service string
	Status  string
}

Directories

Path Synopsis
lnd
xud

Jump to

Keyboard shortcuts

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