[PD2] Relatorio inicio
Co-authored-by: tsousa111 <tiagao2001@hotmail.com>
This commit is contained in:
parent
6f8219d991
commit
b86992a10a
10 changed files with 192 additions and 289 deletions
|
@ -43,7 +43,6 @@ type (
|
|||
}
|
||||
|
||||
PostRegister struct {
|
||||
UID string `json:"uid"`
|
||||
Password string `json:"password"`
|
||||
Certificate []byte `json:"certificate"`
|
||||
}
|
||||
|
@ -85,9 +84,8 @@ func NewMsgInfo(num int, fromUID string, subject []byte, timestamp time.Time) Ms
|
|||
}
|
||||
}
|
||||
|
||||
func NewPostRegister(UID string, Password string, Certificate []byte) PostRegister {
|
||||
func NewPostRegister(Password string, Certificate []byte) PostRegister {
|
||||
return PostRegister{
|
||||
UID: UID,
|
||||
Password: Password,
|
||||
Certificate: Certificate,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue