clientconfig

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConfig

type ClientConfig struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() (*ClientConfig, error)

func NewConfigWithOpts

func NewConfigWithOpts(optFns ...ConfigOptionFunc) (*ClientConfig, error)

func (ClientConfig) CommitmentPolicy

func (c ClientConfig) CommitmentPolicy() suite.CommitmentPolicy

func (ClientConfig) MaxEncryptedDataKeys

func (c ClientConfig) MaxEncryptedDataKeys() int

type ConfigOptionFunc

type ConfigOptionFunc func(o *ConfigOptions) error

func WithCommitmentPolicy

func WithCommitmentPolicy(policy suite.CommitmentPolicy) ConfigOptionFunc

func WithMaxEncryptedDataKeys

func WithMaxEncryptedDataKeys(maxEncryptedDataKeys int) ConfigOptionFunc

type ConfigOptions

type ConfigOptions struct {
	CommitmentPolicy     suite.CommitmentPolicy
	MaxEncryptedDataKeys int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL