mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-06-23 22:58:24 +08:00
21 lines
576 B
Go
21 lines
576 B
Go
package home
|
|
|
|
type authDispatchRequest struct {
|
|
Type string `json:"type"`
|
|
Model string `json:"model"`
|
|
Count int `json:"count"`
|
|
SessionID string `json:"session_id,omitempty"`
|
|
Headers map[string]string `json:"headers,omitempty"`
|
|
}
|
|
|
|
type modelsRequest struct {
|
|
Type string `json:"type"`
|
|
Headers map[string]string `json:"headers,omitempty"`
|
|
Query map[string]string `json:"query,omitempty"`
|
|
}
|
|
|
|
type refreshRequest struct {
|
|
Type string `json:"type"`
|
|
AuthIndex string `json:"auth_index"`
|
|
}
|