Documentation
¶
Index ¶
- func CreateLightningClient(lndConnectParams lndconnect.LndConnectParams) (lnrpc.LightningClient, *grpc.ClientConn, error)
- func CreateNodeGuardClient(nodeGuardEndpoint string) (nodeguard.NodeGuardServiceClient, *grpc.ClientConn, error)
- func CreateSwapClientClient(lndConnectParams lndconnect.LndConnectParams) (looprpc.SwapClientClient, *grpc.ClientConn, error)
- func WithTokenAuth(token string, header string) grpc.DialOption
- type TokenAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLightningClient ¶
func CreateLightningClient(lndConnectParams lndconnect.LndConnectParams) (lnrpc.LightningClient, *grpc.ClientConn, error)
Generates the gRPC lightning client∏
func CreateNodeGuardClient ¶
func CreateNodeGuardClient(nodeGuardEndpoint string) (nodeguard.NodeGuardServiceClient, *grpc.ClientConn, error)
CreateNodeGuardClient creates the NodeGuard grpc client
func CreateSwapClientClient ¶
func CreateSwapClientClient(lndConnectParams lndconnect.LndConnectParams) (looprpc.SwapClientClient, *grpc.ClientConn, error)
Creates the SwapClient client similar to CreateLightningClient function
func WithTokenAuth ¶
func WithTokenAuth(token string, header string) grpc.DialOption
Types ¶
type TokenAuth ¶
func NewTokenAuth ¶
func (*TokenAuth) GetRequestMetadata ¶
func (*TokenAuth) RequireTransportSecurity ¶
Click to show internal directories.
Click to hide internal directories.