Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // application's name Name = "ci123chain" // server binary name ServerName = "<cid>" // clients binary name ClientName = "<cicli>" // application's version string Version = "1.0.0-beta" // commit Commit = "" // build tags BuildTags = "" )
View Source
var ( // VersionCmd prints out the current sdk version VersionCmd = &cobra.Command{ Use: "version", Short: "Print the app version", Run: printVersion, } )
Functions ¶
Types ¶
type Info ¶
type Info struct { Name string `json: "name" yaml:"name"` ServerName string `json:"server_name" yaml:"server_name"` ClientName string `json:"client_name" yaml:"client_name"` Version string `json:"version" yaml:"version"` GitCommit string `json:"commit" yaml:"commit"` BuildTags string `json:"build_tags" yaml:"build_tags"` GoVersion string `json:"go" yaml:"go"` }
Click to show internal directories.
Click to hide internal directories.