add

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFlagSet

func DefaultFlagSet() *flag.FlagSet

func Run

func Run(ctx context.Context) error

func RunWithFlagSet

func RunWithFlagSet(ctx context.Context, fs *flag.FlagSet) error

func RunWithOptions

func RunWithOptions(ctx context.Context, opts *RunOptions) error

Types

type RunOptions

type RunOptions struct {
	AccountsDatabaseURI   string
	AliasesDatabaseURI    string
	PropertiesDatabaseURI string
	AccountId             int64
	AccountName           string
	Aliases               []string
	AccountType           string
	Discoverable          bool
	DisplayName           string
	Blurb                 string
	URL                   string
	PublicKeyURI          string
	PrivateKeyURI         string
	AccountIconURI        string
	AllowRemoteIconURI    bool
	EmbedIconURI          bool
	Properties            map[string]string
}

func OptionsFromFlagSet

func OptionsFromFlagSet(ctx context.Context, fs *flag.FlagSet) (*RunOptions, error)

Jump to

Keyboard shortcuts

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