diff --git a/main.go b/main.go index d02e51e..77945cf 100644 --- a/main.go +++ b/main.go @@ -24,6 +24,12 @@ type AddUserRequest struct { Password string `json:"password"` } +// LoginRequest는 로그인 요청에 사용됩니다. +type LoginRequest struct { + Username string `json:"username"` + Password string `json:"password"` +} + // Config는 애플리케이션 설정을 나타냅니다. type Config struct { HtpasswdPath string `json:"htpasswdPath"`