icp

package module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MIT Imports: 12 Imported by: 1

README

icp

Check ICP status using WEST api.

Usage
Usage:
  icp [flags]

Flags:
  -c, --config string   Config File (default: $HOME/.env)
  -d, --domain string   Domain Name (required)
  -h, --help            help for icp
Example

icp -c /path/to/env -d domain.com

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigFile, Domain      string
	WestAccount, WestApiKey string
)

Functions

func Check

func Check() string

func ReadConf

func ReadConf()

Types

type West

type West struct {
	DomainName string `json:"domain"`
	ICPCode    string `json:"icp"`
	ICPStatus  string `json:"icpstatus"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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