Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotConfigured = fmt.Errorf("tessera not configured")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
StoreRaw(ctx context.Context, payload []byte, privateFrom string) ([]byte, error)
}
Client is a client to Tessera Private Transaction Manager
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
HTTPClient is a tessera.Client that uses http
func NewHTTPClient ¶
func NewHTTPClient(c httpclient.Client) *HTTPClient
NewHTTPClient creates a new HTTPClient
type NotConfiguredClient ¶
type NotConfiguredClient struct{}
NotConfiguredClient is a Tessera Client that always return a tessera not configured error
type StoreRawRequest ¶
type StoreRawResponse ¶
type StoreRawResponse struct {
Key string `json:"key"`
}
Click to show internal directories.
Click to hide internal directories.