mirror of
https://github.com/lightninglabs/loop
synced 2024-11-11 13:11:12 +00:00
87b02b7715
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.
15 lines
331 B
Go
15 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() {}
|