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
Method
Generate
Generate generates a new avatar for the given user.
avatar/service.go:112
Method
Get
(id int64)
store/store.go:39
Method
Get
(id int64)
store/store.go:48
Method
Get
Get finds a comment by ID.
store/postgresql/comment.go:63
Method
Get
Get finds a topic by ID.
store/postgresql/topic.go:46
Method
Get
Get finds a user by ID.
store/postgresql/user.go:61
Method
Get
Get finds a comment by ID.
store/mysql/comment.go:68
Method
Get
Get finds a topic by ID.
store/mysql/topic.go:47
Method
Get
Get finds a user by ID.
store/mysql/user.go:61
Method
Get
(id int64)
store/mock/comment.go:19
Method
Get
(id int64)
store/mock/topic.go:19
Method
Get
(id int64)
store/mock/user.go:24
Method
GetAdmins
GetAdmins finds all the admin users.
store/postgresql/user.go:111
Method
GetAdmins
GetAdmins finds all the admin users.
store/mysql/user.go:111
Method
GetAdmins
()
store/mock/user.go:30
Method
GetByAuth
GetByAuth finds a user by authService and authID.
store/postgresql/user.go:141
Method
GetByAuth
GetByAuth finds a user by authService and authID.
store/mysql/user.go:141
Method
GetByAuth
(authService string, authID string)
store/mock/user.go:36
Method
GetByName
GetByName finds a user by name.
store/postgresql/user.go:135
Method
GetByName
GetByName finds a user by name.
store/mysql/user.go:135
Method
GetByName
(name string)
store/mock/user.go:33
Method
GetByTopic
GetByTopic finds comments by topic.
store/postgresql/comment.go:69
Method
GetByTopic
GetByTopic finds comments by topic.
store/mysql/comment.go:74
Method
GetByTopic
(topicID int64, offset, limit int)
store/mock/comment.go:22
Method
GetLatest
GetLatest returns a limited number of latest topics and a total topic count.
store/postgresql/topic.go:52
Method
GetLatest
GetLatest returns a limited number of latest topics and a total topic count.
store/mysql/topic.go:53
Method
GetLatest
(offset, limit int)
store/mock/topic.go:22
Method
GetMany
GetMany finds users by IDs.
store/postgresql/user.go:67
Method
GetMany
GetMany finds users by IDs.
store/mysql/user.go:67
Method
GetMany
(ids []int64)
store/mock/user.go:27
Function
Init
Init generates an initial config string.
config/config.go:125
Method
Mode
()
static/static.go:105
Method
New
(authorID int64, title string)
store/store.go:38
Method
New
(topicID int64, authorID int64, content string)
store/store.go:47
Method
New
New creates a new comment.
store/postgresql/comment.go:15
Method
New
New creates a new topic.
store/postgresql/topic.go:15
Method
New
New creates a new user.
store/postgresql/user.go:15
Method
New
New creates a new comment.
store/mysql/comment.go:15
Method
New
New creates a new topic.
store/mysql/topic.go:15
Method
New
New creates a new user.
store/mysql/user.go:15
Method
New
(topicID int64, authorID int64, content string)
store/mock/comment.go:16
Method
New
(authorID int64, title string)
store/mock/topic.go:16
Method
New
(authService string, authID string)
store/mock/user.go:21
Function
NewAmazonS3
NewAmazonS3 returns a new Amazon S3 file storage.
filestorage/s3.go:21
Function
NewGoogleCloudStorage
NewGoogleCloudStorage returns a new GoogleCloudStorage file storage.
filestorage/gcs.go:19
Function
NewLocal
NewLocal returns a new local file storage.
filestorage/local.go:21
Function
NewService
NewService creates a new avatar service.
avatar/service.go:63
Method
Open
(name string)
static/static.go:64
Function
ReadEnv
ReadEnv reads a bebop config from environment variables.
config/config.go:111
Function
ReadFile
ReadFile reads a bebop config from file.
config/config.go:88
Method
Readdir
(count int)
static/static.go:90
Method
Remove
Remove removes the file with the given path.
filestorage/s3.go:54
Method
Remove
Remove removes the file with the given path.
filestorage/local.go:56
Method
Remove
Remove removes the file with the given path.
filestorage/gcs.go:57
Method
RoundTrip
(*http.Request)
oauth/providers_test.go:102
Method
Save
(user *store.User, imageData []byte)
avatar/mock.go:14
Method
Save
Save preprocesses and saves a new avatar for the given user.
avatar/service.go:72
Method
Save
Save saves data from r to file with the given path.
filestorage/s3.go:38
Method
Save
Save saves data from r to file with the given path.
filestorage/local.go:34
Method
Save
Save saves data from r to file with the given path.
filestorage/filestorage.go:12
Method
Save
Save saves data from r to file with the given path.
filestorage/gcs.go:38
Method
Scan
(v ...interface{})
store/postgresql/store.go:109
Method
SetAdmin
SetAdmin updates user.Admin value.
store/postgresql/user.go:162
Method
SetAdmin
SetAdmin updates user.Admin value.
store/mysql/user.go:162
Method
SetAdmin
(id int64, admin bool)
store/mock/user.go:45
Method
SetAvatar
SetAvatar updates user.Avatar value.
store/postgresql/user.go:168
Method
SetAvatar
SetAvatar updates user.Avatar value.
store/mysql/user.go:168
Method
SetAvatar
(id int64, avatar string)
store/mock/user.go:48
Method
SetBlocked
SetBlocked updates user.Blocked value.
store/postgresql/user.go:156
Method
SetBlocked
SetBlocked updates user.Blocked value.
store/mysql/user.go:156
Method
SetBlocked
(id int64, blocked bool)
store/mock/user.go:42
Method
SetContent
SetContent updates comment.Content value.
store/postgresql/comment.go:107
Method
SetContent
SetContent updates comment.Content value.
store/mysql/comment.go:112
Method
SetContent
(id int64, content string)
store/mock/comment.go:25
Method
SetName
SetName updates user.Name value. It returns ErrConflict if the given name is already taken.
store/postgresql/user.go:147
Method
SetName
SetName updates user.Name value. It returns ErrConflict if the given name is already taken.
store/mysql/user.go:147
Method
SetName
(id int64, name string)
store/mock/user.go:39
Method
SetTitle
SetTitle updates topic.Title value.
store/postgresql/topic.go:89
Method
SetTitle
SetTitle updates topic.Title value.
store/mysql/topic.go:90
Method
SetTitle
(id int64, title string)
store/mock/topic.go:25
Method
Size
()
static/static.go:101
Method
Sys
()
static/static.go:117
Function
TestComment
(t *testing.T)
store/postgresql/comment_test.go:7
Function
TestComment
(t *testing.T)
store/mysql/comment_test.go:7
Function
TestCreateAndVerify
(t *testing.T)
jwt/jwt_test.go:9
Function
TestCurrentUser
(t *testing.T)
api/api_test.go:17
Function
TestDeleteComment
(t *testing.T)
api/comments_test.go:425
Function
TestDeleteTopic
(t *testing.T)
api/topics_test.go:387
Function
TestGetUser
(t *testing.T)
oauth/providers_test.go:12
Function
TestHandleGetComment
(t *testing.T)
api/comments_test.go:353
Function
TestHandleGetComments
(t *testing.T)
api/comments_test.go:17
Function
TestHandleGetTopic
(t *testing.T)
api/topics_test.go:314
Function
TestHandleGetTopics
(t *testing.T)
api/topics_test.go:17
Function
TestHandleGetUser
(t *testing.T)
api/users_test.go:286
Function
TestHandleGetUsers
(t *testing.T)
api/users_test.go:122
Function
TestHandleMe
(t *testing.T)
api/users_test.go:20
Function
TestHandleNewComment
(t *testing.T)
api/comments_test.go:159
Function
TestHandleNewTopic
(t *testing.T)
api/topics_test.go:124
Function
TestHandleSetUserAvatar
(t *testing.T)
api/users_test.go:611
Function
TestHandleSetUserBlocked
(t *testing.T)
api/users_test.go:816
← previous
next →
101–200 of 254, ranked by callers