You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
401 B
19 lines
401 B
2 months ago
|
package model
|
||
|
|
||
|
type WebSocketV1AuthenticationRequest struct {
|
||
|
Op string `json:"op"`
|
||
|
AccessKeyId string
|
||
|
SignatureMethod string
|
||
|
SignatureVersion string
|
||
|
Timestamp string
|
||
|
Signature string
|
||
|
}
|
||
|
|
||
|
func (p *WebSocketV1AuthenticationRequest) Init() *WebSocketV1AuthenticationRequest {
|
||
|
p.Op = "auth"
|
||
|
p.SignatureMethod = "HmacSHA256"
|
||
|
p.SignatureVersion = "2"
|
||
|
|
||
|
return p
|
||
|
}
|