Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrettyFormat string = "pretty" JSONFormat string = "json" )
Variables ¶
This section is empty.
Functions ¶
func GetSupportedFormats ¶ added in v1.8.1
func GetSupportedFormats() []string
Types ¶
type Formatter ¶ added in v1.8.1
type Formatter interface {
Format(info *VersionInfo) (string, error)
}
func NewFormatter ¶ added in v1.8.1
type RPCVersionInfo ¶ added in v1.8.1
type VersionInfo ¶ added in v1.8.1
type VersionInfo struct { HumanVersion string `json:"-"` Version string Revision string Prerelease string RPC RPCVersionInfo }
Click to show internal directories.
Click to hide internal directories.