2021-08-23 10:35:48 +02:00
|
|
|
//go:build !walletrpc
|
2018-10-25 04:31:07 +02:00
|
|
|
// +build !walletrpc
|
|
|
|
|
|
|
|
package walletrpc
|
|
|
|
|
2021-08-24 11:21:53 +02:00
|
|
|
const (
|
|
|
|
// SubServerName is the name of the sub rpc server. We'll use this name
|
|
|
|
// to register ourselves, and we also require that the main
|
|
|
|
// SubServerConfigDispatcher instance recognize as the name of our
|
|
|
|
SubServerName = "WalletKitRPC"
|
|
|
|
)
|
|
|
|
|
2018-10-25 04:31:07 +02:00
|
|
|
// Config is the primary configuration struct for the WalletKit RPC server.
|
|
|
|
// When the server isn't active (via the build flag), callers outside this
|
|
|
|
// package will see this shell of a config file.
|
|
|
|
type Config struct{}
|