Documentation ¶
Index ¶
Constants ¶
View Source
const ( OnlineIcon = "🟢" OnlineStatus = "ONLINE" OfflineIcon = "🔴" OfflineStatus = "OFFLINE" )
Variables ¶
View Source
var Command = &command.Command{ Cmd: &cobra.Command{ Use: "status", Short: "Display the status of the Flow network", }, Flags: &statusFlags, Run: func( cmd *cobra.Command, args []string, globalFlags command.GlobalFlags, services *services.Services, ) (command.Result, error) { accessNode, err := services.Status.Ping(globalFlags.Network) return &Result{ network: globalFlags.Network, accessNode: accessNode, err: err, }, nil }, }
Functions ¶
This section is empty.
Types ¶
type FlagsStatus ¶
type FlagsStatus struct { }
Click to show internal directories.
Click to hide internal directories.