cmd

package
v0.0.0-...-6f241f3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App = grumble.New(&grumble.Config{
	Name:                  "MetaTOC",
	Description:           "MetaTOC is an open source project under the data acquisition and model based on edge computing, and it is the best practice for data decentralized authentication and tracking with blockchain violas.",
	Prompt:                "MetaTOC » ",
	PromptColor:           color.New(color.FgGreen, color.Bold),
	HelpHeadlineColor:     color.New(color.FgGreen),
	HelpHeadlineUnderline: true,
	HelpSubCommands:       true,
})

Functions

This section is empty.

Types

type Create

type Create struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type Detail

type Detail struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Data    struct {
		Data string `json:"data"`
	} `json:"data"`
}

type List

type List struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Data    struct {
		Paths []string `json:"paths"`
	} `json:"data"`
}

type Share

type Share struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

type Signup

type Signup struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Data    struct {
		Address    string `json:"address"`
		PrivateKey string `json:"private_key"`
	} `json:"data"`
}

Jump to

Keyboard shortcuts

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