New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/protocolone/go-micro-plugins/wrapper/select/version

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/protocolone/go-micro-plugins/wrapper/select/version

  • v0.0.0-20210201075650-b057e5c5b0a4
  • Source
  • Go
  • Socket score

Version published
Created
Source

Version Wrapper

The version wrapper is a stateful client wrapper which gives you a ability to select only services with specified version or with fallback version.

That suitable for easy upgrade running services without downtime.

Usage

Pass in the wrapper when you create your service

wrapper := version.NewClientWrapper("v1.0.1", "latest")

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

FAQs

Package last updated on 01 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc