Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c49fde3d15 | |||
| cc2ba15c37 | |||
| 86341c21e1 | |||
| bcc8de99db |
7
config/entity/setting.go
Normal file
7
config/entity/setting.go
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
package config
|
||||||
|
|
||||||
|
type Setting struct {
|
||||||
|
ID string `db:"id" json:"id"`
|
||||||
|
Name string `db:"name" json:"name"`
|
||||||
|
Value string `db:"value" json:"value"`
|
||||||
|
}
|
||||||
10
identity/dto/access.go
Normal file
10
identity/dto/access.go
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
package identity
|
||||||
|
|
||||||
|
type CheckAccessRequestDTO struct {
|
||||||
|
URL string `json:"url"`
|
||||||
|
Service string `json:"srv"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type CheckAccessResponseDTO struct {
|
||||||
|
Status string `json:"status"`
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user