Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGraphQL ¶
func StartGraphQL()
Types ¶
type Loaders ¶
type Loaders struct { UserDataLoader *UserDataLoader UserFriendsDataLoader *UserFriendsDataLoader }
type Services ¶
type Services struct {
UserService *UserService
}
type UserBatchLoader ¶
type UserBatchLoader struct {
// contains filtered or unexported fields
}
type UserDataLoader ¶
type UserDataLoader = dl.DataLoader[string, User]
func NewUserDataLoader ¶
func NewUserDataLoader(ctx context.Context) *UserDataLoader
type UserFriendsBatchLoader ¶
type UserFriendsBatchLoader struct {
// contains filtered or unexported fields
}
type UserFriendsDataLoader ¶
type UserFriendsDataLoader = dl.DataLoader[string, []string]
func NewUserFriendsDataLoader ¶
func NewUserFriendsDataLoader(ctx context.Context) *UserFriendsDataLoader
type UserFriendsService ¶
type UserFriendsService struct {
// contains filtered or unexported fields
}
func NewUserFriendsService ¶
func NewUserFriendsService() *UserFriendsService
func (*UserFriendsService) GetUserFriendsMap ¶
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService() *UserService
func (*UserService) GetAllUsers ¶
func (s *UserService) GetAllUsers(ctx context.Context) ([]*User, error)
func (*UserService) GetUsersMap ¶
Click to show internal directories.
Click to hide internal directories.