follow

package
v0.0.0-...-6f76647 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: BSD-3-Clause Imports: 9 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, logger *slog.Logger) error

func RunWithFlagSet

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

func RunWithOptions

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

Types

type RunOptions

type RunOptions struct {
	ServerURI            string
	Hostname             string
	AccountsDatabaseURI  string
	FollowingDatabaseURI string
	MessagesDatabaseURI  string
	AccountName          string
	FollowAddress        string
	Undo                 bool
	URIs                 *uris.URIs
	Verbose              bool
}

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