core

package
v0.0.0-...-b006faa Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	Host    string
	Port    string
	Verbose string
}

func (*Core) PrintData

func (c *Core) PrintData(mess string, e bool, data interface{}) ReturnMessage

func (*Core) PrintMessage

func (c *Core) PrintMessage(mess string, e bool) ReturnMessage

type ReturnMessage

type ReturnMessage struct {
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
	Error   bool        `json:"error"`
}

Jump to

Keyboard shortcuts

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