cmd

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(semVar, commit, time string)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Store added in v0.9.3

type Store interface {
	Serve(ctx context.Context) error
	io.Closer

	Create(ctx context.Context, c *string) (*string, error)
	Get(ctx context.Context, id string) (string, error)
	Filter(ctx context.Context, filterReq string, opts ...io.Closer) ([]*string, error)
}

Store example interface

Jump to

Keyboard shortcuts

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