Documentation ¶
Index ¶
- type DeleteOrganizationArgs
- type GraphQLOrganizationHandler
- func (r *GraphQLOrganizationHandler) CreateOrganization(ctx context.Context, args *OrganizationInputArgs) (*schema.OrganizationSchema, error)
- func (r *GraphQLOrganizationHandler) DeleteOrganization(ctx context.Context, args *DeleteOrganizationArgs) (*schema.OrganizationSchema, error)
- func (r *GraphQLOrganizationHandler) Organization(ctx context.Context, args *OrganizationQueryArgs) (*schema.OrganizationSchema, error)
- func (r *GraphQLOrganizationHandler) Organizations(ctx context.Context, args *OrganizationsQueryArgs) (*schema.OrganizationListResolver, error)
- type OrganizationInputArgs
- type OrganizationQueryArgs
- type OrganizationsArgs
- type OrganizationsQueryArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteOrganizationArgs ¶
type DeleteOrganizationArgs struct {
ID graphql.ID
}
DeleteOrganizationArgs input
type GraphQLOrganizationHandler ¶
type GraphQLOrganizationHandler struct {
OrganizationUsecase usecase.OrganizationUsecase
}
GraphQLOrganizationHandler struct Handler means Resolver
func (*GraphQLOrganizationHandler) CreateOrganization ¶
func (r *GraphQLOrganizationHandler) CreateOrganization(ctx context.Context, args *OrganizationInputArgs) (*schema.OrganizationSchema, error)
CreateOrganization mutation
func (*GraphQLOrganizationHandler) DeleteOrganization ¶
func (r *GraphQLOrganizationHandler) DeleteOrganization(ctx context.Context, args *DeleteOrganizationArgs) (*schema.OrganizationSchema, error)
DeleteOrganization mutation
func (*GraphQLOrganizationHandler) Organization ¶
func (r *GraphQLOrganizationHandler) Organization(ctx context.Context, args *OrganizationQueryArgs) (*schema.OrganizationSchema, error)
Organization Query function
func (*GraphQLOrganizationHandler) Organizations ¶
func (r *GraphQLOrganizationHandler) Organizations(ctx context.Context, args *OrganizationsQueryArgs) (*schema.OrganizationListResolver, error)
Organizations Query function
type OrganizationInputArgs ¶
type OrganizationInputArgs struct {
Organization schema.OrganizationSchemaInput
}
OrganizationInputArgs input
type OrganizationQueryArgs ¶
type OrganizationQueryArgs struct {
ID graphql.ID
}
OrganizationQueryArgs args
type OrganizationsArgs ¶
type OrganizationsArgs struct { Query *string Limit *float64 Page *float64 OrderBy *string Sort *string }
OrganizationsArgs struct
type OrganizationsQueryArgs ¶
type OrganizationsQueryArgs struct {
OrganizationsArgs *OrganizationsArgs
}
OrganizationsQueryArgs args
Click to show internal directories.
Click to hide internal directories.