Documentation ¶
Index ¶
Constants ¶
View Source
const AdminPort = "19002"
View Source
const HOST = "http://localhost:"
View Source
const HostDebug = "http://localhost:8001"
View Source
const PublicPort = "19102"
View Source
const TestAdminRPCUrl = "/admin-api/rpc"
View Source
const TestRPCUrl = HOST + AdminPort + TestAdminRPCUrl
View Source
const TestRPCUrlPublic = HOST + PublicPort + "/api/rpc"
Variables ¶
View Source
var MigrationDaemons [insolar.GenesisAmountMigrationDaemonMembers]*User
Functions ¶
func DumpMetricsEnabled ¶ added in v0.9.3
func DumpMetricsEnabled() bool
LogRotateEnabled checks is log rotation enabled by environment variable.
func FetchAndSaveMetrics ¶ added in v0.9.3
FetchAndSaveMetrics fetches all nodes metric endpoints and saves result to files in logs/metrics/$iteration/<node-addr>.txt files.
func GetNodesCount ¶
func LogRotateEnabled ¶ added in v0.9.1
func LogRotateEnabled() bool
LogRotateEnabled checks is log rotation enabled by environment variable.
func RotateLogs ¶ added in v0.9.1
func RotateLogs(verbose bool)
RotateLogs rotates launchnet logs, verbose flag enables printing what happens.
Types ¶
Click to show internal directories.
Click to hide internal directories.