version

package module
v4.0.0-...-6e18eb5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

Version Wrapper

The version wrapper is a stateful client wrapper which gives you a ability to select only latest version services. That suitable for easy upgrade running services without downtime.

Usage

Pass in the wrapper when you create your service

wrapper := version.NewClientWrapper()

service := micro.NewService(
	micro.Name("foo"),
	micro.WrapClient(wrapper),
)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientWrapper

func NewClientWrapper() client.Wrapper

NewClientWrapper is a wrapper which selects only latest versions of services

Types

This section is empty.

Jump to

Keyboard shortcuts

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