Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCredentials = fmt.Errorf("credentials error")
ErrCredentials represents a credentials error.
Functions ¶
func InitializeConnection ¶
func InitializeConnection(cfg Credentials) (*grpc.ClientConn, error)
InitializeConnection establishes a connection with a Lightning daemon.
Types ¶
type Credentials ¶
type Credentials struct { RPCAddress string TLSCreds credentials.TransportCredentials RPCCreds credentials.PerRPCCredentials }
Credentials is used to pass identification and connection parameters to InitializeConnection.
Click to show internal directories.
Click to hide internal directories.