cmd

package
v5.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: BSD-2-Clause, BSD-2-Clause Imports: 64 Imported by: 0

Documentation

Overview

callbacks.go implements all of the required api callbacks for the cli

Package cmd initializes the CLI and config parsers as well as the logger.

Package cmd initializes the CLI and config parsers as well as the logger.

Package cmd initializes the CLI and config parsers as well as the logger.

Package cmd initializes the CLI and config parsers as well as the logger.

precan.go handles functions for precan users, which are not usable unless you are on a localized test network.

Package cmd initializes the CLI and config parsers as well as the logger.

Package cmd initializes the CLI and config parsers as well as the logger.

Package cmd initializes the CLI and config parsers as well as the logger.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ReadLines

func ReadLines(fileName string) []string

ReadLines returns each line in a file as a string.

func Version

func Version() string

Types

type Receiver

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

func (*Receiver) Callback

func (r *Receiver) Callback(req *single.Request, ephID receptionID.EphemeralIdentity,
	round []rounds.Round)

type Response

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

func (*Response) Callback

func (r *Response) Callback(payload []byte, receptionID receptionID.EphemeralIdentity,
	round []rounds.Round, err error)

Jump to

Keyboard shortcuts

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