test seven
This commit is contained in:
@ -53,6 +53,20 @@ func encodeCreateMaRequest(
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeCreateSevRequest(
|
||||
req *CreateSevReq,
|
||||
r *http.Request,
|
||||
) error {
|
||||
const contentType = "application/json"
|
||||
e := jx.GetEncoder()
|
||||
{
|
||||
req.Encode(e)
|
||||
}
|
||||
encoded := e.Bytes()
|
||||
ht.SetBody(r, bytes.NewReader(encoded), contentType)
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeCreateUeRequest(
|
||||
req *CreateUeReq,
|
||||
r *http.Request,
|
||||
@ -123,6 +137,20 @@ func encodeUpdateMaRequest(
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeUpdateSevRequest(
|
||||
req *UpdateSevReq,
|
||||
r *http.Request,
|
||||
) error {
|
||||
const contentType = "application/json"
|
||||
e := jx.GetEncoder()
|
||||
{
|
||||
req.Encode(e)
|
||||
}
|
||||
encoded := e.Bytes()
|
||||
ht.SetBody(r, bytes.NewReader(encoded), contentType)
|
||||
return nil
|
||||
}
|
||||
|
||||
func encodeUpdateUeRequest(
|
||||
req *UpdateUeReq,
|
||||
r *http.Request,
|
||||
|
Reference in New Issue
Block a user