Documentation ¶
Index ¶
- Variables
- func AddUserMutation() *graphql.Field
- func ExecuteQuery(query string, schema graphql.Schema) *graphql.Result
- func GroupQuery() *graphql.Field
- func ImageQuery() *graphql.Field
- func ImagesQuery() *graphql.Field
- func LoginQuery() *graphql.Field
- func UpdateUserToken() *graphql.Field
- func UserQuery() *graphql.Field
- type Root
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupGraphqlType graphql.Type
GroupGraphqlType defines the structure of the Group object Graphql Schema
View Source
var ImageGraphqlType graphql.Type
ImageGraphqlType is the graphql schema for an image
View Source
var ProfileGraphqlType graphql.Type
ProfileGraphqlType is the graphql schema for a Profile
View Source
var RoleGraphqlType graphql.Type
RoleGraphqlType contains the graphql schema for a role
View Source
var UserGraphqlType graphql.Type
UserGraphqlType Controls the Schema for Users
Functions ¶
func AddUserMutation ¶
AddUserMutation is used to add a new user
func ExecuteQuery ¶
ExecuteQuery runs our graphql queries
func GroupQuery ¶
GroupQuery finds groups with 3 different identifications: id: The ID of the group, as a UUID owner_id: The ID of the user that owns the group name: The actual name of the group
func ImageQuery ¶
ImageQuery retrieves images based on multiple query types
Types ¶
Click to show internal directories.
Click to hide internal directories.