lnd.xprv/lnrpc/invoicesrpc/config_active.go
Joost Jager 3545685177
invoicesrpc: create sub server
Sub server implementation is still empty. This is a preparatory
step for adding invoice functionality.
2019-02-01 09:42:35 +01:00

17 lines
489 B
Go

// +build invoicesrpc
package invoicesrpc
import (
"github.com/lightningnetwork/lnd/invoices"
)
// Config is the primary configuration struct for the invoices RPC server. It
// contains all the items required for the rpc server to carry out its
// duties. The fields with struct tags are meant to be parsed as normal
// configuration options, while if able to be populated, the latter fields MUST
// also be specified.
type Config struct {
InvoiceRegistry *invoices.InvoiceRegistry
}