Documentation ¶
Index ¶
- func Aggregator(ctx context.Context) domain.Aggregator
- func ToID(i int64) graphql.ID
- type ChannelMemberInput
- type ChannelMemberResolver
- type ChannelResolver
- func (t *ChannelResolver) Id() graphql.ID
- func (t *ChannelResolver) IsPublic() bool
- func (t *ChannelResolver) Members(ctx context.Context) ([]*UserResolver, error)
- func (t *ChannelResolver) Messages(ctx context.Context) ([]*MessageResolver, error)
- func (t *ChannelResolver) Name() string
- func (t *ChannelResolver) Owner(ctx context.Context) (*UserResolver, error)
- func (t *ChannelResolver) Team(ctx context.Context) (*TeamResolver, error)
- type CreateChannelInput
- type CreateChannelResolver
- type CreateTeamInput
- type CreateTeamResolver
- type CreateUserInput
- type CreateUserResolver
- type MessageResolver
- type Mutation
- func (t *Mutation) AddChannelMember(ctx context.Context, args struct{ ... }) (*ChannelMemberResolver, error)
- func (t *Mutation) AddTeamMember(ctx context.Context, args struct{ ... }) (*TeamMemberResolver, error)
- func (t *Mutation) CreateChannel(ctx context.Context, args struct{ ... }) (*CreateChannelResolver, error)
- func (t *Mutation) CreateTeam(ctx context.Context, args struct{ ... }) (*CreateTeamResolver, error)
- func (t *Mutation) CreateUser(ctx context.Context, args struct{ ... }) (*CreateUserResolver, error)
- func (t *Mutation) DeleteChannelMember(ctx context.Context, args struct{ ... }) (*ChannelMemberResolver, error)
- func (t *Mutation) DeleteTeamMember(ctx context.Context, args struct{ ... }) (*TeamMemberResolver, error)
- func (t *Mutation) SendMessage(ctx context.Context, args struct{ ... }) (*SendMessageResolver, error)
- type Resolver
- func (t *Resolver) Channel(ctx context.Context, args struct{ ... }) (*ChannelResolver, error)
- func (t *Resolver) ChannelMessageList(ctx context.Context, args struct{ ... }) ([]*MessageResolver, error)
- func (t *Resolver) Ping(ctx context.Context) string
- func (t *Resolver) Team(ctx context.Context, args struct{ ... }) (*TeamResolver, error)
- func (t *Resolver) TeamChannelList(ctx context.Context, args struct{ ... }) ([]*ChannelResolver, error)
- func (t *Resolver) User(ctx context.Context, args struct{ ... }) (*UserResolver, error)
- func (t *Resolver) UserList(ctx context.Context) ([]*UserResolver, error)
- func (t *Resolver) UserTeamList(ctx context.Context, args struct{ ... }) ([]*TeamResolver, error)
- type SendMessageInput
- type SendMessageResolver
- type TeamMemberInput
- type TeamMemberResolver
- type TeamResolver
- func (t *TeamResolver) Channels(ctx context.Context) ([]*ChannelResolver, error)
- func (t *TeamResolver) Id() graphql.ID
- func (t *TeamResolver) Members(ctx context.Context) ([]*UserResolver, error)
- func (t *TeamResolver) Name() string
- func (t *TeamResolver) Owner(ctx context.Context) (*UserResolver, error)
- type UserResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Aggregator ¶
func Aggregator(ctx context.Context) domain.Aggregator
Types ¶
type ChannelMemberInput ¶
type ChannelMemberResolver ¶
type ChannelMemberResolver struct {
// contains filtered or unexported fields
}
func (*ChannelMemberResolver) Ok ¶
func (t *ChannelMemberResolver) Ok() bool
type ChannelResolver ¶
type ChannelResolver struct {
// contains filtered or unexported fields
}
func (*ChannelResolver) Id ¶
func (t *ChannelResolver) Id() graphql.ID
func (*ChannelResolver) IsPublic ¶
func (t *ChannelResolver) IsPublic() bool
func (*ChannelResolver) Members ¶
func (t *ChannelResolver) Members(ctx context.Context) ([]*UserResolver, error)
func (*ChannelResolver) Messages ¶
func (t *ChannelResolver) Messages(ctx context.Context) ([]*MessageResolver, error)
func (*ChannelResolver) Name ¶
func (t *ChannelResolver) Name() string
func (*ChannelResolver) Owner ¶
func (t *ChannelResolver) Owner(ctx context.Context) (*UserResolver, error)
func (*ChannelResolver) Team ¶
func (t *ChannelResolver) Team(ctx context.Context) (*TeamResolver, error)
type CreateChannelInput ¶
type CreateChannelResolver ¶
type CreateChannelResolver struct {
// contains filtered or unexported fields
}
func (*CreateChannelResolver) Channel ¶
func (t *CreateChannelResolver) Channel(ctx context.Context) (*ChannelResolver, error)
type CreateTeamInput ¶
type CreateTeamResolver ¶
type CreateTeamResolver struct {
// contains filtered or unexported fields
}
func (*CreateTeamResolver) Team ¶
func (t *CreateTeamResolver) Team(ctx context.Context) (*TeamResolver, error)
type CreateUserInput ¶
type CreateUserResolver ¶
type CreateUserResolver struct {
// contains filtered or unexported fields
}
func (*CreateUserResolver) User ¶
func (t *CreateUserResolver) User(ctx context.Context) (*UserResolver, error)
type MessageResolver ¶
type MessageResolver struct {
// contains filtered or unexported fields
}
func (*MessageResolver) Channel ¶
func (t *MessageResolver) Channel(ctx context.Context) (*ChannelResolver, error)
func (*MessageResolver) Id ¶
func (t *MessageResolver) Id() graphql.ID
func (*MessageResolver) Text ¶
func (t *MessageResolver) Text() string
func (*MessageResolver) Timestamp ¶
func (t *MessageResolver) Timestamp() string
func (*MessageResolver) User ¶
func (t *MessageResolver) User(ctx context.Context) (*UserResolver, error)
type Mutation ¶
type Mutation struct { }
func (*Mutation) AddChannelMember ¶
func (t *Mutation) AddChannelMember(ctx context.Context, args struct { Input ChannelMemberInput }) (*ChannelMemberResolver, error)
func (*Mutation) AddTeamMember ¶
func (t *Mutation) AddTeamMember(ctx context.Context, args struct { Input TeamMemberInput }) (*TeamMemberResolver, error)
func (*Mutation) CreateChannel ¶
func (t *Mutation) CreateChannel(ctx context.Context, args struct { Input CreateChannelInput }) (*CreateChannelResolver, error)
func (*Mutation) CreateTeam ¶
func (t *Mutation) CreateTeam(ctx context.Context, args struct { Input CreateTeamInput }) (*CreateTeamResolver, error)
func (*Mutation) CreateUser ¶
func (t *Mutation) CreateUser(ctx context.Context, args struct { Input CreateUserInput }) (*CreateUserResolver, error)
func (*Mutation) DeleteChannelMember ¶
func (t *Mutation) DeleteChannelMember(ctx context.Context, args struct { Input ChannelMemberInput }) (*ChannelMemberResolver, error)
func (*Mutation) DeleteTeamMember ¶
func (t *Mutation) DeleteTeamMember(ctx context.Context, args struct { Input TeamMemberInput }) (*TeamMemberResolver, error)
func (*Mutation) SendMessage ¶
func (t *Mutation) SendMessage(ctx context.Context, args struct { Input SendMessageInput }) (*SendMessageResolver, error)
type Resolver ¶
type Resolver struct {
*Mutation
}
func (*Resolver) ChannelMessageList ¶
func (*Resolver) TeamChannelList ¶
func (*Resolver) UserList ¶
func (t *Resolver) UserList(ctx context.Context) ([]*UserResolver, error)
func (*Resolver) UserTeamList ¶
type SendMessageInput ¶
type SendMessageResolver ¶
type SendMessageResolver struct {
// contains filtered or unexported fields
}
func (*SendMessageResolver) Ok ¶
func (t *SendMessageResolver) Ok() bool
type TeamMemberInput ¶
type TeamMemberResolver ¶
type TeamMemberResolver struct {
// contains filtered or unexported fields
}
func (*TeamMemberResolver) Ok ¶
func (t *TeamMemberResolver) Ok() bool
type TeamResolver ¶
type TeamResolver struct {
// contains filtered or unexported fields
}
func (*TeamResolver) Channels ¶
func (t *TeamResolver) Channels(ctx context.Context) ([]*ChannelResolver, error)
func (*TeamResolver) Id ¶
func (t *TeamResolver) Id() graphql.ID
func (*TeamResolver) Members ¶
func (t *TeamResolver) Members(ctx context.Context) ([]*UserResolver, error)
func (*TeamResolver) Name ¶
func (t *TeamResolver) Name() string
func (*TeamResolver) Owner ¶
func (t *TeamResolver) Owner(ctx context.Context) (*UserResolver, error)
type UserResolver ¶
type UserResolver struct {
// contains filtered or unexported fields
}
func (*UserResolver) Email ¶
func (t *UserResolver) Email() string
func (*UserResolver) Id ¶
func (t *UserResolver) Id() graphql.ID
func (*UserResolver) Password ¶
func (t *UserResolver) Password() string
func (*UserResolver) Teams ¶
func (t *UserResolver) Teams(ctx context.Context) ([]*TeamResolver, error)
func (*UserResolver) Username ¶
func (t *UserResolver) Username() string
Click to show internal directories.
Click to hide internal directories.