Documentation ¶
Index ¶
- func CheckLogin(ginContext *gin.Context)
- func DropSession(ginContext *gin.Context)
- func GenerateErrorResponse(textErr, codeErr string, errStatusCode int, ginContext *gin.Context)
- func GetSession(ginContext *gin.Context)
- func LogOut(ginContext *gin.Context)
- func Login(ginContext *gin.Context)
- func MetodOrPatchNotFound(ginContext *gin.Context)
- func NewRequest(SessionInfo *config.SessionInfo, body io.Reader, ginContext *gin.Context) (request1C *http.Request, err error)
- func OtherMetods(ginContext *gin.Context)
- func SendRequest(SessionInfo *config.SessionInfo, ginContext *gin.Context) (*http.Response, string, error)
- func UUIDIsValid(text string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateErrorResponse ¶
GenerateErrorResponse - error response generation procedure
func MetodOrPatchNotFound ¶
MetodOrPatchNotFound - stub for methods not described
func NewRequest ¶
func NewRequest(SessionInfo *config.SessionInfo, body io.Reader, ginContext *gin.Context) (request1C *http.Request, err error)
NewRequest - create new request
func OtherMetods ¶
OtherMetods - execution of the rest of any methods
func SendRequest ¶
func SendRequest(SessionInfo *config.SessionInfo, ginContext *gin.Context) (*http.Response, string, error)
SendRequest - send request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.