Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEngine ¶
func CreateEngine(controller func() config.MotionController) *gin.Engine
Types ¶
type SignUpTestDto ¶
type SignUpTestDto struct { Name string `json:"name"` Roles []sqlDomain.RoleEnum `json:"roles"` // contains filtered or unexported fields }
func PerformRequest ¶
func PerformRequest(r http.Handler, method, path, role, loggedUserToken string, body io.Reader) (*httptest.ResponseRecorder, SignUpTestDto)
Click to show internal directories.
Click to hide internal directories.