Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HotPotatoC/twitter-clone
/ functions
Functions
221 in github.com/HotPotatoC/twitter-clone
⨍
Functions
221
◇
Types & classes
34
Method
CreateUser
(ctx context.Context, req *user.CreateUserRequest)
user/internal/server/create_user.go:11
Method
CreateUser
(ctx context.Context, in *CreateUserRequest)
user/rpc/user/user.twirp.go:190
Method
CreateUser
(ctx context.Context, in *CreateUserRequest)
user/rpc/user/user.twirp.go:423
Method
DeleteUser
(ctx context.Context, id string)
user/internal/service/delete_user.go:7
Method
DeleteUser
(ctx context.Context, id string)
user/internal/service/repository/delete_user.go:10
Method
DeleteUser
DeleteUser deletes an existing user
user/internal/service/repository/repository.go:23
Method
DeleteUser
(ctx context.Context, req *user.DeleteUserRequest)
user/internal/server/delete_user.go:13
Method
DeleteUser
(ctx context.Context, in *DeleteUserRequest)
user/rpc/user/user.twirp.go:236
Method
DeleteUser
(ctx context.Context, in *DeleteUserRequest)
user/rpc/user/user.twirp.go:469
Method
Descriptor
Deprecated: Use FindUserByIDRequest.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:61
Method
Descriptor
Deprecated: Use FindUserByIDResponse.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:109
Method
Descriptor
Deprecated: Use FindUserByEmailRequest.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:157
Method
Descriptor
Deprecated: Use FindUserByEmailResponse.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:205
Method
Descriptor
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:262
Method
Descriptor
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:373
Method
Descriptor
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:421
Method
Descriptor
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:469
Method
Descriptor
Deprecated: Use User.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:531
Method
Error
for github.com/pkg/errors
user/rpc/user/user.twirp.go:1722
Method
FindUserByEmail
(ctx context.Context, email string)
user/internal/service/find_by_user_email.go:9
Method
FindUserByEmail
FindUserByEmail finds a user by email
user/internal/service/repository/repository.go:17
Method
FindUserByEmail
(ctx context.Context, email string)
user/internal/service/repository/find_by_user_email.go:10
Method
FindUserByEmail
(ctx context.Context, req *user.FindUserByEmailRequest)
user/internal/server/find_by_user_email.go:13
Method
FindUserByEmail
(ctx context.Context, in *FindUserByEmailRequest)
user/rpc/user/user.twirp.go:144
Method
FindUserByEmail
(ctx context.Context, in *FindUserByEmailRequest)
user/rpc/user/user.twirp.go:377
Method
FindUserByID
(ctx context.Context, id string)
user/internal/service/find_by_user_id.go:9
Method
FindUserByID
FindUserByID finds a user by id
user/internal/service/repository/repository.go:14
Method
FindUserByID
(ctx context.Context, id string)
user/internal/service/repository/find_by_user_id.go:10
Method
FindUserByID
(ctx context.Context, req *user.FindUserByIDRequest)
user/internal/server/find_by_user_id.go:13
Method
FindUserByID
(ctx context.Context, in *FindUserByIDRequest)
user/rpc/user/user.twirp.go:98
Method
FindUserByID
(ctx context.Context, in *FindUserByIDRequest)
user/rpc/user/user.twirp.go:331
Method
GetBio
()
user/rpc/user/user.pb.go:294
Method
GetBirthDate
()
user/rpc/user/user.pb.go:329
Method
GetCreatedAt
()
user/rpc/user/user.pb.go:626
Method
GetEmail
()
user/rpc/user/user.pb.go:161
Method
GetEmail
()
user/rpc/user/user.pb.go:287
Method
GetFollowersCount
()
user/rpc/user/user.pb.go:612
Method
GetFollowingsCount
()
user/rpc/user/user.pb.go:619
Method
GetLocation
()
user/rpc/user/user.pb.go:301
Method
GetName
()
user/rpc/user/user.pb.go:266
Method
GetPasswordHash
()
user/rpc/user/user.pb.go:556
Method
GetProfileBannerUrl
()
user/rpc/user/user.pb.go:322
Method
GetProfileImageUrl
()
user/rpc/user/user.pb.go:315
Method
GetScreenName
()
user/rpc/user/user.pb.go:273
Method
GetUpdatedAt
()
user/rpc/user/user.pb.go:633
Method
GetUser
()
user/rpc/user/user.pb.go:113
Method
GetUser
()
user/rpc/user/user.pb.go:209
Method
GetUser
()
user/rpc/user/user.pb.go:377
Method
GetUserId
()
user/rpc/user/user.pb.go:65
Method
GetUserId
()
user/rpc/user/user.pb.go:425
Method
GetWebsite
()
user/rpc/user/user.pb.go:308
Function
Home
()
website/pages/index.tsx:5
Function
Init
(debug bool)
user/logger/logger.go:11
Method
Meta
(key string)
user/rpc/user/user.twirp.go:1725
Function
New
New creates a new user twirp server
user/internal/server/server.go:14
Function
New
()
user/config/config.go:19
Function
NewClients
(ctx context.Context, cfg *config.Config)
user/clients/clients.go:17
Function
NewPostgreSQLClient
(ctx context.Context, connString string)
user/clients/postgres/postgres.go:9
Function
NewRepository
(writerDB *pgxpool.Pool, readerDB *pgxpool.Pool)
user/internal/service/repository/repository.go:33
Function
NewService
NewService creates a new user business-layer service
user/internal/service/service.go:32
Function
NewUserServiceJSONClient
NewUserServiceJSONClient creates a JSON client that implements the UserService interface. It communicates using JSON and can be configured with a cust
user/rpc/user/user.twirp.go:295
Function
NewUserServiceProtobufClient
NewUserServiceProtobufClient creates a Protobuf client that implements the UserService interface. It communicates using Protobuf and can be configured
user/rpc/user/user.twirp.go:62
Function
NewUserServiceServer
NewUserServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provi
user/rpc/user/user.twirp.go:531
Method
PasswordIsValid
PasswordIsValid determines wether the given password matches with the user's password hash
user/internal/models/user.go:113
Method
PathPrefix
PathPrefix returns the base service path, in the form: "/<prefix>/<package>.<Service>/" that is everything in a Twirp route except for the <Method>. T
user/rpc/user/user.twirp.go:1362
Method
ProtoMessage
()
user/rpc/user/user.pb.go:46
Method
ProtoMessage
()
user/rpc/user/user.pb.go:94
Method
ProtoMessage
()
user/rpc/user/user.pb.go:142
Method
ProtoMessage
()
user/rpc/user/user.pb.go:190
Method
ProtoMessage
()
user/rpc/user/user.pb.go:247
Method
ProtoMessage
()
user/rpc/user/user.pb.go:358
Method
ProtoMessage
()
user/rpc/user/user.pb.go:406
Method
ProtoMessage
()
user/rpc/user/user.pb.go:454
Method
ProtoMessage
()
user/rpc/user/user.pb.go:516
Method
ProtoReflect
()
user/rpc/user/user.pb.go:48
Method
ProtoReflect
()
user/rpc/user/user.pb.go:96
Method
ProtoReflect
()
user/rpc/user/user.pb.go:144
Method
ProtoReflect
()
user/rpc/user/user.pb.go:192
Method
ProtoReflect
()
user/rpc/user/user.pb.go:249
Method
ProtoReflect
()
user/rpc/user/user.pb.go:360
Method
ProtoReflect
()
user/rpc/user/user.pb.go:408
Method
ProtoReflect
()
user/rpc/user/user.pb.go:456
Method
ProtoReflect
()
user/rpc/user/user.pb.go:518
Method
ProtocGenTwirpVersion
()
user/rpc/user/user.twirp.go:1355
Method
ProtocGenTwirpVersion
ProtocGenTwirpVersion is the semantic version string of the version of twirp used to generate this file.
user/rpc/user/user.twirp.go:1401
Method
Reset
()
user/rpc/user/user.pb.go:33
Method
Reset
()
user/rpc/user/user.pb.go:81
Method
Reset
()
user/rpc/user/user.pb.go:129
Method
Reset
()
user/rpc/user/user.pb.go:177
Method
Reset
()
user/rpc/user/user.pb.go:234
Method
Reset
()
user/rpc/user/user.pb.go:345
Method
Reset
()
user/rpc/user/user.pb.go:393
Method
Reset
()
user/rpc/user/user.pb.go:441
Method
Reset
()
user/rpc/user/user.pb.go:503
Method
ServeHTTP
(resp http.ResponseWriter, req *http.Request)
user/rpc/user/user.twirp.go:579
Method
ServiceDescriptor
()
user/rpc/user/user.twirp.go:1351
Method
ServiceDescriptor
ServiceDescriptor returns gzipped bytes describing the .proto file that this service was generated from. Once unzipped, the bytes can be unmarshalled
user/rpc/user/user.twirp.go:1397
Method
String
()
user/rpc/user/user.pb.go:42
Method
String
()
user/rpc/user/user.pb.go:90
Method
String
()
user/rpc/user/user.pb.go:138
← previous
next →
101–200 of 221, ranked by callers