Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/disintegration/bebop
/ functions
Functions
254 in github.com/disintegration/bebop
⨍
Functions
254
◇
Types & classes
45
Function
TestHandleSetUserName
(t *testing.T)
api/users_test.go:411
Function
TestOAuthBegin
(t *testing.T)
oauth/oauth_test.go:15
Function
TestPlaceholders
(t *testing.T)
store/postgresql/store_test.go:36
Function
TestPlaceholders
(t *testing.T)
store/mysql/store_test.go:36
Function
TestRenderError
(t *testing.T)
api/api_test.go:102
Function
TestTopic
(t *testing.T)
store/postgresql/topic_test.go:10
Function
TestTopic
(t *testing.T)
store/mysql/topic_test.go:10
Function
TestUser
(t *testing.T)
store/postgresql/user_test.go:11
Function
TestUser
(t *testing.T)
store/mysql/user_test.go:11
Method
Topics
Topics returns a topic store.
store/postgresql/store.go:30
Method
Topics
Topics returns a topic store.
store/mysql/store.go:28
Method
Topics
()
store/mock/store.go:17
Method
URL
(user *store.User)
avatar/mock.go:20
Method
URL
URL returns the avatar URL of the given user.
avatar/service.go:144
Method
URL
URL returns an URL of the file with the given path.
filestorage/s3.go:68
Method
URL
URL returns an URL of the file with the given path.
filestorage/local.go:67
Method
URL
URL returns an URL of the file with the given path.
filestorage/filestorage.go:18
Method
URL
URL returns an URL of the file with the given path.
filestorage/gcs.go:66
Method
Users
Users returns a user store.
store/postgresql/store.go:25
Method
Users
Users returns a user store.
store/mysql/store.go:23
Method
Users
()
store/mock/store.go:14
Function
ValidCommentContent
ValidCommentContent checks if comment content is valid.
store/comment.go:23
Function
ValidTopicTitle
ValidTopicTitle checks if topic title is valid.
store/topic.go:24
Function
ValidUserName
ValidUserName checks if given user name is valid.
store/user.go:44
Method
Verify
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
Function
addAdmin
addAdmin adds a user to the list of administrators.
cmd/bebop/admin.go:33
Function
bebopOAuthEnd
()
static/root/frontend/js/bebop-app.js:163
Function
genKey
genKey generates a random 32-byte hex-encoded key.
cmd/bebop/config.go:47
Function
getFacebookUser
(c *http.Client)
oauth/providers.go:66
Function
getGithubUser
(c *http.Client)
oauth/providers.go:82
Function
getGoogleUser
(c *http.Client)
oauth/providers.go:50
Method
handleBegin
(w http.ResponseWriter, r *http.Request)
oauth/oauth.go:94
Method
handleDeleteComment
(w http.ResponseWriter, r *http.Request)
api/comments.go:163
Method
handleDeleteTopic
(w http.ResponseWriter, r *http.Request)
api/topics.go:141
Method
handleEnd
(w http.ResponseWriter, r *http.Request)
oauth/oauth.go:117
Method
handleGetComment
(w http.ResponseWriter, r *http.Request)
api/comments.go:136
Method
handleGetComments
(w http.ResponseWriter, r *http.Request)
api/comments.go:10
Method
handleGetTopic
(w http.ResponseWriter, r *http.Request)
api/topics.go:114
Method
handleGetTopics
(w http.ResponseWriter, r *http.Request)
api/topics.go:10
Method
handleGetUser
(w http.ResponseWriter, r *http.Request)
api/users.go:125
Method
handleGetUsers
(w http.ResponseWriter, r *http.Request)
api/users.go:47
Method
handleMe
(w http.ResponseWriter, r *http.Request)
api/users.go:29
Method
handleNewComment
(w http.ResponseWriter, r *http.Request)
api/comments.go:66
Method
handleNewTopic
(w http.ResponseWriter, r *http.Request)
api/topics.go:54
Method
handleSetUserAvatar
(w http.ResponseWriter, r *http.Request)
api/users.go:240
Method
handleSetUserBlocked
(w http.ResponseWriter, r *http.Request)
api/users.go:320
Method
handleSetUserName
(w http.ResponseWriter, r *http.Request)
api/users.go:167
Function
initConfig
initConfig creates an initial configuration file inside the current directory.
cmd/bebop/config.go:18
Function
main
()
static/gen.go:21
Function
main
()
cmd/bebop/main.go:17
Function
printAdmins
printAdmins prints all the administrator users.
cmd/bebop/admin.go:11
Function
removeAdmin
removeAdmin removes a user to the list of administrators.
cmd/bebop/admin.go:38
Function
setBlocked
(val)
static/root/frontend/js/bebop-user.js:254
Function
startServer
startServer configures and starts the bebop web server.
cmd/bebop/server.go:22
← previous
201–254 of 254, ranked by callers