MCPcopy Create free account

hub / github.com/Done-0/gin-scaffold / types & classes

Types & classes83 in github.com/Done-0/gin-scaffold

StructAIConfig
AIConfig AI service configuration
configs/configs.go:130
StructAppConfig
AppConfig application configuration
configs/configs.go:19
StructBase
Base contains common model fields
internal/model/base/base.go:18
StructCORSConfig
CORSConfig CORS cross-origin configuration
configs/configs.go:93
StructChatRequest
Request types
internal/ai/internal/types/types.go:7
StructChatResponse
Response types
internal/ai/internal/types/types.go:21
StructChatStreamResponse
Stream response types
internal/ai/internal/types/types.go:46
StructChoice
internal/ai/internal/types/types.go:32
StructCodeDefinition
CodeDefinition error code definition
internal/utils/errorx/internal/register.go:15
StructConfig
Config main configuration structure
configs/configs.go:136
InterfaceConsumer
Consumer defines the interface for Kafka message consumption
internal/queue/queue.go:22
StructConsumer
Consumer handles Kafka message consumption
internal/queue/internal/consumer.go:21
StructContainer
wire.go: Container holds all application dependencies
pkg/wire/wire_gen.go:58
StructContainer
Container holds all application dependencies
pkg/wire/wire.go:25
StructDatabaseConfig
DatabaseConfig database configuration
configs/configs.go:51
InterfaceDatabaseManager
DatabaseManager defines the interface for database management operations
internal/db/db.go:14
StructEmailConfig
EmailConfig email configuration
configs/configs.go:30
StructError
Error information
internal/utils/vo/vo_utils.go:20
FuncTypeHandler
func(ctx context.Context, ch chan<- *sse.Event)
internal/utils/sse/stream_handler_utils.go:15
InterfaceHandler
Handler defines the interface for message processing
internal/queue/queue.go:28
InterfaceHandler
Handler defines the interface for processing consumed messages
internal/queue/internal/consumer.go:16
InterfaceI18nManager
I18nManager defines the interface for i18n management
internal/i18n/i18n.go:13
TypeAliasJSONMap
JSONMap handles JSON type fields
internal/model/base/base.go:27
StructJWTConfig
JWTConfig JWT authentication configuration
configs/configs.go:37
StructKafkaConfig
KafkaConfig Kafka configuration
configs/configs.go:87
StructLogConfig
LogConfig logging configuration
configs/configs.go:62
InterfaceLoggerManager
LoggerManager defines the interface for logger management operations
internal/logger/logger.go:14
StructManager
Manager represents a logger manager with dependency injection
internal/logger/internal/manager.go:23
StructManager
Manager provides i18n functionality
internal/i18n/internal/manager.go:21
StructManager
Manager is the AI manager that provides unified entry point
internal/ai/internal/manager.go:21
StructManager
Manager represents a Redis manager with dependency injection
internal/redis/internal/manager.go:19
StructManager
internal/sse/internal/manager.go:15
StructManager
Manager represents a database manager with dependency injection
internal/db/internal/manager.go:23
StructMessage
Message represents a single message in a conversation
internal/utils/template/template_utils.go:14
StructMessage
internal/ai/internal/types/types.go:14
StructMessageDelta
internal/ai/internal/types/types.go:63
FuncTypeOption
Option configuration option
internal/utils/errorx/internal/status.go:121
InterfaceProducer
Producer defines the interface for Kafka message production
internal/queue/queue.go:16
StructProducer
Producer handles Kafka message production
internal/queue/internal/producer.go:16
StructPromptConfig
PromptConfig prompt template configuration
configs/configs.go:125
InterfacePrompter
internal/ai/internal/prompter/types.go:12
InterfaceProvider
Provider is the interface for AI providers
internal/ai/internal/provider/provider.go:13
StructProvider
Provider implements Google Gemini API provider
internal/ai/internal/provider/gemini/gemini.go:20
StructProvider
Provider implements DeepSeek API provider
internal/ai/internal/provider/deepseek/deepseek.go:23
StructProvider
Provider implements OpenAI-compatible API provider
internal/ai/internal/provider/openai/openai.go:26
StructProviderConfig
ProviderConfig generic provider configuration
configs/configs.go:103
StructProviderContext
ProviderContext represents the context for a selected provider instance
internal/ai/internal/selector/selector.go:20
StructProviderInstanceConfig
ProviderInstanceConfig individual provider instance configuration
configs/configs.go:109
StructRedisConfig
RedisConfig Redis configuration
configs/configs.go:72
InterfaceRedisManager
RedisManager defines the interface for Redis management operations
internal/redis/redis.go:14
FuncTypeRegisterOption
RegisterOption registration option function
internal/utils/errorx/internal/register.go:21
StructResult
Result common API response structure
internal/utils/vo/vo_utils.go:26
InterfaceSSEManager
SSEManager defines SSE operations
internal/sse/sse.go:15
StructSelector
Selector provides round-robin selection of AI providers
internal/ai/internal/selector/selector.go:35
InterfaceStackTracer
StackTracer stack trace interface
internal/utils/errorx/internal/stack.go:14
InterfaceStatusError
StatusError error interface with status code
internal/utils/errorx/error_utils.go:11
InterfaceStatusError
StatusError status error interface
internal/utils/errorx/internal/status.go:13
StructStreamChoice
internal/ai/internal/types/types.go:57
StructTemplate
internal/ai/internal/prompter/types.go:21
StructTestController
TestController test HTTP controller
pkg/serve/controller/test_controller.go:21
StructTestErrorResponse
TestErrorResponse error test response
pkg/vo/test_vo.go:39
StructTestHelloResponse
TestHelloResponse hello test response
pkg/vo/test_vo.go:13
StructTestI18nResponse
TestI18nResponse i18n test response
pkg/vo/test_vo.go:51
StructTestLoggerResponse
TestLoggerResponse logger test response
pkg/vo/test_vo.go:19
StructTestLongRequest
TestLongRequest long request test
pkg/serve/controller/dto/test_dto.go:14
StructTestLongResponse
TestLongResponse long request test response
pkg/vo/test_vo.go:45
StructTestPingResponse
TestPingResponse ping test response
pkg/vo/test_vo.go:7
StructTestRedisRequest
TestRedisRequest redis test request
pkg/serve/controller/dto/test_dto.go:7
StructTestRedisResponse
TestRedisResponse redis test response
pkg/vo/test_vo.go:25
InterfaceTestService
TestService test service interface
pkg/serve/service/test_service.go:15
StructTestServiceImpl
TestServiceImpl test service implementation
pkg/serve/service/impl/test_service_impl.go:26
StructTestStreamRequest
TestStreamRequest SSE 流式测试请求体
pkg/serve/controller/dto/test_dto.go:19
StructTestSuccessResponse
TestSuccessResponse success test response
pkg/vo/test_vo.go:33
StructUsage
internal/ai/internal/types/types.go:38
StructUser
User represents user model
internal/model/user/user.go:9
StructUserConfig
UserConfig user related configuration
configs/configs.go:44
StructValidErrRes
ValidErrRes validation error result struct
internal/utils/validator/validator_utils.go:9
Structprompter
internal/ai/internal/prompter/prompter.go:18
StructproviderInstance
providerInstance represents a provider instance with its name
internal/ai/internal/selector/selector.go:44
StructstatusError
statusError status error implementation
internal/utils/errorx/internal/status.go:19
StructwithMessage
withMessage error wrapper with message
internal/utils/errorx/internal/msg.go:11
StructwithStack
withStack error wrapper with stack information
internal/utils/errorx/internal/stack.go:19
StructwithStatus
withStatus error wrapper with status
internal/utils/errorx/internal/status.go:27