Fix the helpers
This commit is contained in:
@ -4,8 +4,6 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
|
||||
// GetAccessListType takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetUseCompression takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
//Option is a Conf Option
|
||||
type Option func(*Conf) error
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
// GetHost takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetKeyFile takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetClientDest takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetEndpointHost takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetFastRecieve takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,6 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
// GetHost takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetEncryptLeaseset takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,6 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
// GetInLength takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetSaveFile takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetPassword takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,6 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
// GetReduceOnIdle takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
//i2cp.messageReliability
|
||||
// GetMessageReliability takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetSigType takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -4,8 +4,6 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
|
||||
// GetType takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
@ -95,4 +93,3 @@ func (c *Conf) SetType(label ...string) {
|
||||
c.Type = "browserclient"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetUserName takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
@ -1,7 +1,5 @@
|
||||
package i2ptunconf
|
||||
|
||||
|
||||
|
||||
// GetInAllowZeroHop takes an argument and a default. If the argument differs from the
|
||||
// default, the argument is always returned. If the argument and default are
|
||||
// the same and the key exists, the key is returned. If the key is absent, the
|
||||
|
Reference in New Issue
Block a user