mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-14 20:58:33 +10:00
Split credential_state.go (1500+ lines) into credential.go, credential_default.go, credential_provider.go, credential_builder.go. Split service.go (900+ lines) into service.go, service_handler.go, service_status.go. Rename credential.go to credential_oauth.go to avoid name conflict with the credential interface. Apply naming fixes: accessMutex→access, stateMutex→stateAccess, sessionMutex→sessionAccess, webSocketMutex→webSocketAccess, httpTransport()→httpClient(), httpClient field→forwardHTTPClient, weeklyWindowDuration→weeklyWindowHours.