first commit

This commit is contained in:
hayato5246
2026-03-31 19:32:59 +09:00
commit d10b794c9f
78 changed files with 1671595 additions and 0 deletions

13
models/token.go Normal file
View File

@@ -0,0 +1,13 @@
package models
import "time"
// TokenResponse 키움증권 토큰 발급 응답
type TokenResponse struct {
Token string `json:"token"` // 액세스 토큰
TokenType string `json:"token_type"` // "bearer"
ExpiresAt string `json:"expires_dt"` // 만료 일시 (YYYYMMDDHHmmss)
ReturnCode int `json:"return_code"`
ReturnMsg string `json:"return_msg"`
ExpiresTime time.Time `json:"-"` // 파싱된 만료 시각
}