nodecmd

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package nodecmd contains the entrypoint for webmesh nodes.

Package nodecmd contains the entrypoint for webmesh nodes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

func GenMarkdownDoc added in v0.0.25

func GenMarkdownDoc(title string, weight int, outfile string) error

Types

type Options

type Options struct {
	Global *global.Options `yaml:"global,omitempty" json:"global,omitempty" toml:"global,omitempty"`

	Mesh     *mesh.Options     `yaml:",inline" json:",inline" toml:",inline"`
	Services *services.Options `yaml:"services,omitempty" json:"services,omitempty" toml:"services,omitempty"`
}

Options are the node options.

func NewOptions

func NewOptions() *Options

NewOptions creates new options.

func (*Options) BindFlags

func (o *Options) BindFlags(fs *flag.FlagSet) *Options

BindFlags binds the flags. The options are returned for convenience.

func (*Options) Marshal

func (o *Options) Marshal() ([]byte, error)

Marshal returns the marshaled options.

func (*Options) MarshalTo

func (o *Options) MarshalTo(w io.Writer) error

Directories

Path Synopsis
Package global provides global configurations that can override others.
Package global provides global configurations that can override others.

Jump to

Keyboard shortcuts

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