upgrade

package
v4.2.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasVersionMismatch

func HasVersionMismatch(incoming string, current string) bool

if incoming >(Bigger then and not equal) current return true, otherwise return false

Types

type ProtocolVersion

type ProtocolVersion struct {
	ConsumerVersion string
	ProviderVersion string
}

func GetCurrentVersion

func GetCurrentVersion() ProtocolVersion

func (*ProtocolVersion) ValidateProtocolVersion

func (pv *ProtocolVersion) ValidateProtocolVersion(incoming *updaters.ProtocolVersionResponse) error

Jump to

Keyboard shortcuts

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