MCPcopy Create free account

hub / github.com/HotPotatoC/twitter-clone / functions

Functions221 in github.com/HotPotatoC/twitter-clone

MethodCreateUser
(ctx context.Context, req *user.CreateUserRequest)
user/internal/server/create_user.go:11
MethodCreateUser
(ctx context.Context, in *CreateUserRequest)
user/rpc/user/user.twirp.go:190
MethodCreateUser
(ctx context.Context, in *CreateUserRequest)
user/rpc/user/user.twirp.go:423
MethodDeleteUser
(ctx context.Context, id string)
user/internal/service/delete_user.go:7
MethodDeleteUser
(ctx context.Context, id string)
user/internal/service/repository/delete_user.go:10
MethodDeleteUser
DeleteUser deletes an existing user
user/internal/service/repository/repository.go:23
MethodDeleteUser
(ctx context.Context, req *user.DeleteUserRequest)
user/internal/server/delete_user.go:13
MethodDeleteUser
(ctx context.Context, in *DeleteUserRequest)
user/rpc/user/user.twirp.go:236
MethodDeleteUser
(ctx context.Context, in *DeleteUserRequest)
user/rpc/user/user.twirp.go:469
MethodDescriptor
Deprecated: Use FindUserByIDRequest.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:61
MethodDescriptor
Deprecated: Use FindUserByIDResponse.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:109
MethodDescriptor
Deprecated: Use FindUserByEmailRequest.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:157
MethodDescriptor
Deprecated: Use FindUserByEmailResponse.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:205
MethodDescriptor
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:262
MethodDescriptor
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:373
MethodDescriptor
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:421
MethodDescriptor
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:469
MethodDescriptor
Deprecated: Use User.ProtoReflect.Descriptor instead.
user/rpc/user/user.pb.go:531
MethodError
for github.com/pkg/errors
user/rpc/user/user.twirp.go:1722
MethodFindUserByEmail
(ctx context.Context, email string)
user/internal/service/find_by_user_email.go:9
MethodFindUserByEmail
FindUserByEmail finds a user by email
user/internal/service/repository/repository.go:17
MethodFindUserByEmail
(ctx context.Context, email string)
user/internal/service/repository/find_by_user_email.go:10
MethodFindUserByEmail
(ctx context.Context, req *user.FindUserByEmailRequest)
user/internal/server/find_by_user_email.go:13
MethodFindUserByEmail
(ctx context.Context, in *FindUserByEmailRequest)
user/rpc/user/user.twirp.go:144
MethodFindUserByEmail
(ctx context.Context, in *FindUserByEmailRequest)
user/rpc/user/user.twirp.go:377
MethodFindUserByID
(ctx context.Context, id string)
user/internal/service/find_by_user_id.go:9
MethodFindUserByID
FindUserByID finds a user by id
user/internal/service/repository/repository.go:14
MethodFindUserByID
(ctx context.Context, id string)
user/internal/service/repository/find_by_user_id.go:10
MethodFindUserByID
(ctx context.Context, req *user.FindUserByIDRequest)
user/internal/server/find_by_user_id.go:13
MethodFindUserByID
(ctx context.Context, in *FindUserByIDRequest)
user/rpc/user/user.twirp.go:98
MethodFindUserByID
(ctx context.Context, in *FindUserByIDRequest)
user/rpc/user/user.twirp.go:331
MethodGetBio
()
user/rpc/user/user.pb.go:294
MethodGetBirthDate
()
user/rpc/user/user.pb.go:329
MethodGetCreatedAt
()
user/rpc/user/user.pb.go:626
MethodGetEmail
()
user/rpc/user/user.pb.go:161
MethodGetEmail
()
user/rpc/user/user.pb.go:287
MethodGetFollowersCount
()
user/rpc/user/user.pb.go:612
MethodGetFollowingsCount
()
user/rpc/user/user.pb.go:619
MethodGetLocation
()
user/rpc/user/user.pb.go:301
MethodGetName
()
user/rpc/user/user.pb.go:266
MethodGetPasswordHash
()
user/rpc/user/user.pb.go:556
MethodGetProfileBannerUrl
()
user/rpc/user/user.pb.go:322
MethodGetProfileImageUrl
()
user/rpc/user/user.pb.go:315
MethodGetScreenName
()
user/rpc/user/user.pb.go:273
MethodGetUpdatedAt
()
user/rpc/user/user.pb.go:633
MethodGetUser
()
user/rpc/user/user.pb.go:113
MethodGetUser
()
user/rpc/user/user.pb.go:209
MethodGetUser
()
user/rpc/user/user.pb.go:377
MethodGetUserId
()
user/rpc/user/user.pb.go:65
MethodGetUserId
()
user/rpc/user/user.pb.go:425
MethodGetWebsite
()
user/rpc/user/user.pb.go:308
FunctionHome
()
website/pages/index.tsx:5
FunctionInit
(debug bool)
user/logger/logger.go:11
MethodMeta
(key string)
user/rpc/user/user.twirp.go:1725
FunctionNew
New creates a new user twirp server
user/internal/server/server.go:14
FunctionNew
()
user/config/config.go:19
FunctionNewClients
(ctx context.Context, cfg *config.Config)
user/clients/clients.go:17
FunctionNewPostgreSQLClient
(ctx context.Context, connString string)
user/clients/postgres/postgres.go:9
FunctionNewRepository
(writerDB *pgxpool.Pool, readerDB *pgxpool.Pool)
user/internal/service/repository/repository.go:33
FunctionNewService
NewService creates a new user business-layer service
user/internal/service/service.go:32
FunctionNewUserServiceJSONClient
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
FunctionNewUserServiceProtobufClient
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
FunctionNewUserServiceServer
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
MethodPasswordIsValid
PasswordIsValid determines wether the given password matches with the user's password hash
user/internal/models/user.go:113
MethodPathPrefix
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
MethodProtoMessage
()
user/rpc/user/user.pb.go:46
MethodProtoMessage
()
user/rpc/user/user.pb.go:94
MethodProtoMessage
()
user/rpc/user/user.pb.go:142
MethodProtoMessage
()
user/rpc/user/user.pb.go:190
MethodProtoMessage
()
user/rpc/user/user.pb.go:247
MethodProtoMessage
()
user/rpc/user/user.pb.go:358
MethodProtoMessage
()
user/rpc/user/user.pb.go:406
MethodProtoMessage
()
user/rpc/user/user.pb.go:454
MethodProtoMessage
()
user/rpc/user/user.pb.go:516
MethodProtoReflect
()
user/rpc/user/user.pb.go:48
MethodProtoReflect
()
user/rpc/user/user.pb.go:96
MethodProtoReflect
()
user/rpc/user/user.pb.go:144
MethodProtoReflect
()
user/rpc/user/user.pb.go:192
MethodProtoReflect
()
user/rpc/user/user.pb.go:249
MethodProtoReflect
()
user/rpc/user/user.pb.go:360
MethodProtoReflect
()
user/rpc/user/user.pb.go:408
MethodProtoReflect
()
user/rpc/user/user.pb.go:456
MethodProtoReflect
()
user/rpc/user/user.pb.go:518
MethodProtocGenTwirpVersion
()
user/rpc/user/user.twirp.go:1355
MethodProtocGenTwirpVersion
ProtocGenTwirpVersion is the semantic version string of the version of twirp used to generate this file.
user/rpc/user/user.twirp.go:1401
MethodReset
()
user/rpc/user/user.pb.go:33
MethodReset
()
user/rpc/user/user.pb.go:81
MethodReset
()
user/rpc/user/user.pb.go:129
MethodReset
()
user/rpc/user/user.pb.go:177
MethodReset
()
user/rpc/user/user.pb.go:234
MethodReset
()
user/rpc/user/user.pb.go:345
MethodReset
()
user/rpc/user/user.pb.go:393
MethodReset
()
user/rpc/user/user.pb.go:441
MethodReset
()
user/rpc/user/user.pb.go:503
MethodServeHTTP
(resp http.ResponseWriter, req *http.Request)
user/rpc/user/user.twirp.go:579
MethodServiceDescriptor
()
user/rpc/user/user.twirp.go:1351
MethodServiceDescriptor
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
MethodString
()
user/rpc/user/user.pb.go:42
MethodString
()
user/rpc/user/user.pb.go:90
MethodString
()
user/rpc/user/user.pb.go:138
← previousnext →101–200 of 221, ranked by callers