models

package
v0.0.0-...-52558d3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 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 Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

Error error

swagger:model error

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Stat

type Stat struct {

	// hit
	Hit int64 `json:"hit,omitempty"`

	// int1
	Int1 int64 `json:"int1,omitempty"`

	// int2
	Int2 int64 `json:"int2,omitempty"`

	// limit
	Limit int64 `json:"limit,omitempty"`

	// str1
	Str1 string `json:"str1,omitempty"`

	// str2
	Str2 string `json:"str2,omitempty"`
}

Stat stat

swagger:model stat

func (*Stat) MarshalBinary

func (m *Stat) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Stat) UnmarshalBinary

func (m *Stat) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Stat) Validate

func (m *Stat) Validate(formats strfmt.Registry) error

Validate validates this stat

Jump to

Keyboard shortcuts

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