Documentation ¶
Overview ¶
Package structcup provides various structs to be imported in your projects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResponse ¶
type AuthResponse struct { Message string `json:"message"` User map[string]interface{} `json:"user"` }
AuthResponse represents the response from an authentication operation. It includes a message and user information.
type ErrorResponse ¶
ErrorResponse represents a standard error response from the application. It includes an error code and a message.
type GoogleLogEntry ¶
type GoogleLogEntry struct { Message string `json:"message"` Trace string `json:"logging.googleapis.com/trace,omitempty"` Component string `json:"component,omitempty"` }
GoogleLogEntry represents a log entry for Google's logging service. It includes a message, trace, and component information.
type Pool ¶
type Pool struct { WorkerChan chan Worker // Responsible for concurrency limiting WaitGroup sync.WaitGroup // Responsible for synchronization of multiple workers }
Pool represents a worker pool. It includes a channel of workers for concurrency limiting, and a WaitGroup for synchronizing multiple workers.
type ResponseData ¶
ResponseData represents a standard response from the application. It includes a message and an ID.