forgot types

This commit is contained in:
callebtc
2022-08-31 14:14:46 +02:00
parent edc4152faf
commit 24edbfd31e

24
types/types.go Normal file
View File

@@ -0,0 +1,24 @@
package types
import (
"github.com/callebtc/electronwall/api"
"github.com/lightningnetwork/lnd/lnrpc"
"github.com/lightningnetwork/lnd/lnrpc/routerrpc"
)
type HtlcForwardEvent struct {
PubkeyFrom string
AliasFrom string
PubkeyTo string
AliasTo string
Event *routerrpc.ForwardHtlcInterceptRequest
}
type ChannelAcceptEvent struct {
PubkeyFrom string
AliasFrom string
Event *lnrpc.ChannelAcceptRequest
NodeInfo *lnrpc.NodeInfo
OneMl api.OneML_NodeInfoResponse
Amboss api.Amboss_NodeInfoResponse
}