wip modem/tests

This commit is contained in:
2025-06-10 16:23:01 +02:00
parent ecf5fb46a0
commit 49a4642db2
10 changed files with 207 additions and 57 deletions

View File

@ -0,0 +1,12 @@
package model
// type : null, pap_chap, pap, chap
// if type selected, username and password are mandatory
type ModemAuthentication struct {
Authentication struct {
Apn string `json:"apn"`
Type string `json:"type,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
} `json:"authentication"`
}