client

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature

type Feature interface {
	SupportStickyQuery() bool
}

Feature provides information about client's capibility

type FeatureImpl

type FeatureImpl struct {
	// contains filtered or unexported fields
}

FeatureImpl is used for determining the client's capibility. This can be useful when service support a feature, while client does not, so we can use be backward comparible

func NewFeatureImpl

func NewFeatureImpl(libVersion string, featureVersion string, lang string) *FeatureImpl

NewFeatureImpl make a new NewFeatureImpl libVersion and featureVersion, will be both of format MAJOR.MINOR.PATCH

func (*FeatureImpl) SupportStickyQuery

func (feature *FeatureImpl) SupportStickyQuery() bool

SupportStickyQuery whether a client support sticky query

Jump to

Keyboard shortcuts

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