Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct {
Status int `json:"status"`
Message string `json:"message"`
Data interface{} `json:"data"`
Resp *Status `json:"resp,omitempty"`
Error error `json:"error,omitempty"`
Site string
}
func NewResponse ¶ added in v1.0.34
type Status ¶
type Status int
const ( InternalServerError Status = iota DBQueryError DBExecutionError DBRowsError DBScanError LastRowIdError SuccessfulCreation SuccessfulSearch SuccessfulDeletion SuccessfulUpdate CreationFailure BadRequest Unknown ErrorMappingData NothingToDelete NotFound Conflict RequestEntityTooLarge UnsupportedMediaType NoResults DBInitError DBRowsAffectedError DecodeError BuilderResponseError NoContent NoRowsAffected UpdateFailure FormatInvalid LineHasReferences ItemIsInterested NameInUse NumberAndVersionAlreadyExists BudgetInUse AmountNotNull BusinessClosedOrLost ActiveStageInBusiness ActivePipelineInBusiness DontHaveLineAndPipeline DontHaveLine DontHavePipeline DontHaveAccountOwner AnotherEditionIsActive FirstCreateASchedule Authorized AccreditationInUse ContactDataAlreadyExists ContactDataDoesntExist EmailAlreadyExists DoesntMatch UserDoesntExist Found NothingToUpdate EmailDoesntExist SuccessfulLogin InvalidNameFormat InvalidLastNameFormat InvalidEmailFormat ErrorGeneratingUuid WrongType GRPCClientsError GRPCServerError NoBudgetProperties NoProfileProperties NoBusinessProperties NoEditableCounterpartProps WrongProperties WrongTypeOfProperties WithoutCondition OnePropertyByStage PermissionDenied BusinessNotInProgress )
LOS STATUS DEBEN MANTENER SU ORDEN. LOS NUEVOS DEBEN SER AGREGADOS AL FINAL
Click to show internal directories.
Click to hide internal directories.