homi

command
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

homi is a command line interface which helps to create configuration files for a new network homi supports various options for different deployment modes, number of nodes, etc.

Source Files

Each file contains the following contents

  • main.go : Runs the application as an entry point

Directories

Path Synopsis
common package provides utility functions to generate random keys and random directory Source Files Each file contains following contents - utils.go : Provides utility functions to generate a random directory and random keys
common package provides utility functions to generate random keys and random directory Source Files Each file contains following contents - utils.go : Provides utility functions to generate a random directory and random keys
docker package contains service packages which are to be used to create a docker-compose.yml with given options docker support is enabled by default when using `setup` command and can be set explicitly by giving `docker` as a type argument
docker package contains service packages which are to be used to create a docker-compose.yml with given options docker support is enabled by default when using `setup` command and can be set explicitly by giving `docker` as a type argument
compose
compose package provides homi object which is to be used to create a docker-compose.yml Source Files Each file contains following contents - homi.go : Provides `Homi` and creates an assembled docker-compose.yml
compose package provides homi object which is to be used to create a docker-compose.yml Source Files Each file contains following contents - homi.go : Provides `Homi` and creates an assembled docker-compose.yml
service
service package provides various templates to build a docker-compose.yml Source Files Each file contains following contents - constellation.go : Deprecated.
service package provides various templates to build a docker-compose.yml Source Files Each file contains following contents - constellation.go : Deprecated.
extra defines options for homi's extra command It supports encoding and decoding of extra data in genesis.json file Source Files Each file contains following contents - cmd.go : Defines encode and decode functions for extra data - decoder.go : Provides a decoder for extra data - encoder.go : Provides an encoder for extra data - flags.go : Defines command line options for extra command
extra defines options for homi's extra command It supports encoding and decoding of extra data in genesis.json file Source Files Each file contains following contents - cmd.go : Defines encode and decode functions for extra data - decoder.go : Provides a decoder for extra data - encoder.go : Provides an encoder for extra data - flags.go : Defines command line options for extra command
genesis package provides utility functions to generate new genesis file to init a chain Source Files Each file contains following contents - genesis.go : Provides functions to make a new genesis object - options.go : Provides utility functions to generate each part in a genesis file such as a list of validators
genesis package provides utility functions to generate new genesis file to init a chain Source Files Each file contains following contents - genesis.go : Provides functions to make a new genesis object - options.go : Provides utility functions to generate each part in a genesis file such as a list of validators
setup package generates config files following the given deployment options.
setup package generates config files following the given deployment options.

Jump to

Keyboard shortcuts

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