message

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	ServerName   string `json:"serverName"`
	InstanceName string `json:"instanceName"`
}

type Message

type Message struct {
	Value  int
	Values []Quota
}

func (Message) MarshalJSON

func (m Message) MarshalJSON() ([]byte, error)

type Package

type Package struct {
	Header
	ResourceMap string `json:"resourceMapJsonStr"`

	Extra string `json:"extra"`
}

type Quota

type Quota struct {
	Name  string
	Value int
}

func (Quota) MarshalJSON

func (q Quota) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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