Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Done-0/gin-scaffold
/ types & classes
Types & classes
83 in github.com/Done-0/gin-scaffold
⨍
Functions
229
◇
Types & classes
83
Struct
AIConfig
AIConfig AI service configuration
configs/configs.go:130
Struct
AppConfig
AppConfig application configuration
configs/configs.go:19
Struct
Base
Base contains common model fields
internal/model/base/base.go:18
Struct
CORSConfig
CORSConfig CORS cross-origin configuration
configs/configs.go:93
Struct
ChatRequest
Request types
internal/ai/internal/types/types.go:7
Struct
ChatResponse
Response types
internal/ai/internal/types/types.go:21
Struct
ChatStreamResponse
Stream response types
internal/ai/internal/types/types.go:46
Struct
Choice
internal/ai/internal/types/types.go:32
Struct
CodeDefinition
CodeDefinition error code definition
internal/utils/errorx/internal/register.go:15
Struct
Config
Config main configuration structure
configs/configs.go:136
Interface
Consumer
Consumer defines the interface for Kafka message consumption
internal/queue/queue.go:22
Struct
Consumer
Consumer handles Kafka message consumption
internal/queue/internal/consumer.go:21
Struct
Container
wire.go: Container holds all application dependencies
pkg/wire/wire_gen.go:58
Struct
Container
Container holds all application dependencies
pkg/wire/wire.go:25
Struct
DatabaseConfig
DatabaseConfig database configuration
configs/configs.go:51
Interface
DatabaseManager
DatabaseManager defines the interface for database management operations
internal/db/db.go:14
Struct
EmailConfig
EmailConfig email configuration
configs/configs.go:30
Struct
Error
Error information
internal/utils/vo/vo_utils.go:20
FuncType
Handler
func(ctx context.Context, ch chan<- *sse.Event)
internal/utils/sse/stream_handler_utils.go:15
Interface
Handler
Handler defines the interface for message processing
internal/queue/queue.go:28
Interface
Handler
Handler defines the interface for processing consumed messages
internal/queue/internal/consumer.go:16
Interface
I18nManager
I18nManager defines the interface for i18n management
internal/i18n/i18n.go:13
TypeAlias
JSONMap
JSONMap handles JSON type fields
internal/model/base/base.go:27
Struct
JWTConfig
JWTConfig JWT authentication configuration
configs/configs.go:37
Struct
KafkaConfig
KafkaConfig Kafka configuration
configs/configs.go:87
Struct
LogConfig
LogConfig logging configuration
configs/configs.go:62
Interface
LoggerManager
LoggerManager defines the interface for logger management operations
internal/logger/logger.go:14
Struct
Manager
Manager represents a logger manager with dependency injection
internal/logger/internal/manager.go:23
Struct
Manager
Manager provides i18n functionality
internal/i18n/internal/manager.go:21
Struct
Manager
Manager is the AI manager that provides unified entry point
internal/ai/internal/manager.go:21
Struct
Manager
Manager represents a Redis manager with dependency injection
internal/redis/internal/manager.go:19
Struct
Manager
internal/sse/internal/manager.go:15
Struct
Manager
Manager represents a database manager with dependency injection
internal/db/internal/manager.go:23
Struct
Message
Message represents a single message in a conversation
internal/utils/template/template_utils.go:14
Struct
Message
internal/ai/internal/types/types.go:14
Struct
MessageDelta
internal/ai/internal/types/types.go:63
FuncType
Option
Option configuration option
internal/utils/errorx/internal/status.go:121
Interface
Producer
Producer defines the interface for Kafka message production
internal/queue/queue.go:16
Struct
Producer
Producer handles Kafka message production
internal/queue/internal/producer.go:16
Struct
PromptConfig
PromptConfig prompt template configuration
configs/configs.go:125
Interface
Prompter
internal/ai/internal/prompter/types.go:12
Interface
Provider
Provider is the interface for AI providers
internal/ai/internal/provider/provider.go:13
Struct
Provider
Provider implements Google Gemini API provider
internal/ai/internal/provider/gemini/gemini.go:20
Struct
Provider
Provider implements DeepSeek API provider
internal/ai/internal/provider/deepseek/deepseek.go:23
Struct
Provider
Provider implements OpenAI-compatible API provider
internal/ai/internal/provider/openai/openai.go:26
Struct
ProviderConfig
ProviderConfig generic provider configuration
configs/configs.go:103
Struct
ProviderContext
ProviderContext represents the context for a selected provider instance
internal/ai/internal/selector/selector.go:20
Struct
ProviderInstanceConfig
ProviderInstanceConfig individual provider instance configuration
configs/configs.go:109
Struct
RedisConfig
RedisConfig Redis configuration
configs/configs.go:72
Interface
RedisManager
RedisManager defines the interface for Redis management operations
internal/redis/redis.go:14
FuncType
RegisterOption
RegisterOption registration option function
internal/utils/errorx/internal/register.go:21
Struct
Result
Result common API response structure
internal/utils/vo/vo_utils.go:26
Interface
SSEManager
SSEManager defines SSE operations
internal/sse/sse.go:15
Struct
Selector
Selector provides round-robin selection of AI providers
internal/ai/internal/selector/selector.go:35
Interface
StackTracer
StackTracer stack trace interface
internal/utils/errorx/internal/stack.go:14
Interface
StatusError
StatusError error interface with status code
internal/utils/errorx/error_utils.go:11
Interface
StatusError
StatusError status error interface
internal/utils/errorx/internal/status.go:13
Struct
StreamChoice
internal/ai/internal/types/types.go:57
Struct
Template
internal/ai/internal/prompter/types.go:21
Struct
TestController
TestController test HTTP controller
pkg/serve/controller/test_controller.go:21
Struct
TestErrorResponse
TestErrorResponse error test response
pkg/vo/test_vo.go:39
Struct
TestHelloResponse
TestHelloResponse hello test response
pkg/vo/test_vo.go:13
Struct
TestI18nResponse
TestI18nResponse i18n test response
pkg/vo/test_vo.go:51
Struct
TestLoggerResponse
TestLoggerResponse logger test response
pkg/vo/test_vo.go:19
Struct
TestLongRequest
TestLongRequest long request test
pkg/serve/controller/dto/test_dto.go:14
Struct
TestLongResponse
TestLongResponse long request test response
pkg/vo/test_vo.go:45
Struct
TestPingResponse
TestPingResponse ping test response
pkg/vo/test_vo.go:7
Struct
TestRedisRequest
TestRedisRequest redis test request
pkg/serve/controller/dto/test_dto.go:7
Struct
TestRedisResponse
TestRedisResponse redis test response
pkg/vo/test_vo.go:25
Interface
TestService
TestService test service interface
pkg/serve/service/test_service.go:15
Struct
TestServiceImpl
TestServiceImpl test service implementation
pkg/serve/service/impl/test_service_impl.go:26
Struct
TestStreamRequest
TestStreamRequest SSE 流式测试请求体
pkg/serve/controller/dto/test_dto.go:19
Struct
TestSuccessResponse
TestSuccessResponse success test response
pkg/vo/test_vo.go:33
Struct
Usage
internal/ai/internal/types/types.go:38
Struct
User
User represents user model
internal/model/user/user.go:9
Struct
UserConfig
UserConfig user related configuration
configs/configs.go:44
Struct
ValidErrRes
ValidErrRes validation error result struct
internal/utils/validator/validator_utils.go:9
Struct
prompter
internal/ai/internal/prompter/prompter.go:18
Struct
providerInstance
providerInstance represents a provider instance with its name
internal/ai/internal/selector/selector.go:44
Struct
statusError
statusError status error implementation
internal/utils/errorx/internal/status.go:19
Struct
withMessage
withMessage error wrapper with message
internal/utils/errorx/internal/msg.go:11
Struct
withStack
withStack error wrapper with stack information
internal/utils/errorx/internal/stack.go:19
Struct
withStatus
withStatus error wrapper with status
internal/utils/errorx/internal/status.go:27