Commit aeda6e51 authored by suyanlong's avatar suyanlong

remove unused code

parent 39b68945
Pipeline #8210 canceled with stages
...@@ -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
......
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