Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: MPL-2.0 Imports: 4 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 Sequence

type Sequence struct {

	// sequence
	// Required: true
	Sequence []string `json:"sequence"`
}

Sequence sequence swagger:model Sequence

func (*Sequence) MarshalBinary

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

MarshalBinary interface implementation

func (*Sequence) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Sequence) Validate

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

Validate validates this sequence

type SequenceRequest

type SequenceRequest struct {

	// n
	// Required: true
	N *int64 `json:"n"`
}

SequenceRequest sequence request swagger:model SequenceRequest

func (*SequenceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SequenceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SequenceRequest) Validate

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

Validate validates this sequence request

Jump to

Keyboard shortcuts

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