ion

package
v0.0.0-...-55a0270 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IonClient

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

IonClient allows posting ION DIDDoc operations to a public ION node

func NewIonClient

func NewIonClient(client *http.Client) IonClient

NewIonClient creates a new IonClient with the provided http.Client

func (IonClient) PostOperation

func (client IonClient) PostOperation(ctx context.Context, op []byte) ([]byte, error)

PostOperation sends a serialized operation to the ION node

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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