Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestMessage ¶
type RequestMessage struct { RequestId uuid.UUID `bson:"request_id,omitempty"` SocketMsgType int `bson:"socket_msg_type,omitempty"` Token string `bson:"token,omitempty"` Body []byte `bson:"body,omitempty"` Status int `bson:"status,omitempty"` Header http.Header `bson:"header,omitempty"` Cookie []*http.Cookie `bson:"cookie,omitempty"` }
type ResponseMessage ¶
type ResponseMessage struct { Status int `bson:"status,omitempty"` SocketMsgType int `bson:"socket_msg_type,omitempty"` ID uuid.UUID `bson:"id,omitempty"` Method string `bson:"method,omitempty"` URL string `bson:"url,omitempty"` Body []byte `bson:"body,omitempty"` Header http.Header `bson:"header,omitempty"` Cookie []*http.Cookie `bson:"cookie,omitempty"` }
Click to show internal directories.
Click to hide internal directories.