routing+server: define PaymentSessionSource

This commit is contained in:
Johan T. Halseth committed 2019-05-27 20:18:59 +02:00
1 parent f4306b1178
commit 3f76bc0629
4 files changed
+90 -48

No files matched your search

+4
View File
@@ -70,6 +70,10 @@ type MissionControl struct {
// TODO(roasbeef): also add favorable metrics for nodes
}
// A compile time assertion to ensure MissionControl meets the
// PaymentSessionSource interface.
var _ PaymentSessionSource = (*MissionControl)(nil)
// NewMissionControl returns a new instance of MissionControl.
//
// TODO(roasbeef): persist memory