themis

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents a Themis client

func NewClient

func NewClient(cfg *types.ThemisConfig) (*Client, error)

NewClient returns a new Client instance

func (*Client) UploadData

func (c *Client) UploadData(username string, data *sign.SignatureData) error

UploadData uploads the given data using the Themis APIs hosted at the provided host, after signing the data using the given private key

Jump to

Keyboard shortcuts

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