20 lines
717 B
Go
20 lines
717 B
Go
// Copyright (c) 2016 The btcsuite developers
|
|
// Copyright (c) 2015-2016 The Decred developers
|
|
// Use of this source code is governed by an ISC
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package btcjson
|
|
|
|
// VersionResult models objects included in the version response. In the actual
|
|
// result, these objects are keyed by the program or API name.
|
|
//
|
|
// NOTE: This is a btcsuite extension ported from
|
|
// github.com/decred/dcrd/dcrjson.
|
|
type VersionResult struct {
|
|
VersionString string `json:"versionstring"`
|
|
Major uint32 `json:"major"`
|
|
Minor uint32 `json:"minor"`
|
|
Patch uint32 `json:"patch"`
|
|
Prerelease string `json:"prerelease"`
|
|
BuildMetadata string `json:"buildmetadata"`
|
|
}
|