version

package
v2.0.0-...-83f77b2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package version defines SFTPGo version details

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFeature

func AddFeature(feature string)

AddFeature adds a feature description

func GetAsString

func GetAsString() string

GetAsString returns the string representation of the version

Types

type Info

type Info struct {
	Version    string   `json:"version"`
	BuildDate  string   `json:"build_date"`
	CommitHash string   `json:"commit_hash"`
	Features   []string `json:"features"`
}

Info defines version details

func Get

func Get() Info

Get returns the Info struct

Jump to

Keyboard shortcuts

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