Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitMessage ¶
type InitMessage struct {
Address string `json:"address"`
}
func (InitMessage) MarshalEasyJSON ¶
func (v InitMessage) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (InitMessage) MarshalJSON ¶
func (v InitMessage) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*InitMessage) UnmarshalEasyJSON ¶
func (v *InitMessage) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*InitMessage) UnmarshalJSON ¶
func (v *InitMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type InitReply ¶
type InitReply struct { Challenge string `json:"challenge"` Signature string `json:"signature"` Error string `json:"error"` }
func (InitReply) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (InitReply) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*InitReply) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*InitReply) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Message ¶
type Message struct { Address string `json:"address"` Init struct { Challenge string `json:"challenge"` Signature string `json:"signature"` } `json:"init"` Signature string `json:"signature"` }
func (Message) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Message) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Message) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Message) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type Response ¶
func (Response) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Response) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Response) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Response) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface