Skip to content

Commit

Permalink
config: add rtns service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
postables committed May 29, 2019
1 parent cc99fc6 commit 4b23a7b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ type Services struct {
} `json:"bch_grpc"`
Krab `json:"krab"`
KrabFallback Krab `json:"krab_fallback"`
RTNS `json:"rtns"`
}

// Krab is used to for key management
Expand Down Expand Up @@ -232,3 +233,12 @@ type Stripe struct {
PublishableKey string `json:"publishable_key"`
SecretKey string `json:"secret_key"`
}

// RTNS is used to configure our RTNS publishing service
type RTNS struct {
MultiAddresses []string `json:"multi_addresses,omitempty"`
// name of the private key stored within krab
KeyName string `json:"pk_name,omitempty"`
// path to persistent data store
DatastorePath string `json:"datastore_path"`
}

0 comments on commit 4b23a7b

Please sign in to comment.