Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ECDSAGenerator
 - type Ed25519Generator
 - type KeyPair
 - type KeyPairGenerator
 - type RSAGenerator
 - type RetryI
 - type RetryOp
 - func (r RetryOp) Backoff() time.Duration
 - func (r RetryOp) Interval() time.Duration
 - func (r RetryOp) Retries() int
 - func (r RetryOp) Retry(err error, opDesc string) bool
 - func (r RetryOp) SetBackoff(backoff time.Duration)
 - func (r RetryOp) SetInterval(interval time.Duration)
 - func (r RetryOp) SetRetries(retries int)
 - func (r RetryOp) SetTimeout(timeout time.Duration)
 - func (r RetryOp) Timeout() time.Duration
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECDSAGenerator ¶
type ECDSAGenerator struct {
	// contains filtered or unexported fields
}
    func (*ECDSAGenerator) Generate ¶
func (g *ECDSAGenerator) Generate() (*KeyPair, error)
type Ed25519Generator ¶
type Ed25519Generator struct{}
    func (*Ed25519Generator) Generate ¶
func (g *Ed25519Generator) Generate() (*KeyPair, error)
type KeyPairGenerator ¶
func NewECDSAGenerator ¶
func NewECDSAGenerator(c elliptic.Curve) KeyPairGenerator
func NewEd25519Generator ¶
func NewEd25519Generator() KeyPairGenerator
func NewRSAGenerator ¶
func NewRSAGenerator(bits int) KeyPairGenerator
type RSAGenerator ¶
type RSAGenerator struct {
	// contains filtered or unexported fields
}
    func (*RSAGenerator) Generate ¶
func (g *RSAGenerator) Generate() (*KeyPair, error)
type RetryI ¶
type RetryOp ¶
type RetryOp struct {
	RetryI
	// contains filtered or unexported fields
}
    func (RetryOp) SetBackoff ¶
func (RetryOp) SetInterval ¶
func (RetryOp) SetRetries ¶
func (RetryOp) SetTimeout ¶
 Click to show internal directories. 
   Click to hide internal directories.