version

package
v1.11.0 Latest Latest
Warning

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

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

Documentation

Overview

Package version provides build- and run-time version information of the driver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersionJSON

func GetVersionJSON() (string, error)

GetVersionJSON returns JSON string representation of `VersionInfo`.

Types

type VersionInfo

type VersionInfo struct {
	DriverVersion string `json:"driverVersion"`
	GitCommit     string `json:"gitCommit"`
	BuildDate     string `json:"buildDate"`
	GoVersion     string `json:"goVersion"`
	Compiler      string `json:"compiler"`
	Platform      string `json:"platform"`
}

A VersionInfo represents build- and run-time version information of the driver.

func GetVersion

func GetVersion() VersionInfo

GetVersion returns a `VersionInfo`.

Jump to

Keyboard shortcuts

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