Documentation ¶
Index ¶
Constants ¶
View Source
const ( //error messages SCHEMA_NOT_FOUND = "schema_not_found" // validation errors APP_NAME_REQUIRED = "App Name required" MODULE_NAME_REQUIRED = "Module Name required" VERSION_NAME_REQUIRED = "Version is required" INVALID_VERSION = "invalid version" DESCRIPTION_TIMED_OUT = "description get timed out" DESCRIPTION_GET_FAILED = "description get failed" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetSchemaListResponse ¶
type GetSchemaListResponse struct { App string `json:"app"` Module string `json:"module"` Ver int `json:"ver"` Description string `json:"description"` }
getSchemaResponse represents the structure for outgoing responses.
type GetSchemaRequest ¶
type GetSchemaRequest struct { App string `form:"app" validate:"required"` Module string `form:"module" validate:"required"` Version int `form:"ver" validate:"required"` }
GetSchemaRequest represents the structure for incoming requests.
Click to show internal directories.
Click to hide internal directories.