Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
Types ¶
type Service ¶
type Service interface {
StartApp(encryptionKey string) error
StopApp()
StartAutoSwaps() error
Shutdown()
// TODO: remove getters (currently used by http / wails services)
GetAlbyOAuthSvc() alby.AlbyOAuthService
GetEventPublisher() events.EventPublisher
GetLNClient() lnclient.LNClient
GetTransactionsService() transactions.TransactionsService
GetSwapsService() swaps.SwapsService
GetDB() *gorm.DB
GetConfig() config.Config
GetKeys() keys.Keys
IsRelayReady() bool
GetStartupState() string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.