Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package client provides a client for the ceremony service.

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 is used by contributors to connect to the coordinator and contribute to the ceremony.

func New

func New(host string, port string) (*Client, error)

New creates a new Client for the trusted ceremony.

The client immediately connects to the given host and port.

On success, a Client object is returned. On failure, an error is returned.

func (*Client) Contribute

func (c *Client) Contribute() error

Contribute contributes to the ceremony.

On success, nil is returned. On failure, an error is returned.

Jump to

Keyboard shortcuts

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