Documentation ¶
Overview ¶
Code generated by vktl/cmd/tlgen2; DO NOT EDIT.
Index ¶
- type CasesTestUnion
- func (item *CasesTestUnion) As1() (*CasesTestUnion1, bool)
- func (item *CasesTestUnion) As2() (*CasesTestUnion2, bool)
- func (item *CasesTestUnion) FillRandom(rg *basictl.RandGenerator)
- func (item *CasesTestUnion) Is1() bool
- func (item *CasesTestUnion) Is2() bool
- func (item *CasesTestUnion) MarshalJSON() ([]byte, error)
- func (item *CasesTestUnion) ReadBoxed(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
- func (item *CasesTestUnion) Reset()
- func (item *CasesTestUnion) ResetTo1() *CasesTestUnion1
- func (item *CasesTestUnion) ResetTo2() *CasesTestUnion2
- func (item *CasesTestUnion) Set1(value CasesTestUnion1)
- func (item *CasesTestUnion) Set2(value CasesTestUnion2)
- func (item CasesTestUnion) String() string
- func (item CasesTestUnion) TLName() string
- func (item CasesTestUnion) TLTag() uint32
- func (item *CasesTestUnion) UnmarshalJSON(b []byte) error
- func (item *CasesTestUnion) WriteBoxed(w []byte) []byte
- func (item *CasesTestUnion) WriteBoxedGeneral(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion) WriteJSON(w []byte) []byte
- func (item *CasesTestUnion) WriteJSONGeneral(w []byte) ([]byte, error)
- func (item *CasesTestUnion) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte
- type CasesTestUnion1
- func (item CasesTestUnion1) AsUnion() CasesTestUnion
- func (item *CasesTestUnion1) FillRandom(rg *basictl.RandGenerator)
- func (item *CasesTestUnion1) MarshalJSON() ([]byte, error)
- func (item *CasesTestUnion1) Read(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion1) ReadBoxed(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion1) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
- func (item *CasesTestUnion1) Reset()
- func (item CasesTestUnion1) String() string
- func (CasesTestUnion1) TLName() string
- func (CasesTestUnion1) TLTag() uint32
- func (item *CasesTestUnion1) UnmarshalJSON(b []byte) error
- func (item *CasesTestUnion1) Write(w []byte) []byte
- func (item *CasesTestUnion1) WriteBoxed(w []byte) []byte
- func (item *CasesTestUnion1) WriteBoxedGeneral(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion1) WriteGeneral(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion1) WriteJSON(w []byte) []byte
- func (item *CasesTestUnion1) WriteJSONGeneral(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion1) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte
- type CasesTestUnion2
- func (item CasesTestUnion2) AsUnion() CasesTestUnion
- func (item *CasesTestUnion2) FillRandom(rg *basictl.RandGenerator)
- func (item *CasesTestUnion2) MarshalJSON() ([]byte, error)
- func (item *CasesTestUnion2) Read(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion2) ReadBoxed(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion2) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
- func (item *CasesTestUnion2) Reset()
- func (item CasesTestUnion2) String() string
- func (CasesTestUnion2) TLName() string
- func (CasesTestUnion2) TLTag() uint32
- func (item *CasesTestUnion2) UnmarshalJSON(b []byte) error
- func (item *CasesTestUnion2) Write(w []byte) []byte
- func (item *CasesTestUnion2) WriteBoxed(w []byte) []byte
- func (item *CasesTestUnion2) WriteBoxedGeneral(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion2) WriteGeneral(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion2) WriteJSON(w []byte) []byte
- func (item *CasesTestUnion2) WriteJSONGeneral(w []byte) (_ []byte, err error)
- func (item *CasesTestUnion2) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CasesTestUnion ¶
type CasesTestUnion struct {
// contains filtered or unexported fields
}
func (*CasesTestUnion) As1 ¶
func (item *CasesTestUnion) As1() (*CasesTestUnion1, bool)
func (*CasesTestUnion) As2 ¶
func (item *CasesTestUnion) As2() (*CasesTestUnion2, bool)
func (*CasesTestUnion) FillRandom ¶
func (item *CasesTestUnion) FillRandom(rg *basictl.RandGenerator)
func (*CasesTestUnion) Is1 ¶
func (item *CasesTestUnion) Is1() bool
func (*CasesTestUnion) Is2 ¶
func (item *CasesTestUnion) Is2() bool
func (*CasesTestUnion) MarshalJSON ¶
func (item *CasesTestUnion) MarshalJSON() ([]byte, error)
func (*CasesTestUnion) ReadBoxed ¶
func (item *CasesTestUnion) ReadBoxed(w []byte) (_ []byte, err error)
func (*CasesTestUnion) ReadJSON ¶
func (item *CasesTestUnion) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
func (*CasesTestUnion) Reset ¶
func (item *CasesTestUnion) Reset()
func (*CasesTestUnion) ResetTo1 ¶
func (item *CasesTestUnion) ResetTo1() *CasesTestUnion1
func (*CasesTestUnion) ResetTo2 ¶
func (item *CasesTestUnion) ResetTo2() *CasesTestUnion2
func (*CasesTestUnion) Set1 ¶
func (item *CasesTestUnion) Set1(value CasesTestUnion1)
func (*CasesTestUnion) Set2 ¶
func (item *CasesTestUnion) Set2(value CasesTestUnion2)
func (CasesTestUnion) String ¶
func (item CasesTestUnion) String() string
func (CasesTestUnion) TLName ¶
func (item CasesTestUnion) TLName() string
func (CasesTestUnion) TLTag ¶
func (item CasesTestUnion) TLTag() uint32
func (*CasesTestUnion) UnmarshalJSON ¶
func (item *CasesTestUnion) UnmarshalJSON(b []byte) error
func (*CasesTestUnion) WriteBoxed ¶
func (item *CasesTestUnion) WriteBoxed(w []byte) []byte
func (*CasesTestUnion) WriteBoxedGeneral ¶
func (item *CasesTestUnion) WriteBoxedGeneral(w []byte) (_ []byte, err error)
This method is general version of WriteBoxed, use it instead!
func (*CasesTestUnion) WriteJSON ¶
func (item *CasesTestUnion) WriteJSON(w []byte) []byte
func (*CasesTestUnion) WriteJSONGeneral ¶
func (item *CasesTestUnion) WriteJSONGeneral(w []byte) ([]byte, error)
This method is general version of WriteJSON, use it instead!
func (*CasesTestUnion) WriteJSONOpt ¶
func (item *CasesTestUnion) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte
type CasesTestUnion1 ¶
type CasesTestUnion1 struct {
Value int32
}
func (CasesTestUnion1) AsUnion ¶
func (item CasesTestUnion1) AsUnion() CasesTestUnion
func (*CasesTestUnion1) FillRandom ¶
func (item *CasesTestUnion1) FillRandom(rg *basictl.RandGenerator)
func (*CasesTestUnion1) MarshalJSON ¶
func (item *CasesTestUnion1) MarshalJSON() ([]byte, error)
func (*CasesTestUnion1) ReadBoxed ¶
func (item *CasesTestUnion1) ReadBoxed(w []byte) (_ []byte, err error)
func (*CasesTestUnion1) ReadJSON ¶
func (item *CasesTestUnion1) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
func (*CasesTestUnion1) Reset ¶
func (item *CasesTestUnion1) Reset()
func (CasesTestUnion1) String ¶
func (item CasesTestUnion1) String() string
func (CasesTestUnion1) TLName ¶
func (CasesTestUnion1) TLName() string
func (CasesTestUnion1) TLTag ¶
func (CasesTestUnion1) TLTag() uint32
func (*CasesTestUnion1) UnmarshalJSON ¶
func (item *CasesTestUnion1) UnmarshalJSON(b []byte) error
func (*CasesTestUnion1) Write ¶
func (item *CasesTestUnion1) Write(w []byte) []byte
func (*CasesTestUnion1) WriteBoxed ¶
func (item *CasesTestUnion1) WriteBoxed(w []byte) []byte
func (*CasesTestUnion1) WriteBoxedGeneral ¶
func (item *CasesTestUnion1) WriteBoxedGeneral(w []byte) (_ []byte, err error)
This method is general version of WriteBoxed, use it instead!
func (*CasesTestUnion1) WriteGeneral ¶
func (item *CasesTestUnion1) WriteGeneral(w []byte) (_ []byte, err error)
This method is general version of Write, use it instead!
func (*CasesTestUnion1) WriteJSON ¶
func (item *CasesTestUnion1) WriteJSON(w []byte) []byte
func (*CasesTestUnion1) WriteJSONGeneral ¶
func (item *CasesTestUnion1) WriteJSONGeneral(w []byte) (_ []byte, err error)
This method is general version of WriteJSON, use it instead!
func (*CasesTestUnion1) WriteJSONOpt ¶
func (item *CasesTestUnion1) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte
type CasesTestUnion2 ¶
type CasesTestUnion2 struct {
Value string
}
func (CasesTestUnion2) AsUnion ¶
func (item CasesTestUnion2) AsUnion() CasesTestUnion
func (*CasesTestUnion2) FillRandom ¶
func (item *CasesTestUnion2) FillRandom(rg *basictl.RandGenerator)
func (*CasesTestUnion2) MarshalJSON ¶
func (item *CasesTestUnion2) MarshalJSON() ([]byte, error)
func (*CasesTestUnion2) ReadBoxed ¶
func (item *CasesTestUnion2) ReadBoxed(w []byte) (_ []byte, err error)
func (*CasesTestUnion2) ReadJSON ¶
func (item *CasesTestUnion2) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
func (*CasesTestUnion2) Reset ¶
func (item *CasesTestUnion2) Reset()
func (CasesTestUnion2) String ¶
func (item CasesTestUnion2) String() string
func (CasesTestUnion2) TLName ¶
func (CasesTestUnion2) TLName() string
func (CasesTestUnion2) TLTag ¶
func (CasesTestUnion2) TLTag() uint32
func (*CasesTestUnion2) UnmarshalJSON ¶
func (item *CasesTestUnion2) UnmarshalJSON(b []byte) error
func (*CasesTestUnion2) Write ¶
func (item *CasesTestUnion2) Write(w []byte) []byte
func (*CasesTestUnion2) WriteBoxed ¶
func (item *CasesTestUnion2) WriteBoxed(w []byte) []byte
func (*CasesTestUnion2) WriteBoxedGeneral ¶
func (item *CasesTestUnion2) WriteBoxedGeneral(w []byte) (_ []byte, err error)
This method is general version of WriteBoxed, use it instead!
func (*CasesTestUnion2) WriteGeneral ¶
func (item *CasesTestUnion2) WriteGeneral(w []byte) (_ []byte, err error)
This method is general version of Write, use it instead!
func (*CasesTestUnion2) WriteJSON ¶
func (item *CasesTestUnion2) WriteJSON(w []byte) []byte
func (*CasesTestUnion2) WriteJSONGeneral ¶
func (item *CasesTestUnion2) WriteJSONGeneral(w []byte) (_ []byte, err error)
This method is general version of WriteJSON, use it instead!
func (*CasesTestUnion2) WriteJSONOpt ¶
func (item *CasesTestUnion2) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte
Click to show internal directories.
Click to hide internal directories.