Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseService ¶
type BaseService struct{}
BaseService provides common HTTP response utilities that can be embedded and specialized
func NewBaseService ¶
func NewBaseService() *BaseService
NewBaseService creates a new base response service
type ErrorDetail ¶
type ErrorDetail struct {
Message string `json:"message"`
Type string `json:"type"`
Code string `json:"code"`
}
ErrorDetail contains error information
type ErrorResponse ¶
type ErrorResponse struct {
Error ErrorDetail `json:"error"`
}
ErrorResponse represents a standard API error response
Click to show internal directories.
Click to hide internal directories.