Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoOpOptionImpl ¶
type NoOpOptionImpl struct{}
NoOpOptionImpl implements the RPCOption, SignOption, VerifyOption interfaces as no-ops.
func (NoOpOptionImpl) ApplyContext ¶
func (NoOpOptionImpl) ApplyContext(ctx *context.Context)
func (NoOpOptionImpl) ApplyCryptoSignerOpts ¶
func (NoOpOptionImpl) ApplyCryptoSignerOpts(opts *crypto.SignerOpts)
func (NoOpOptionImpl) ApplyDigest ¶
func (NoOpOptionImpl) ApplyDigest(digest *[]byte)
func (NoOpOptionImpl) ApplyRand ¶
func (NoOpOptionImpl) ApplyRand(rand *io.Reader)
func (NoOpOptionImpl) ApplyRemoteVerification ¶
func (NoOpOptionImpl) ApplyRemoteVerification(remoteVerification *bool)
type RequestContext ¶
type RequestContext struct { NoOpOptionImpl // contains filtered or unexported fields }
func WithContext ¶
func WithContext(ctx context.Context) RequestContext
func (RequestContext) ApplyContext ¶
func (r RequestContext) ApplyContext(ctx *context.Context)
type RequestCryptoSignerOpts ¶
type RequestCryptoSignerOpts struct { NoOpOptionImpl // contains filtered or unexported fields }
func WithCryptoSignerOpts ¶
func WithCryptoSignerOpts(opts crypto.SignerOpts) RequestCryptoSignerOpts
func (RequestCryptoSignerOpts) ApplyCryptoSignerOpts ¶
func (r RequestCryptoSignerOpts) ApplyCryptoSignerOpts(opts *crypto.SignerOpts)
type RequestDigest ¶
type RequestDigest struct { NoOpOptionImpl // contains filtered or unexported fields }
func WithDigest ¶
func WithDigest(digest []byte) RequestDigest
func (RequestDigest) ApplyDigest ¶
func (r RequestDigest) ApplyDigest(digest *[]byte)
type RequestRand ¶
type RequestRand struct { NoOpOptionImpl // contains filtered or unexported fields }
func WithRand ¶
func WithRand(rand io.Reader) RequestRand
func (RequestRand) ApplyRand ¶
func (r RequestRand) ApplyRand(rand *io.Reader)
type RequestRemoteVerification ¶
type RequestRemoteVerification struct { NoOpOptionImpl // contains filtered or unexported fields }
func WithRemoteVerification ¶
func WithRemoteVerification(remoteVerification bool) RequestRemoteVerification
func (RequestRemoteVerification) ApplyRemoteVerification ¶
func (r RequestRemoteVerification) ApplyRemoteVerification(remoteVerification *bool)
Click to show internal directories.
Click to hide internal directories.