Add nostr nip-05 registration with lnd invoices #1
1 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,9 @@ import (
|
||||||
type (
|
type (
|
||||||
Config struct {
|
Config struct {
|
||||||
ListenAddr string
|
ListenAddr string
|
||||||
|
LndCertB64 string
|
||||||
|
LndAddr string
|
||||||
|
LndMacaroonHex string
|
||||||
LogLevel string
|
LogLevel string
|
||||||
MatrixIdentityServer string
|
MatrixIdentityServer string
|
||||||
MatrixWellKnownAddress string
|
MatrixWellKnownAddress string
|
||||||
|
@ -17,6 +20,9 @@ type (
|
||||||
func GetConfig() Config {
|
func GetConfig() Config {
|
||||||
return Config{
|
return Config{
|
||||||
ListenAddr: getEnv("LISTEN_ADDR", ":8090"),
|
ListenAddr: getEnv("LISTEN_ADDR", ":8090"),
|
||||||
|
LndCertB64: getEnv("LND_CERT_B64", ""),
|
||||||
|
LndAddr: getEnv("LND_ADDR", ""),
|
||||||
|
LndMacaroonHex: getEnv("LND_MACAROON_HEX", ""),
|
||||||
LogLevel: getEnv("LOG_LEVEL", "INFO"),
|
LogLevel: getEnv("LOG_LEVEL", "INFO"),
|
||||||
MatrixIdentityServer: getEnv("MATRIX_IDENTITY_SERVER", ""),
|
MatrixIdentityServer: getEnv("MATRIX_IDENTITY_SERVER", ""),
|
||||||
MatrixWellKnownAddress: getEnv("MATRIX_WELL_KNOWN_ADDRESS", ""),
|
MatrixWellKnownAddress: getEnv("MATRIX_WELL_KNOWN_ADDRESS", ""),
|
||||||
|
|
Loading…
Reference in a new issue