MCPcopy Create free account

hub / github.com/disintegration/bebop / functions

Functions254 in github.com/disintegration/bebop

FunctionTestHandleSetUserName
(t *testing.T)
api/users_test.go:411
FunctionTestOAuthBegin
(t *testing.T)
oauth/oauth_test.go:15
FunctionTestPlaceholders
(t *testing.T)
store/postgresql/store_test.go:36
FunctionTestPlaceholders
(t *testing.T)
store/mysql/store_test.go:36
FunctionTestRenderError
(t *testing.T)
api/api_test.go:102
FunctionTestTopic
(t *testing.T)
store/postgresql/topic_test.go:10
FunctionTestTopic
(t *testing.T)
store/mysql/topic_test.go:10
FunctionTestUser
(t *testing.T)
store/postgresql/user_test.go:11
FunctionTestUser
(t *testing.T)
store/mysql/user_test.go:11
MethodTopics
Topics returns a topic store.
store/postgresql/store.go:30
MethodTopics
Topics returns a topic store.
store/mysql/store.go:28
MethodTopics
()
store/mock/store.go:17
MethodURL
(user *store.User)
avatar/mock.go:20
MethodURL
URL returns the avatar URL of the given user.
avatar/service.go:144
MethodURL
URL returns an URL of the file with the given path.
filestorage/s3.go:68
MethodURL
URL returns an URL of the file with the given path.
filestorage/local.go:67
MethodURL
URL returns an URL of the file with the given path.
filestorage/filestorage.go:18
MethodURL
URL returns an URL of the file with the given path.
filestorage/gcs.go:66
MethodUsers
Users returns a user store.
store/postgresql/store.go:25
MethodUsers
Users returns a user store.
store/mysql/store.go:23
MethodUsers
()
store/mock/store.go:14
FunctionValidCommentContent
ValidCommentContent checks if comment content is valid.
store/comment.go:23
FunctionValidTopicTitle
ValidTopicTitle checks if topic title is valid.
store/topic.go:24
FunctionValidUserName
ValidUserName checks if given user name is valid.
store/user.go:44
MethodVerify
Verify verifies the JWT string using the given secret key. On success it returns the user ID and the time the token was issued.
jwt/jwt.go:64
FunctionaddAdmin
addAdmin adds a user to the list of administrators.
cmd/bebop/admin.go:33
FunctionbebopOAuthEnd
()
static/root/frontend/js/bebop-app.js:163
FunctiongenKey
genKey generates a random 32-byte hex-encoded key.
cmd/bebop/config.go:47
FunctiongetFacebookUser
(c *http.Client)
oauth/providers.go:66
FunctiongetGithubUser
(c *http.Client)
oauth/providers.go:82
FunctiongetGoogleUser
(c *http.Client)
oauth/providers.go:50
MethodhandleBegin
(w http.ResponseWriter, r *http.Request)
oauth/oauth.go:94
MethodhandleDeleteComment
(w http.ResponseWriter, r *http.Request)
api/comments.go:163
MethodhandleDeleteTopic
(w http.ResponseWriter, r *http.Request)
api/topics.go:141
MethodhandleEnd
(w http.ResponseWriter, r *http.Request)
oauth/oauth.go:117
MethodhandleGetComment
(w http.ResponseWriter, r *http.Request)
api/comments.go:136
MethodhandleGetComments
(w http.ResponseWriter, r *http.Request)
api/comments.go:10
MethodhandleGetTopic
(w http.ResponseWriter, r *http.Request)
api/topics.go:114
MethodhandleGetTopics
(w http.ResponseWriter, r *http.Request)
api/topics.go:10
MethodhandleGetUser
(w http.ResponseWriter, r *http.Request)
api/users.go:125
MethodhandleGetUsers
(w http.ResponseWriter, r *http.Request)
api/users.go:47
MethodhandleMe
(w http.ResponseWriter, r *http.Request)
api/users.go:29
MethodhandleNewComment
(w http.ResponseWriter, r *http.Request)
api/comments.go:66
MethodhandleNewTopic
(w http.ResponseWriter, r *http.Request)
api/topics.go:54
MethodhandleSetUserAvatar
(w http.ResponseWriter, r *http.Request)
api/users.go:240
MethodhandleSetUserBlocked
(w http.ResponseWriter, r *http.Request)
api/users.go:320
MethodhandleSetUserName
(w http.ResponseWriter, r *http.Request)
api/users.go:167
FunctioninitConfig
initConfig creates an initial configuration file inside the current directory.
cmd/bebop/config.go:18
Functionmain
()
static/gen.go:21
Functionmain
()
cmd/bebop/main.go:17
FunctionprintAdmins
printAdmins prints all the administrator users.
cmd/bebop/admin.go:11
FunctionremoveAdmin
removeAdmin removes a user to the list of administrators.
cmd/bebop/admin.go:38
FunctionsetBlocked
(val)
static/root/frontend/js/bebop-user.js:254
FunctionstartServer
startServer configures and starts the bebop web server.
cmd/bebop/server.go:22
← previous201–254 of 254, ranked by callers