Skip to content

Commit

Permalink
support for "commando" method.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Mar 16, 2022
1 parent e4f330d commit dadd45c
Show file tree
Hide file tree
Showing 6 changed files with 767 additions and 44 deletions.
18 changes: 11 additions & 7 deletions db.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ import (
)

type Params struct {
Name string `json:"name"`
Domain string `json:"domain,omitempty"`
Kind string `json:"kind"`
Host string `json:"host"`
Key string `json:"key"`
Pak string `json:"pak"`
Waki string `json:"waki"`
Name string `json:"name"`
Domain string `json:"domain,omitempty"`
Kind string `json:"kind"`

Host string `json:"host"`
Key string `json:"key"`
Pak string `json:"pak"`
Waki string `json:"waki"`
NodeId string `json:"nodeid"`
Rune string `json:"rune"`

Pin string `json:"pin"`
MinSendable string `json:"minSendable"`
MaxSendable string `json:"maxSendable"`
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.16
require (
github.com/cockroachdb/pebble v0.0.0-20210812144839-61318a019370
github.com/fiatjaf/go-lnurl v1.4.0
github.com/fiatjaf/makeinvoice v1.3.1
github.com/fiatjaf/makeinvoice v1.4.0
github.com/gorilla/mux v1.8.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/lib/pq v1.10.2
github.com/lib/pq v1.10.3
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
github.com/rs/zerolog v1.23.0
github.com/tidwall/sjson v1.1.7
Expand Down
Loading

0 comments on commit dadd45c

Please sign in to comment.