Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidConfiguration = fmt.Errorf("invalid configuration")
Functions ¶
func DeriveSecret ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(conf *Configuration) (*Client, []*signerPair, error)
type Configuration ¶
type Configuration struct { Commitments []string `json:"commitments"` Signers []*signerPair `json:"signers"` }
func LoadConfigurationJSON ¶
func LoadConfigurationJSON(data string) (*Configuration, error)
Click to show internal directories.
Click to hide internal directories.