store

package
v0.0.0-...-302cdf8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cli

type Cli struct {
	Run  Run  `cmd:"" default:""`
	Init Init `cmd:""`
}

type Init

type Init struct {
	Log  cli.LogOptions  `embed:""`
	Nats cli.NatsOptions `embed:""`
}

func (*Init) Run

func (i *Init) Run() error

type Run

type Run struct {
	Log  cli.LogOptions  `embed:""`
	Nats cli.NatsOptions `embed:""`

	ListenAddr  string `short:"l" env:"LISTEN_ADDR" default:"localhost:5000"`
	MetricsAddr string `short:"m" env:"METRICS_ADDR" default:"localhost:5050"`
}

func (*Run) Run

func (r *Run) Run() error

Jump to

Keyboard shortcuts

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