upgrade

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 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 *statetracker.ProtocolVersionResponse) error

Jump to

Keyboard shortcuts

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