Documentation
¶
Overview ¶
Code generated by vktl/cmd/tlgen2; DO NOT EDIT.
Index ¶
- type MyInt
- func (item MyInt) AsUnion() MyValue
- func (item *MyInt) MarshalJSON() ([]byte, error)
- func (item *MyInt) Read(w []byte) (_ []byte, err error)
- func (item *MyInt) ReadBoxed(w []byte) (_ []byte, err error)
- func (item *MyInt) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
- func (item *MyInt) Reset()
- func (item MyInt) String() string
- func (MyInt) TLName() string
- func (MyInt) TLTag() uint32
- func (item *MyInt) UnmarshalJSON(b []byte) error
- func (item *MyInt) Write(w []byte) []byte
- func (item *MyInt) WriteBoxed(w []byte) []byte
- func (item *MyInt) WriteBoxedGeneral(w []byte) (_ []byte, err error)
- func (item *MyInt) WriteGeneral(w []byte) (_ []byte, err error)
- func (item *MyInt) WriteJSON(w []byte) []byte
- func (item *MyInt) WriteJSONGeneral(w []byte) (_ []byte, err error)
- func (item *MyInt) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte
- type MyString
- func (item MyString) AsUnion() MyValue
- func (item *MyString) MarshalJSON() ([]byte, error)
- func (item *MyString) Read(w []byte) (_ []byte, err error)
- func (item *MyString) ReadBoxed(w []byte) (_ []byte, err error)
- func (item *MyString) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
- func (item *MyString) Reset()
- func (item MyString) String() string
- func (MyString) TLName() string
- func (MyString) TLTag() uint32
- func (item *MyString) UnmarshalJSON(b []byte) error
- func (item *MyString) Write(w []byte) []byte
- func (item *MyString) WriteBoxed(w []byte) []byte
- func (item *MyString) WriteBoxedGeneral(w []byte) (_ []byte, err error)
- func (item *MyString) WriteGeneral(w []byte) (_ []byte, err error)
- func (item *MyString) WriteJSON(w []byte) []byte
- func (item *MyString) WriteJSONGeneral(w []byte) (_ []byte, err error)
- func (item *MyString) WriteJSONOpt(newTypeNames bool, short bool, w []byte) []byte
- type MyValue
- func (item *MyValue) AsMyInt() (*MyInt, bool)
- func (item *MyValue) AsMyString() (*MyString, bool)
- func (item *MyValue) IsMyInt() bool
- func (item *MyValue) IsMyString() bool
- func (item *MyValue) MarshalJSON() ([]byte, error)
- func (item *MyValue) ReadBoxed(w []byte) (_ []byte, err error)
- func (item *MyValue) ReadJSON(legacyTypeNames bool, in *basictl.JsonLexer) error
- func (item *MyValue) Reset()
- func (item *MyValue) ResetToMyInt() *MyInt
- func (item *MyValue) ResetToMyString() *MyString
- func (item *MyValue) SetMyInt(value MyInt)
- func (item *MyValue) SetMyString(value MyString)
- func (item MyValue) String() string
- func (item MyValue) TLName() string
- func (item MyValue) TLTag() uint32
- func (item *MyValue) UnmarshalJSON(b []byte) error
- func (item *MyValue) WriteBoxed(w []byte) []byte
- func (item *MyValue) WriteBoxedGeneral(w []byte) (_ []byte, err error)
- func (item *MyValue) WriteJSON(w []byte) []byte
- func (item *MyValue) WriteJSONGeneral(w []byte) ([]byte, error)
- func (item *MyValue) 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 MyInt ¶
type MyInt struct {
Val1 int32
}
func (*MyInt) MarshalJSON ¶
func (*MyInt) UnmarshalJSON ¶
func (*MyInt) WriteBoxed ¶
func (*MyInt) WriteBoxedGeneral ¶
This method is general version of WriteBoxed, use it instead!
func (*MyInt) WriteGeneral ¶
This method is general version of Write, use it instead!
func (*MyInt) WriteJSONGeneral ¶
This method is general version of WriteJSON, use it instead!
type MyString ¶
type MyString struct {
Val2 string
}
func (*MyString) MarshalJSON ¶
func (*MyString) UnmarshalJSON ¶
func (*MyString) WriteBoxed ¶
func (*MyString) WriteBoxedGeneral ¶
This method is general version of WriteBoxed, use it instead!
func (*MyString) WriteGeneral ¶
This method is general version of Write, use it instead!
func (*MyString) WriteJSONGeneral ¶
This method is general version of WriteJSON, use it instead!
type MyValue ¶
type MyValue struct {
// contains filtered or unexported fields
}
func (*MyValue) AsMyString ¶
func (*MyValue) IsMyString ¶
func (*MyValue) MarshalJSON ¶
func (*MyValue) ResetToMyInt ¶
func (*MyValue) ResetToMyString ¶
func (*MyValue) SetMyString ¶
func (*MyValue) UnmarshalJSON ¶
func (*MyValue) WriteBoxed ¶
func (*MyValue) WriteBoxedGeneral ¶
This method is general version of WriteBoxed, use it instead!
func (*MyValue) WriteJSONGeneral ¶
This method is general version of WriteJSON, use it instead!
Click to show internal directories.
Click to hide internal directories.