two

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 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 Language

type Language int32
const (
	Language_UNKNOWN Language = 0
	Language_ENGLISH Language = 1
	Language_SPANISH Language = 3
	Language_FRENCH  Language = 4
	Language_GERMAN  Language = 5
)

type Language2

type Language2 int32
const (
	Language2_UNKNOWN2 Language2 = 0
	Language2_ENGLISH2 Language2 = 1
	Language2_SPANISH2 Language2 = 3
	Language2_FRENCH2  Language2 = 4
	Language2_GERMAN2  Language2 = 5
)

type Message

type Message struct {
	Int32 int32 `json:"int32,omitempty"`
}

func (*Message) Decode

func (m *Message) Decode(c *picobuf.Decoder)

func (*Message) Encode

func (m *Message) Encode(c *picobuf.Encoder) bool

type Message2

type Message2 struct {
	Int32 int32 `json:"int32,omitempty"`
}

func (*Message2) Decode

func (m *Message2) Decode(c *picobuf.Decoder)

func (*Message2) Encode

func (m *Message2) Encode(c *picobuf.Encoder) bool

type Nop

type Nop struct {
}

func (*Nop) Decode

func (m *Nop) Decode(c *picobuf.Decoder)

func (*Nop) Encode

func (m *Nop) Encode(c *picobuf.Encoder) bool

type Types

type Types struct {
	Int32     int32             `json:"int32,omitempty"`
	Int64     int64             `json:"int64,omitempty"`
	Uint32    uint32            `json:"uint32,omitempty"`
	Uint64    uint64            `json:"uint64,omitempty"`
	Sint32    int32             `json:"sint32,omitempty"`
	Sint64    int64             `json:"sint64,omitempty"`
	Fixed32   uint32            `json:"fixed32,omitempty"`
	Fixed64   uint64            `json:"fixed64,omitempty"`
	Sfixed32  int32             `json:"sfixed32,omitempty"`
	Sfixed64  int64             `json:"sfixed64,omitempty"`
	Float     float32           `json:"float,omitempty"`
	Double    float64           `json:"double,omitempty"`
	Bool      bool              `json:"bool,omitempty"`
	String_   string            `json:"string,omitempty"`
	Bytes     []byte            `json:"bytes,omitempty"`
	Message   *Message          `json:"message,omitempty"`
	Language  Language          `json:"language,omitempty"`
	Int32S    []int32           `json:"int32s,omitempty"`
	Int64S    []int64           `json:"int64s,omitempty"`
	Uint32S   []uint32          `json:"uint32s,omitempty"`
	Uint64S   []uint64          `json:"uint64s,omitempty"`
	Sint32S   []int32           `json:"sint32s,omitempty"`
	Sint64S   []int64           `json:"sint64s,omitempty"`
	Fixed32S  []uint32          `json:"fixed32s,omitempty"`
	Fixed64S  []uint64          `json:"fixed64s,omitempty"`
	Sfixed32S []int32           `json:"sfixed32s,omitempty"`
	Sfixed64S []int64           `json:"sfixed64s,omitempty"`
	Floats    []float32         `json:"floats,omitempty"`
	Doubles   []float64         `json:"doubles,omitempty"`
	Bools     []bool            `json:"bools,omitempty"`
	Strings   []string          `json:"strings,omitempty"`
	Bytess    [][]byte          `json:"bytess,omitempty"`
	Messages  []*Message        `json:"messages,omitempty"`
	Languages []Language        `json:"languages,omitempty"`
	Values    map[string]string `json:"values,omitempty"`
}

func (*Types) Decode

func (m *Types) Decode(c *picobuf.Decoder)

func (*Types) Encode

func (m *Types) Encode(c *picobuf.Encoder) bool

type Types2

type Types2 struct {
	Int32     int32             `json:"int32,omitempty"`
	Int64     int64             `json:"int64,omitempty"`
	Uint32    uint32            `json:"uint32,omitempty"`
	Uint64    uint64            `json:"uint64,omitempty"`
	Sint32    int32             `json:"sint32,omitempty"`
	Sint64    int64             `json:"sint64,omitempty"`
	Fixed32   uint32            `json:"fixed32,omitempty"`
	Fixed64   uint64            `json:"fixed64,omitempty"`
	Sfixed32  int32             `json:"sfixed32,omitempty"`
	Sfixed64  int64             `json:"sfixed64,omitempty"`
	Float     float32           `json:"float,omitempty"`
	Double    float64           `json:"double,omitempty"`
	Bool      bool              `json:"bool,omitempty"`
	String_   string            `json:"string,omitempty"`
	Bytes     []byte            `json:"bytes,omitempty"`
	Message   *Message2         `json:"message,omitempty"`
	Language  Language2         `json:"language,omitempty"`
	Int32S    []int32           `json:"int32s,omitempty"`
	Int64S    []int64           `json:"int64s,omitempty"`
	Uint32S   []uint32          `json:"uint32s,omitempty"`
	Uint64S   []uint64          `json:"uint64s,omitempty"`
	Sint32S   []int32           `json:"sint32s,omitempty"`
	Sint64S   []int64           `json:"sint64s,omitempty"`
	Fixed32S  []uint32          `json:"fixed32s,omitempty"`
	Fixed64S  []uint64          `json:"fixed64s,omitempty"`
	Sfixed32S []int32           `json:"sfixed32s,omitempty"`
	Sfixed64S []int64           `json:"sfixed64s,omitempty"`
	Floats    []float32         `json:"floats,omitempty"`
	Doubles   []float64         `json:"doubles,omitempty"`
	Bools     []bool            `json:"bools,omitempty"`
	Strings   []string          `json:"strings,omitempty"`
	Bytess    [][]byte          `json:"bytess,omitempty"`
	Messages  []*Message2       `json:"messages,omitempty"`
	Languages []Language2       `json:"languages,omitempty"`
	Values    map[string]string `json:"values,omitempty"`
}

func (*Types2) Decode

func (m *Types2) Decode(c *picobuf.Decoder)

func (*Types2) Encode

func (m *Types2) Encode(c *picobuf.Encoder) bool

Jump to

Keyboard shortcuts

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