store

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name of the store service
	Name = "go.micro.store"
	// Address is the store address
	Address = ":8002"
	// Backend is the implementation of the store
	Backend = "memory"
	// Nodes is passed to the underlying backend
	Nodes = []string{"localhost"}
	// Database is passed to the underlying backend if set.
	Database = "micro"
	// Table is passed to the underlying backend if set.
	Table = "store"
)

Functions

func Commands

func Commands(options ...micro.Option) []*cli.Command

Commands is the cli interface for the store service

func Plugins

func Plugins() []plugin.Plugin

Plugins lists the store plugins

func Register

func Register(pl plugin.Plugin) error

Register registers an store plugin

func Run

func Run(ctx *cli.Context, srvOpts ...micro.Option)

run runs the micro server

Types

This section is empty.

Directories

Path Synopsis
Package cli implements the `micro store` subcommands for example: micro store snapshot micro store restore micro store sync
Package cli implements the `micro store` subcommands for example: micro store snapshot micro store restore micro store sync

Jump to

Keyboard shortcuts

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