Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-config
Commits
3638f0a8
Commit
3638f0a8
authored
Dec 04, 2020
by
Adin Schmahmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add remote pinning services config
parent
50e43275
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
config.go
config.go
+1
-0
remotepin.go
remotepin.go
+20
-0
No files found.
config.go
View file @
3638f0a8
...
@@ -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
(
...
...
remotepin.go
0 → 100644
View file @
3638f0a8
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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment