Documentation ¶
Index ¶
- type Resolver
- func (r *Resolver) Contact() generated.ContactResolver
- func (r *Resolver) ContactGroup() generated.ContactGroupResolver
- func (r *Resolver) ContactRole() generated.ContactRoleResolver
- func (r *Resolver) Conversation() generated.ConversationResolver
- func (r *Resolver) CustomField() generated.CustomFieldResolver
- func (r *Resolver) EntityTemplate() generated.EntityTemplateResolver
- func (r *Resolver) FieldSet() generated.FieldSetResolver
- func (r *Resolver) FieldSetTemplate() generated.FieldSetTemplateResolver
- func (r *Resolver) Mutation() generated.MutationResolver
- func (r *Resolver) Note() generated.NoteResolver
- func (r *Resolver) Organization() generated.OrganizationResolver
- func (r *Resolver) Query() generated.QueryResolver
- func (r *Resolver) User() generated.UserResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct { ContactCreate func(ctx context.Context, input model.ContactInput) (*model.Contact, error) ConversationCreate func(ctx context.Context, input model.ConversationInput) (*model.Conversation, error) GetContactByEmail func(ctx context.Context, email string) (*model.Contact, error) GetContactByPhone func(ctx context.Context, e164 string) (*model.Contact, error) GetContactById func(ctx context.Context, id string) (*model.Contact, error) PhoneNumbersByContact func(ctx context.Context, obj *model.Contact) ([]*model.PhoneNumber, error) EmailsByContact func(ctx context.Context, obj *model.Contact) ([]*model.Email, error) }
func (*Resolver) Contact ¶
func (r *Resolver) Contact() generated.ContactResolver
Contact returns generated.ContactResolver implementation.
func (*Resolver) ContactGroup ¶
func (r *Resolver) ContactGroup() generated.ContactGroupResolver
ContactGroup returns generated.ContactGroupResolver implementation.
func (*Resolver) ContactRole ¶
func (r *Resolver) ContactRole() generated.ContactRoleResolver
ContactRole returns generated.ContactRoleResolver implementation.
func (*Resolver) Conversation ¶
func (r *Resolver) Conversation() generated.ConversationResolver
Conversation returns generated.ConversationResolver implementation.
func (*Resolver) CustomField ¶
func (r *Resolver) CustomField() generated.CustomFieldResolver
CustomField returns generated.CustomFieldResolver implementation.
func (*Resolver) EntityTemplate ¶
func (r *Resolver) EntityTemplate() generated.EntityTemplateResolver
EntityTemplate returns generated.EntityTemplateResolver implementation.
func (*Resolver) FieldSet ¶
func (r *Resolver) FieldSet() generated.FieldSetResolver
FieldSet returns generated.FieldSetResolver implementation.
func (*Resolver) FieldSetTemplate ¶
func (r *Resolver) FieldSetTemplate() generated.FieldSetTemplateResolver
FieldSetTemplate returns generated.FieldSetTemplateResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Note ¶
func (r *Resolver) Note() generated.NoteResolver
Note returns generated.NoteResolver implementation.
func (*Resolver) Organization ¶
func (r *Resolver) Organization() generated.OrganizationResolver
Organization returns generated.OrganizationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) User ¶
func (r *Resolver) User() generated.UserResolver
User returns generated.UserResolver implementation.
Source Files ¶
- contact.resolvers.go
- contact_group.resolvers.go
- contact_role.resolvers.go
- contact_type.resolvers.go
- conversation.resolvers.go
- custom_field.resolvers.go
- email.resolvers.go
- entity_template.resolvers.go
- generate.go
- mutation.resolvers.go
- note.resolvers.go
- organization.resolvers.go
- organization_type.resolvers.go
- phone.resolvers.go
- query.resolvers.go
- resolver.go
- user.resolvers.go