mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
To itest our autolooper, we need to be able to trigger dispatch on demand. This functionality is included in a separate rpc server behind a dev flag. Since it is unlikely that we need to split loop into multiple rpc servers, this commit simply adds an additional debug server rather than opting for a full subserver setup.
14 lines
331 B
Go
14 lines
331 B
Go
// +build !dev
|
|
|
|
package loopd
|
|
|
|
import "gopkg.in/macaroon-bakery.v2/bakery"
|
|
|
|
var (
|
|
debugRequiredPermissions = map[string][]bakery.Op{}
|
|
debugPermissions []bakery.Op
|
|
)
|
|
|
|
// registerDebugServer is our default debug server registration function, which
|
|
// excludes debug functionality.
|
|
func (d *Daemon) registerDebugServer() {}
|