Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var (
// ColferSizeMax is the upper limit for serial byte sizes.
ColferSizeMax = 16 * 1024 * 1024
)
Colfer configuration attributes
Functions ¶
This section is empty.
Types ¶
type Puzzle ¶
func (*Puzzle) MarshalBinary ¶
MarshalBinary encodes o as Colfer conform encoding.BinaryMarshaler. The error return option is models.ColferMax.
func (*Puzzle) MarshalLen ¶
MarshalLen returns the Colfer serial byte size. The error return option is models.ColferMax.
func (*Puzzle) MarshalTo ¶
MarshalTo encodes o as Colfer into buf and returns the number of bytes written. If the buffer is too small, MarshalTo will panic.
func (*Puzzle) Unmarshal ¶
Unmarshal decodes data as Colfer and returns the number of bytes read. The error return options are io.EOF, models.ColferError and models.ColferMax.
func (*Puzzle) UnmarshalBinary ¶
UnmarshalBinary decodes data as Colfer conform encoding.BinaryUnmarshaler. The error return options are io.EOF, models.ColferError, models.ColferTail and models.ColferMax.
type Quotes ¶
type Quotes []Quote
easyjson:json
func (Quotes) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Quotes) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Quotes) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Quotes) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type QuotesWork ¶
type Request ¶
type Request struct {
ID uint64
}
Course is the grounds where the game of golf is played.
func (*Request) MarshalBinary ¶
MarshalBinary encodes o as Colfer conform encoding.BinaryMarshaler. The error return option is models.ColferMax.
func (*Request) MarshalLen ¶
MarshalLen returns the Colfer serial byte size. The error return option is models.ColferMax.
func (*Request) MarshalTo ¶
MarshalTo encodes o as Colfer into buf and returns the number of bytes written. If the buffer is too small, MarshalTo will panic.
func (*Request) Unmarshal ¶
Unmarshal decodes data as Colfer and returns the number of bytes read. The error return options are io.EOF, models.ColferError and models.ColferMax.
func (*Request) UnmarshalBinary ¶
UnmarshalBinary decodes data as Colfer conform encoding.BinaryUnmarshaler. The error return options are io.EOF, models.ColferError, models.ColferTail and models.ColferMax.
type Result ¶
type Result struct {
Ok bool
}
func (*Result) MarshalBinary ¶
MarshalBinary encodes o as Colfer conform encoding.BinaryMarshaler. The error return option is models.ColferMax.
func (*Result) MarshalLen ¶
MarshalLen returns the Colfer serial byte size. The error return option is models.ColferMax.
func (*Result) MarshalTo ¶
MarshalTo encodes o as Colfer into buf and returns the number of bytes written. If the buffer is too small, MarshalTo will panic.
func (*Result) Unmarshal ¶
Unmarshal decodes data as Colfer and returns the number of bytes read. The error return options are io.EOF, models.ColferError and models.ColferMax.
func (*Result) UnmarshalBinary ¶
UnmarshalBinary decodes data as Colfer conform encoding.BinaryUnmarshaler. The error return options are io.EOF, models.ColferError, models.ColferTail and models.ColferMax.
type Solve ¶
type Solve struct {
Y0 uint64
}
func (*Solve) MarshalBinary ¶
MarshalBinary encodes o as Colfer conform encoding.BinaryMarshaler. The error return option is models.ColferMax.
func (*Solve) MarshalLen ¶
MarshalLen returns the Colfer serial byte size. The error return option is models.ColferMax.
func (*Solve) MarshalTo ¶
MarshalTo encodes o as Colfer into buf and returns the number of bytes written. If the buffer is too small, MarshalTo will panic.
func (*Solve) Unmarshal ¶
Unmarshal decodes data as Colfer and returns the number of bytes read. The error return options are io.EOF, models.ColferError and models.ColferMax.
func (*Solve) UnmarshalBinary ¶
UnmarshalBinary decodes data as Colfer conform encoding.BinaryUnmarshaler. The error return options are io.EOF, models.ColferError, models.ColferTail and models.ColferMax.
type Textquote ¶
type Textquote struct {
Text string
}
func (*Textquote) MarshalBinary ¶
MarshalBinary encodes o as Colfer conform encoding.BinaryMarshaler. The error return option is models.ColferMax.
func (*Textquote) MarshalLen ¶
MarshalLen returns the Colfer serial byte size. The error return option is models.ColferMax.
func (*Textquote) MarshalTo ¶
MarshalTo encodes o as Colfer into buf and returns the number of bytes written. If the buffer is too small, MarshalTo will panic.
func (*Textquote) Unmarshal ¶
Unmarshal decodes data as Colfer and returns the number of bytes read. The error return options are io.EOF, models.ColferError and models.ColferMax.
func (*Textquote) UnmarshalBinary ¶
UnmarshalBinary decodes data as Colfer conform encoding.BinaryUnmarshaler. The error return options are io.EOF, models.ColferError, models.ColferTail and models.ColferMax.