Commit 3638f0a8 authored by Adin Schmahmann's avatar Adin Schmahmann

add remote pinning services config

parent 50e43275
...@@ -33,6 +33,7 @@ type Config struct { ...@@ -33,6 +33,7 @@ type Config struct {
Reprovider Reprovider Reprovider Reprovider
Experimental Experiments Experimental Experiments
Plugins Plugins Plugins Plugins
Pinning Pinning
} }
const ( const (
......
package config
const (
PinningTag = "Pinning"
RemoteServicesTag = "RemoteServices"
RemoteServicesSelector = PinningTag + "." + RemoteServicesTag
)
type Pinning struct {
RemoteServices map[string]RemotePinningService
}
type RemotePinningService struct {
Api RemotePinningServiceApi
}
type RemotePinningServiceApi struct {
Endpoint string
Key string
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment