model

package
v0.0.0-...-5528672 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Type    string `json:"type"`
	Port    string `json:"port"`
	Address string `json:"address"`
}

Cluster type

func (*Cluster) ConvertToJSON

func (c *Cluster) ConvertToJSON() (string, error)

ConvertToJSON convert object to json

func (*Cluster) LoadFromJSON

func (c *Cluster) LoadFromJSON(data []byte) error

LoadFromJSON update object from json

Jump to

Keyboard shortcuts

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