Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sidecar
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
sidecar
Commits
aeda6e51
Commit
aeda6e51
authored
Nov 04, 2021
by
suyanlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused code
parent
39b68945
Pipeline
#8210
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
config.go
hub/client/config.go
+0
-6
No files found.
hub/client/config.go
View file @
aeda6e51
...
@@ -50,12 +50,6 @@ func WithPrivateKey(key crypto.PrivateKey) Option {
...
@@ -50,12 +50,6 @@ func WithPrivateKey(key crypto.PrivateKey) Option {
}
}
}
}
func
WithIPFSInfo
(
addrs
[]
string
)
Option
{
return
func
(
config
*
config
)
{
config
.
ipfsAddrs
=
addrs
}
}
func
WithTimeoutLimit
(
limit
time
.
Duration
)
Option
{
func
WithTimeoutLimit
(
limit
time
.
Duration
)
Option
{
return
func
(
config
*
config
)
{
return
func
(
config
*
config
)
{
config
.
timeoutLimit
=
limit
config
.
timeoutLimit
=
limit
...
...
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