ramcli

package
v0.0.18-rc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package ramcli Real-time Asset Monitor command line cli

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServiceAndInstanceNames

func GetServiceAndInstanceNames(instanceFolderRelativePath string) (serviceName, instanceName string)

GetServiceAndInstanceNames split the instance folder relative path to extract 1) serviceName 2) instanceName

func GetVersions

func GetVersions() (goVersion, ramVersion string)

GetVersions look for a go.mod in the curent path, returns Go and RAM versions, crashes execution on errors

func Initialize

func Initialize(ctx context.Context, global *Global)

Initialize is to be executed in the init()

func RAMCli

func RAMCli(global *Global) (err error)

RAMCli Real-time Asset Monitor cli

Types

type Global

type Global struct {
	// contains filtered or unexported fields
}

Global structure for global variables

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL