MCPcopy Create free account

hub / github.com/designapis/farmstall / functions

Functions81 in github.com/designapis/farmstall

↓ 20 callersMethodAddReview
(r Review)
reviews/reviews.go:50
↓ 12 callersFunctionErrorResponse
(prob *problems.ProblemJson)
server.go:364
↓ 12 callersFunctionNewReviews
()
reviews/reviews.go:33
↓ 11 callersMethodAddUser
(nu NewUser)
users/users.go:88
↓ 9 callersMethodError
()
problems/problems.go:16
↓ 8 callersFunctionNewUsers
()
users/users.go:156
↓ 8 callersFunctionwriteJson
(status int, msg interface{})
server.go:372
↓ 5 callersFunctionNotFound
(pj ProblemJson)
problems/problems.go:20
↓ 4 callersMethodAdd
(uuid string, pwd string)
passwords/passwords.go:28
↓ 4 callersMethodCreateToken
(ul UserLogin, tokenOverride string)
users/users.go:45
↓ 4 callersFunctionFailedToParseJson
(pj ProblemJson)
problems/problems.go:60
↓ 4 callersMethodGet
(uuid string)
passwords/passwords.go:46
↓ 4 callersMethodGetReviews
()
reviews/reviews.go:79
↓ 4 callersFunctionNewPasswordStore
()
passwords/passwords.go:21
↓ 4 callersMethodVerify
(uuid string, plainPwd string)
passwords/passwords.go:54
↓ 3 callersMethodGetReview
(id string)
reviews/reviews.go:57
↓ 3 callersMethodGetReviewsFiltered
(filters ReviewFilters)
reviews/reviews.go:87
↓ 3 callersFunctionOpenapi
(force MIME_TYPE_SIMPLE)
openapi/openapi.go:24
↓ 3 callersMethodUpdateReview
(reviewId string, r Review)
reviews/reviews.go:38
↓ 2 callersMethodDeleteReview
(id string)
reviews/reviews.go:69
↓ 2 callersMethodError
()
passwords/passwords.go:11
↓ 2 callersMethodGetUserByUsername
(username string)
users/users.go:70
↓ 2 callersMethodGetUsers
()
users/users.go:135
↓ 2 callersFunctionInvalidCreds
(pj ProblemJson)
problems/problems.go:30
↓ 2 callersMethodServeHTTP
ServeHTTP inspects the URL path to locate a file within the static dir on the SPA handler. If a file is found, it will be served. If not, the file loc
spa/spa.go:24
↓ 2 callersFunctionregisterValidSW
(swUrl, config)
site/src/serviceWorker.js:57
↓ 1 callersFunctionAbsolutify
(pj *ProblemJson, probBase string, apiBase string)
problems/problems.go:90
↓ 1 callersFunctionCreateAlreadyExists
(pj ProblemJson)
problems/problems.go:80
↓ 1 callersMethodGetUser
(id string)
users/users.go:111
↓ 1 callersFunctionInvalidBody
(pj ProblemJson)
problems/problems.go:50
↓ 1 callersFunctionInvalidRequest
(pj ProblemJson)
problems/problems.go:40
↓ 1 callersFunctionNewReviewJSON
(r Review)
reviews/reviews.go:106
↓ 1 callersFunctionRandomString
(length int)
users/users.go:179
↓ 1 callersFunctionRandomStringWithCharset
(length int, charset string)
users/users.go:171
↓ 1 callersFunctionUpdateNonExisting
(pj ProblemJson)
problems/problems.go:70
↓ 1 callersMethodUserFromToken
(token string)
users/users.go:143
↓ 1 callersMethodaddReview
()
server.go:297
↓ 1 callersMethodaddUser
()
server.go:249
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl, config)
site/src/serviceWorker.js:101
↓ 1 callersMethodcreateToken
()
server.go:270
↓ 1 callersMethoddeleteReview
()
server.go:233
↓ 1 callersMethodgetReview
()
server.go:347
↓ 1 callersMethodgetReviews
()
server.go:327
↓ 1 callersMethodhealth
()
server.go:201
↓ 1 callersMethodinitDummyData
()
server.go:118
↓ 1 callersMethodtoObj
()
reviews/reviews.go:113
↓ 1 callersMethodupdateReview
()
server.go:207
MethodDeleteUser
(id string)
users/users.go:124
MethodMarshalJSON
()
utils/utils.go:10
MethodMarshalJSON
()
reviews/reviews.go:119
FunctionTestAddAndCompareBadPassword
(t *testing.T)
passwords/passwords_test.go:20
FunctionTestAddAndCompareGoodPassword
(t *testing.T)
passwords/passwords_test.go:11
FunctionTestAddAndCompareMissingPassword
(t *testing.T)
passwords/passwords_test.go:29
FunctionTestAddOneReview
(t *testing.T)
reviews/reviews_test.go:18
FunctionTestAddOneUser
(t *testing.T)
users/users_test.go:16
FunctionTestAddOneUserResponse
(t *testing.T)
users/users_test.go:26
FunctionTestAddThenGetOneReview
(t *testing.T)
reviews/reviews_test.go:28
FunctionTestAddThenGetOneUser
(t *testing.T)
users/users_test.go:41
FunctionTestAddTwoThenGetAllReviews
(t *testing.T)
reviews/reviews_test.go:41
FunctionTestAddTwoThenGetAllUsers
(t *testing.T)
users/users_test.go:55
FunctionTestAnonymousReviewHasNullForUserID
(t *testing.T)
reviews/reviews_test.go:169
FunctionTestCreateTokenFromUsernameAndPassword
(t *testing.T)
users/users_test.go:74
FunctionTestCreateUserWithSameUsernameGivesError
(t *testing.T)
users/users_test.go:91
FunctionTestDeleteOnReview
(t *testing.T)
reviews/reviews_test.go:56
FunctionTestGetAllReviews
(t *testing.T)
reviews/reviews_test.go:102
FunctionTestGetReviewsByMaxRatingBelowOrEquals
(t *testing.T)
reviews/reviews_test.go:121
FunctionTestGetReviewsByMaxRatingEquals
(t *testing.T)
reviews/reviews_test.go:145
FunctionTestGetReviewsEmpty
(t *testing.T)
reviews/reviews_test.go:12
FunctionTestGetUsersEmpty
(t *testing.T)
users/users_test.go:9
FunctionTestMarshalNullStringToNull
(t *testing.T)
utils/utils_test.go:27
FunctionTestMarshalNullStringToString
(t *testing.T)
utils/utils_test.go:11
FunctionTestUnmarshalNullStringFromNull
(t *testing.T)
utils/utils_test.go:35
FunctionTestUnmarshalNullStringFromString
(t *testing.T)
utils/utils_test.go:19
FunctionTestUpdateReview
(t *testing.T)
reviews/reviews_test.go:68
FunctionTestUpdateReviewInvalidUuid
(t *testing.T)
reviews/reviews_test.go:91
MethodUnmarshalJSON
(data []byte)
utils/utils.go:17
MethodUnmarshalJSON
(data []byte)
reviews/reviews.go:123
Functionmain
main
server.go:39
Functionregister
(config)
site/src/serviceWorker.js:23
Functionunregister
()
site/src/serviceWorker.js:129
MethodvalidateRequestMiddleware
Validate the incoming request against our schema(s)
server.go:157