Documentation ¶
Index ¶
- Variables
- type Book
- func (*Book) Argument() graphql.FieldConfigArgument
- func (*Book) Descriptor() ([]byte, []int)deprecated
- func (x *Book) GetAcademic() *Book_Academic
- func (x *Book) GetAdmin() bool
- func (x *Book) GetAuthor() string
- func (x *Book) GetBiography() *Book_Biography
- func (x *Book) GetBookPrice() map[string]int32
- func (x *Book) GetCategory() v1.Category
- func (x *Book) GetChapters() map[int32]string
- func (x *Book) GetCharacters() map[string]*v1.Character
- func (x *Book) GetClient() bool
- func (x *Book) GetGallery() [][]byte
- func (x *Book) GetKey() string
- func (x *Book) GetMainReview() *Book_Review
- func (x *Book) GetManager() bool
- func (x *Book) GetNovel() *Book_Novel
- func (x *Book) GetOther() string
- func (x *Book) GetPoetry() *Book_Poetry
- func (x *Book) GetPortrait() []byte
- func (x *Book) GetReviews() []*Book_Review
- func (m *Book) GetRole() isBook_Role
- func (x *Book) GetShortStory() *Book_ShortStory
- func (x *Book) GetTags() []string
- func (x *Book) GetTitle() string
- func (m *Book) GetType() isBook_Type
- func (*Book) Object() *graphql.Object
- func (*Book) Output() graphql.Output
- func (*Book) ProtoMessage()
- func (x *Book) ProtoReflect() protoreflect.Message
- func (x *Book) Reset()
- func (*Book) Schema() map[string]interface{}
- func (x *Book) String() string
- func (o *Book) UnmarshalJSON(b []byte) error
- func (o *Book) UnmarshalMap(values map[string]interface{})
- type Book_Academic
- func (*Book_Academic) Argument() graphql.FieldConfigArgument
- func (*Book_Academic) Descriptor() ([]byte, []int)deprecated
- func (x *Book_Academic) GetEdition() int32
- func (x *Book_Academic) GetSubject() string
- func (*Book_Academic) Object() *graphql.Object
- func (*Book_Academic) Output() graphql.Output
- func (*Book_Academic) ProtoMessage()
- func (x *Book_Academic) ProtoReflect() protoreflect.Message
- func (x *Book_Academic) Reset()
- func (*Book_Academic) Schema() map[string]interface{}
- func (x *Book_Academic) String() string
- func (o *Book_Academic) UnmarshalJSON(b []byte) error
- func (o *Book_Academic) UnmarshalMap(values map[string]interface{})
- type Book_Academic_
- type Book_Admin
- type Book_Biography
- func (*Book_Biography) Argument() graphql.FieldConfigArgument
- func (*Book_Biography) Descriptor() ([]byte, []int)deprecated
- func (x *Book_Biography) GetNotableAchievements() string
- func (x *Book_Biography) GetSubjectPerson() string
- func (*Book_Biography) Object() *graphql.Object
- func (*Book_Biography) Output() graphql.Output
- func (*Book_Biography) ProtoMessage()
- func (x *Book_Biography) ProtoReflect() protoreflect.Message
- func (x *Book_Biography) Reset()
- func (*Book_Biography) Schema() map[string]interface{}
- func (x *Book_Biography) String() string
- func (o *Book_Biography) UnmarshalJSON(b []byte) error
- func (o *Book_Biography) UnmarshalMap(values map[string]interface{})
- type Book_Biography_
- type Book_Client
- type Book_Manager
- type Book_Novel
- func (*Book_Novel) Argument() graphql.FieldConfigArgument
- func (*Book_Novel) Descriptor() ([]byte, []int)deprecated
- func (x *Book_Novel) GetGenre() string
- func (x *Book_Novel) GetPublicationYear() int32
- func (*Book_Novel) Object() *graphql.Object
- func (*Book_Novel) Output() graphql.Output
- func (*Book_Novel) ProtoMessage()
- func (x *Book_Novel) ProtoReflect() protoreflect.Message
- func (x *Book_Novel) Reset()
- func (*Book_Novel) Schema() map[string]interface{}
- func (x *Book_Novel) String() string
- func (o *Book_Novel) UnmarshalJSON(b []byte) error
- func (o *Book_Novel) UnmarshalMap(values map[string]interface{})
- type Book_Novel_
- type Book_Other
- type Book_Poetry
- func (*Book_Poetry) Argument() graphql.FieldConfigArgument
- func (*Book_Poetry) Descriptor() ([]byte, []int)deprecated
- func (x *Book_Poetry) GetIsAnthology() bool
- func (x *Book_Poetry) GetStyle() string
- func (*Book_Poetry) Object() *graphql.Object
- func (*Book_Poetry) Output() graphql.Output
- func (*Book_Poetry) ProtoMessage()
- func (x *Book_Poetry) ProtoReflect() protoreflect.Message
- func (x *Book_Poetry) Reset()
- func (*Book_Poetry) Schema() map[string]interface{}
- func (x *Book_Poetry) String() string
- func (o *Book_Poetry) UnmarshalJSON(b []byte) error
- func (o *Book_Poetry) UnmarshalMap(values map[string]interface{})
- type Book_Poetry_
- type Book_Review
- func (*Book_Review) Argument() graphql.FieldConfigArgument
- func (*Book_Review) Descriptor() ([]byte, []int)deprecated
- func (x *Book_Review) GetMessage() string
- func (x *Book_Review) GetUserName() string
- func (*Book_Review) Object() *graphql.Object
- func (*Book_Review) Output() graphql.Output
- func (*Book_Review) ProtoMessage()
- func (x *Book_Review) ProtoReflect() protoreflect.Message
- func (x *Book_Review) Reset()
- func (*Book_Review) Schema() map[string]interface{}
- func (x *Book_Review) String() string
- func (o *Book_Review) UnmarshalJSON(b []byte) error
- func (o *Book_Review) UnmarshalMap(values map[string]interface{})
- type Book_ShortStory
- func (*Book_ShortStory) Argument() graphql.FieldConfigArgument
- func (*Book_ShortStory) Descriptor() ([]byte, []int)deprecated
- func (x *Book_ShortStory) GetIsCollection() bool
- func (x *Book_ShortStory) GetLengthPages() int32
- func (*Book_ShortStory) Object() *graphql.Object
- func (*Book_ShortStory) Output() graphql.Output
- func (*Book_ShortStory) ProtoMessage()
- func (x *Book_ShortStory) ProtoReflect() protoreflect.Message
- func (x *Book_ShortStory) Reset()
- func (*Book_ShortStory) Schema() map[string]interface{}
- func (x *Book_ShortStory) String() string
- func (o *Book_ShortStory) UnmarshalJSON(b []byte) error
- func (o *Book_ShortStory) UnmarshalMap(values map[string]interface{})
- type Book_ShortStory_
- type Client
- func (*Client) Argument() graphql.FieldConfigArgument
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetEmail() string
- func (x *Client) GetKey() string
- func (x *Client) GetMember() bool
- func (x *Client) GetName() string
- func (*Client) Object() *graphql.Object
- func (*Client) Output() graphql.Output
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (*Client) Schema() map[string]interface{}
- func (x *Client) String() string
- func (o *Client) UnmarshalJSON(b []byte) error
- func (o *Client) UnmarshalMap(values map[string]interface{})
- type DeleteBookRequest
- func (*DeleteBookRequest) Argument() graphql.FieldConfigArgument
- func (*DeleteBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBookRequest) GetKey() string
- func (*DeleteBookRequest) Object() *graphql.Object
- func (*DeleteBookRequest) Output() graphql.Output
- func (*DeleteBookRequest) ProtoMessage()
- func (x *DeleteBookRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBookRequest) Reset()
- func (x *DeleteBookRequest) String() string
- type Library
- func (*Library) Argument() graphql.FieldConfigArgument
- func (*Library) Descriptor() ([]byte, []int)deprecated
- func (x *Library) GetCategories() []v1.Category
- func (x *Library) GetCountry() v12.Country
- func (x *Library) GetKey() string
- func (x *Library) GetLocation() *v11.Location
- func (x *Library) GetName() string
- func (*Library) Object() *graphql.Object
- func (*Library) Output() graphql.Output
- func (*Library) ProtoMessage()
- func (x *Library) ProtoReflect() protoreflect.Message
- func (x *Library) Reset()
- func (*Library) Schema() map[string]interface{}
- func (x *Library) String() string
- func (o *Library) UnmarshalJSON(b []byte) error
- func (o *Library) UnmarshalMap(values map[string]interface{})
- type ListBooksResponse
- func (*ListBooksResponse) Argument() graphql.FieldConfigArgument
- func (*ListBooksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBooksResponse) GetBooks() []*Book
- func (*ListBooksResponse) Object() *graphql.Object
- func (*ListBooksResponse) Output() graphql.Output
- func (*ListBooksResponse) ProtoMessage()
- func (x *ListBooksResponse) ProtoReflect() protoreflect.Message
- func (x *ListBooksResponse) Reset()
- func (x *ListBooksResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var Book_Academic_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Book_Academic_Input", Fields: graphql.InputObjectConfigFieldMap{ "subject": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "edition": &graphql.InputObjectFieldConfig{ Type: graphql.Int, }, }, })
var Book_Academic_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Book_Academic", Fields: graphql.Fields{ "subject": &graphql.Field{ Type: graphql.String, }, "edition": &graphql.Field{ Type: graphql.Int, }, }, Description: "", })
var Book_Biography_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Book_Biography_Input", Fields: graphql.InputObjectConfigFieldMap{ "subjectPerson": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "notableAchievements": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
var Book_Biography_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Book_Biography", Fields: graphql.Fields{ "subjectPerson": &graphql.Field{ Type: graphql.String, }, "notableAchievements": &graphql.Field{ Type: graphql.String, }, }, Description: "", })
var Book_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Book_Input", Fields: graphql.InputObjectConfigFieldMap{ "_key": &graphql.InputObjectFieldConfig{ Type: graphql.ID, }, "title": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "author": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "mainReview": &graphql.InputObjectFieldConfig{ Type: Book_Review_Input, }, "reviews": &graphql.InputObjectFieldConfig{ Type: graphql.NewList(Book_Review_Input), }, "tags": &graphql.InputObjectFieldConfig{ Type: graphql.NewList(graphql.String), }, "bookPrice": &graphql.InputObjectFieldConfig{ Type: utils.JSON, }, "chapters": &graphql.InputObjectFieldConfig{ Type: utils.JSON, }, "characters": &graphql.InputObjectFieldConfig{ Type: utils.JSON, }, "portrait": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "gallery": &graphql.InputObjectFieldConfig{ Type: graphql.NewList(graphql.String), }, "category": &graphql.InputObjectFieldConfig{ Type: v1.Category_Enum, }, "Type": &graphql.InputObjectFieldConfig{ Type: utils.JSON, }, "Role": &graphql.InputObjectFieldConfig{ Type: utils.JSON, }, }, })
var Book_Novel_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Book_Novel_Input", Fields: graphql.InputObjectConfigFieldMap{ "genre": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "publicationYear": &graphql.InputObjectFieldConfig{ Type: graphql.Int, }, }, })
var Book_Novel_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Book_Novel", Fields: graphql.Fields{ "genre": &graphql.Field{ Type: graphql.String, }, "publicationYear": &graphql.Field{ Type: graphql.Int, }, }, Description: "", })
var Book_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Book", Fields: graphql.Fields{ "_key": &graphql.Field{ Type: graphql.ID, }, "title": &graphql.Field{ Type: graphql.String, }, "author": &graphql.Field{ Type: graphql.String, }, "mainReview": &graphql.Field{ Type: Book_Review_Object, }, "reviews": &graphql.Field{ Type: graphql.NewList(Book_Review_Object), }, "tags": &graphql.Field{ Type: graphql.NewList(graphql.String), }, "bookPrice": &graphql.Field{ Type: utils.JSON, }, "chapters": &graphql.Field{ Type: utils.JSON, }, "characters": &graphql.Field{ Type: utils.JSON, }, "portrait": &graphql.Field{ Type: utils.Bytes, }, "gallery": &graphql.Field{ Type: graphql.NewList(utils.Bytes), }, "category": &graphql.Field{ Type: v1.Category_Enum, }, "Type": &graphql.Field{ Type: graphql.NewUnion(graphql.UnionConfig{ Name: "Book_Type", Types: []*graphql.Object{ option_Book_Novel_, option_Book_ShortStory_, option_Book_Academic_, option_Book_Poetry_, option_Book_Biography_, }, ResolveType: func(p graphql.ResolveTypeParams) *graphql.Object { switch p.Value.(type) { case *Book_Novel_: return option_Book_Novel_ case *Book_ShortStory_: return option_Book_ShortStory_ case *Book_Academic_: return option_Book_Academic_ case *Book_Poetry_: return option_Book_Poetry_ case *Book_Biography_: return option_Book_Biography_ default: return nil } }, }), }, "Role": &graphql.Field{ Type: graphql.NewUnion(graphql.UnionConfig{ Name: "Book_Role", Types: []*graphql.Object{ option_Book_Admin, option_Book_Manager, option_Book_Client, option_Book_Other, }, ResolveType: func(p graphql.ResolveTypeParams) *graphql.Object { switch p.Value.(type) { case *Book_Admin: return option_Book_Admin case *Book_Manager: return option_Book_Manager case *Book_Client: return option_Book_Client case *Book_Other: return option_Book_Other default: return nil } }, }), }, }, Description: "", })
var Book_Poetry_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Book_Poetry_Input", Fields: graphql.InputObjectConfigFieldMap{ "style": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "isAnthology": &graphql.InputObjectFieldConfig{ Type: graphql.Boolean, }, }, })
var Book_Poetry_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Book_Poetry", Fields: graphql.Fields{ "style": &graphql.Field{ Type: graphql.String, }, "isAnthology": &graphql.Field{ Type: graphql.Boolean, }, }, Description: "", })
var Book_Review_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Book_Review_Input", Fields: graphql.InputObjectConfigFieldMap{ "message": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "name": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
var Book_Review_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Book_Review", Fields: graphql.Fields{ "message": &graphql.Field{ Type: graphql.String, }, "name": &graphql.Field{ Type: graphql.String, }, }, Description: "", })
var Book_ShortStory_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Book_ShortStory_Input", Fields: graphql.InputObjectConfigFieldMap{ "lengthPages": &graphql.InputObjectFieldConfig{ Type: graphql.Int, }, "isCollection": &graphql.InputObjectFieldConfig{ Type: graphql.Boolean, }, }, })
var Book_ShortStory_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Book_ShortStory", Fields: graphql.Fields{ "lengthPages": &graphql.Field{ Type: graphql.Int, }, "isCollection": &graphql.Field{ Type: graphql.Boolean, }, }, Description: "", })
var Client_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Client_Input", Fields: graphql.InputObjectConfigFieldMap{ "_key": &graphql.InputObjectFieldConfig{ Type: graphql.ID, }, "name": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "email": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "member": &graphql.InputObjectFieldConfig{ Type: graphql.Boolean, }, }, })
var Client_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Client", Fields: graphql.Fields{ "_key": &graphql.Field{ Type: graphql.ID, }, "name": &graphql.Field{ Type: graphql.String, }, "email": &graphql.Field{ Type: graphql.String, }, "member": &graphql.Field{ Type: graphql.Boolean, }, }, Description: "", })
var DeleteBookRequest_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "DeleteBookRequest_Input", Fields: graphql.InputObjectConfigFieldMap{ "key": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
var DeleteBookRequest_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "DeleteBookRequest", Fields: graphql.Fields{ "key": &graphql.Field{ Type: graphql.String, }, }, Description: "", })
var File_library_v1_book_proto protoreflect.FileDescriptor
var File_library_v1_client_proto protoreflect.FileDescriptor
var File_library_v1_library_proto protoreflect.FileDescriptor
var Library_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Library_Input", Fields: graphql.InputObjectConfigFieldMap{ "_key": &graphql.InputObjectFieldConfig{ Type: graphql.ID, }, "name": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "categories": &graphql.InputObjectFieldConfig{ Type: graphql.NewList(v1.Category_Enum), }, "location": &graphql.InputObjectFieldConfig{ Type: v11.Location_Input, }, "country": &graphql.InputObjectFieldConfig{ Type: v12.Country_Enum, }, }, })
var Library_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Library", Fields: graphql.Fields{ "_key": &graphql.Field{ Type: graphql.ID, }, "name": &graphql.Field{ Type: graphql.String, }, "categories": &graphql.Field{ Type: graphql.NewList(v1.Category_Enum), }, "location": &graphql.Field{ Type: v11.Location_Object, }, "country": &graphql.Field{ Type: v12.Country_Enum, }, }, Description: "", })
var ListBooksResponse_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "ListBooksResponse_Input", Fields: graphql.InputObjectConfigFieldMap{ "books": &graphql.InputObjectFieldConfig{ Type: graphql.NewList(Book_Input), }, }, })
var ListBooksResponse_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "ListBooksResponse", Fields: graphql.Fields{ "books": &graphql.Field{ Type: graphql.NewList(Book_Object), }, }, Description: "", })
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Author string `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"` // Types that are assignable to Type: // // *Book_Novel_ // *Book_ShortStory_ // *Book_Academic_ // *Book_Poetry_ // *Book_Biography_ Type isBook_Type `protobuf_oneof:"type"` MainReview *Book_Review `protobuf:"bytes,9,opt,name=mainReview,proto3" json:"mainReview,omitempty"` Reviews []*Book_Review `protobuf:"bytes,10,rep,name=reviews,proto3" json:"reviews,omitempty"` Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` BookPrice map[string]int32 `` /* 161-byte string literal not displayed */ Chapters map[int32]string `` /* 159-byte string literal not displayed */ Characters map[string]*v1.Character `` /* 162-byte string literal not displayed */ Portrait []byte `protobuf:"bytes,15,opt,name=portrait,proto3" json:"portrait,omitempty"` Gallery [][]byte `protobuf:"bytes,16,rep,name=gallery,proto3" json:"gallery,omitempty"` Category v1.Category `protobuf:"varint,17,opt,name=category,proto3,enum=common.v1.Category" json:"category,omitempty"` // Types that are assignable to Role: // // *Book_Admin // *Book_Manager // *Book_Client // *Book_Other Role isBook_Role `protobuf_oneof:"role"` // contains filtered or unexported fields }
func (*Book) Argument ¶ added in v0.1.1
func (*Book) Argument() graphql.FieldConfigArgument
Argument ...
func (*Book) Descriptor
deprecated
func (*Book) GetAcademic ¶
func (x *Book) GetAcademic() *Book_Academic
func (*Book) GetBiography ¶
func (x *Book) GetBiography() *Book_Biography
func (*Book) GetBookPrice ¶
func (*Book) GetCategory ¶
func (*Book) GetChapters ¶
func (*Book) GetCharacters ¶ added in v0.0.2
func (*Book) GetGallery ¶
func (*Book) GetMainReview ¶
func (x *Book) GetMainReview() *Book_Review
func (*Book) GetManager ¶ added in v0.0.12
func (*Book) GetNovel ¶
func (x *Book) GetNovel() *Book_Novel
func (*Book) GetPoetry ¶
func (x *Book) GetPoetry() *Book_Poetry
func (*Book) GetPortrait ¶
func (*Book) GetReviews ¶
func (x *Book) GetReviews() []*Book_Review
func (*Book) GetShortStory ¶
func (x *Book) GetShortStory() *Book_ShortStory
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
func (*Book) UnmarshalJSON ¶ added in v0.0.12
UnmarshalJSON ...
func (*Book) UnmarshalMap ¶ added in v0.0.12
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type Book_Academic ¶
type Book_Academic struct { Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Edition int32 `protobuf:"varint,2,opt,name=edition,proto3" json:"edition,omitempty"` // contains filtered or unexported fields }
func (*Book_Academic) Argument ¶ added in v0.1.1
func (*Book_Academic) Argument() graphql.FieldConfigArgument
Argument ...
func (*Book_Academic) Descriptor
deprecated
func (*Book_Academic) Descriptor() ([]byte, []int)
Deprecated: Use Book_Academic.ProtoReflect.Descriptor instead.
func (*Book_Academic) GetEdition ¶
func (x *Book_Academic) GetEdition() int32
func (*Book_Academic) GetSubject ¶
func (x *Book_Academic) GetSubject() string
func (*Book_Academic) Object ¶ added in v0.1.1
func (*Book_Academic) Object() *graphql.Object
Object ...
func (*Book_Academic) Output ¶ added in v0.1.1
func (*Book_Academic) Output() graphql.Output
Output ...
func (*Book_Academic) ProtoMessage ¶
func (*Book_Academic) ProtoMessage()
func (*Book_Academic) ProtoReflect ¶
func (x *Book_Academic) ProtoReflect() protoreflect.Message
func (*Book_Academic) Reset ¶
func (x *Book_Academic) Reset()
func (*Book_Academic) Schema ¶ added in v0.0.10
func (*Book_Academic) Schema() map[string]interface{}
Schema ...
func (*Book_Academic) String ¶
func (x *Book_Academic) String() string
func (*Book_Academic) UnmarshalJSON ¶ added in v0.0.12
func (o *Book_Academic) UnmarshalJSON(b []byte) error
UnmarshalJSON ...
func (*Book_Academic) UnmarshalMap ¶ added in v0.0.12
func (o *Book_Academic) UnmarshalMap(values map[string]interface{})
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type Book_Academic_ ¶
type Book_Academic_ struct {
Academic *Book_Academic `protobuf:"bytes,6,opt,name=academic,proto3,oneof"`
}
type Book_Admin ¶ added in v0.0.12
type Book_Admin struct {
Admin bool `protobuf:"varint,18,opt,name=admin,proto3,oneof"`
}
type Book_Biography ¶
type Book_Biography struct { SubjectPerson string `protobuf:"bytes,1,opt,name=subjectPerson,proto3" json:"subjectPerson,omitempty"` NotableAchievements string `protobuf:"bytes,2,opt,name=notableAchievements,proto3" json:"notableAchievements,omitempty"` // contains filtered or unexported fields }
func (*Book_Biography) Argument ¶ added in v0.1.1
func (*Book_Biography) Argument() graphql.FieldConfigArgument
Argument ...
func (*Book_Biography) Descriptor
deprecated
func (*Book_Biography) Descriptor() ([]byte, []int)
Deprecated: Use Book_Biography.ProtoReflect.Descriptor instead.
func (*Book_Biography) GetNotableAchievements ¶
func (x *Book_Biography) GetNotableAchievements() string
func (*Book_Biography) GetSubjectPerson ¶
func (x *Book_Biography) GetSubjectPerson() string
func (*Book_Biography) Object ¶ added in v0.1.1
func (*Book_Biography) Object() *graphql.Object
Object ...
func (*Book_Biography) Output ¶ added in v0.1.1
func (*Book_Biography) Output() graphql.Output
Output ...
func (*Book_Biography) ProtoMessage ¶
func (*Book_Biography) ProtoMessage()
func (*Book_Biography) ProtoReflect ¶
func (x *Book_Biography) ProtoReflect() protoreflect.Message
func (*Book_Biography) Reset ¶
func (x *Book_Biography) Reset()
func (*Book_Biography) Schema ¶ added in v0.0.10
func (*Book_Biography) Schema() map[string]interface{}
Schema ...
func (*Book_Biography) String ¶
func (x *Book_Biography) String() string
func (*Book_Biography) UnmarshalJSON ¶ added in v0.0.12
func (o *Book_Biography) UnmarshalJSON(b []byte) error
UnmarshalJSON ...
func (*Book_Biography) UnmarshalMap ¶ added in v0.0.12
func (o *Book_Biography) UnmarshalMap(values map[string]interface{})
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type Book_Biography_ ¶
type Book_Biography_ struct {
Biography *Book_Biography `protobuf:"bytes,8,opt,name=biography,proto3,oneof"`
}
type Book_Client ¶ added in v0.0.12
type Book_Client struct {
Client bool `protobuf:"varint,20,opt,name=client,proto3,oneof"`
}
type Book_Manager ¶ added in v0.0.12
type Book_Manager struct {
Manager bool `protobuf:"varint,19,opt,name=manager,proto3,oneof"`
}
type Book_Novel ¶
type Book_Novel struct { Genre string `protobuf:"bytes,1,opt,name=genre,proto3" json:"genre,omitempty"` PublicationYear int32 `protobuf:"varint,2,opt,name=publicationYear,proto3" json:"publicationYear,omitempty"` // contains filtered or unexported fields }
func (*Book_Novel) Argument ¶ added in v0.1.1
func (*Book_Novel) Argument() graphql.FieldConfigArgument
Argument ...
func (*Book_Novel) Descriptor
deprecated
func (*Book_Novel) Descriptor() ([]byte, []int)
Deprecated: Use Book_Novel.ProtoReflect.Descriptor instead.
func (*Book_Novel) GetGenre ¶
func (x *Book_Novel) GetGenre() string
func (*Book_Novel) GetPublicationYear ¶
func (x *Book_Novel) GetPublicationYear() int32
func (*Book_Novel) ProtoMessage ¶
func (*Book_Novel) ProtoMessage()
func (*Book_Novel) ProtoReflect ¶
func (x *Book_Novel) ProtoReflect() protoreflect.Message
func (*Book_Novel) Reset ¶
func (x *Book_Novel) Reset()
func (*Book_Novel) Schema ¶ added in v0.0.10
func (*Book_Novel) Schema() map[string]interface{}
Schema ...
func (*Book_Novel) String ¶
func (x *Book_Novel) String() string
func (*Book_Novel) UnmarshalJSON ¶ added in v0.0.12
func (o *Book_Novel) UnmarshalJSON(b []byte) error
UnmarshalJSON ...
func (*Book_Novel) UnmarshalMap ¶ added in v0.0.12
func (o *Book_Novel) UnmarshalMap(values map[string]interface{})
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type Book_Novel_ ¶
type Book_Novel_ struct {
Novel *Book_Novel `protobuf:"bytes,4,opt,name=novel,proto3,oneof"`
}
type Book_Other ¶ added in v0.0.12
type Book_Other struct {
Other string `protobuf:"bytes,21,opt,name=other,proto3,oneof"`
}
type Book_Poetry ¶
type Book_Poetry struct { Style string `protobuf:"bytes,1,opt,name=style,proto3" json:"style,omitempty"` IsAnthology *bool `protobuf:"varint,2,opt,name=isAnthology,proto3,oneof" json:"isAnthology,omitempty"` // contains filtered or unexported fields }
func (*Book_Poetry) Argument ¶ added in v0.1.1
func (*Book_Poetry) Argument() graphql.FieldConfigArgument
Argument ...
func (*Book_Poetry) Descriptor
deprecated
func (*Book_Poetry) Descriptor() ([]byte, []int)
Deprecated: Use Book_Poetry.ProtoReflect.Descriptor instead.
func (*Book_Poetry) GetIsAnthology ¶
func (x *Book_Poetry) GetIsAnthology() bool
func (*Book_Poetry) GetStyle ¶
func (x *Book_Poetry) GetStyle() string
func (*Book_Poetry) Object ¶ added in v0.1.1
func (*Book_Poetry) Object() *graphql.Object
Object ...
func (*Book_Poetry) ProtoMessage ¶
func (*Book_Poetry) ProtoMessage()
func (*Book_Poetry) ProtoReflect ¶
func (x *Book_Poetry) ProtoReflect() protoreflect.Message
func (*Book_Poetry) Reset ¶
func (x *Book_Poetry) Reset()
func (*Book_Poetry) Schema ¶ added in v0.0.10
func (*Book_Poetry) Schema() map[string]interface{}
Schema ...
func (*Book_Poetry) String ¶
func (x *Book_Poetry) String() string
func (*Book_Poetry) UnmarshalJSON ¶ added in v0.0.12
func (o *Book_Poetry) UnmarshalJSON(b []byte) error
UnmarshalJSON ...
func (*Book_Poetry) UnmarshalMap ¶ added in v0.0.12
func (o *Book_Poetry) UnmarshalMap(values map[string]interface{})
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type Book_Poetry_ ¶
type Book_Poetry_ struct {
Poetry *Book_Poetry `protobuf:"bytes,7,opt,name=poetry,proto3,oneof"`
}
type Book_Review ¶
type Book_Review struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` UserName string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Book_Review) Argument ¶ added in v0.1.1
func (*Book_Review) Argument() graphql.FieldConfigArgument
Argument ...
func (*Book_Review) Descriptor
deprecated
func (*Book_Review) Descriptor() ([]byte, []int)
Deprecated: Use Book_Review.ProtoReflect.Descriptor instead.
func (*Book_Review) GetMessage ¶
func (x *Book_Review) GetMessage() string
func (*Book_Review) GetUserName ¶
func (x *Book_Review) GetUserName() string
func (*Book_Review) Object ¶ added in v0.1.1
func (*Book_Review) Object() *graphql.Object
Object ...
func (*Book_Review) ProtoMessage ¶
func (*Book_Review) ProtoMessage()
func (*Book_Review) ProtoReflect ¶
func (x *Book_Review) ProtoReflect() protoreflect.Message
func (*Book_Review) Reset ¶
func (x *Book_Review) Reset()
func (*Book_Review) Schema ¶ added in v0.0.10
func (*Book_Review) Schema() map[string]interface{}
Schema ...
func (*Book_Review) String ¶
func (x *Book_Review) String() string
func (*Book_Review) UnmarshalJSON ¶ added in v0.0.12
func (o *Book_Review) UnmarshalJSON(b []byte) error
UnmarshalJSON ...
func (*Book_Review) UnmarshalMap ¶ added in v0.0.12
func (o *Book_Review) UnmarshalMap(values map[string]interface{})
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type Book_ShortStory ¶
type Book_ShortStory struct { LengthPages int32 `protobuf:"varint,1,opt,name=lengthPages,proto3" json:"lengthPages,omitempty"` IsCollection *bool `protobuf:"varint,2,opt,name=isCollection,proto3,oneof" json:"isCollection,omitempty"` // contains filtered or unexported fields }
func (*Book_ShortStory) Argument ¶ added in v0.1.1
func (*Book_ShortStory) Argument() graphql.FieldConfigArgument
Argument ...
func (*Book_ShortStory) Descriptor
deprecated
func (*Book_ShortStory) Descriptor() ([]byte, []int)
Deprecated: Use Book_ShortStory.ProtoReflect.Descriptor instead.
func (*Book_ShortStory) GetIsCollection ¶
func (x *Book_ShortStory) GetIsCollection() bool
func (*Book_ShortStory) GetLengthPages ¶
func (x *Book_ShortStory) GetLengthPages() int32
func (*Book_ShortStory) Object ¶ added in v0.1.1
func (*Book_ShortStory) Object() *graphql.Object
Object ...
func (*Book_ShortStory) Output ¶ added in v0.1.1
func (*Book_ShortStory) Output() graphql.Output
Output ...
func (*Book_ShortStory) ProtoMessage ¶
func (*Book_ShortStory) ProtoMessage()
func (*Book_ShortStory) ProtoReflect ¶
func (x *Book_ShortStory) ProtoReflect() protoreflect.Message
func (*Book_ShortStory) Reset ¶
func (x *Book_ShortStory) Reset()
func (*Book_ShortStory) Schema ¶ added in v0.0.10
func (*Book_ShortStory) Schema() map[string]interface{}
Schema ...
func (*Book_ShortStory) String ¶
func (x *Book_ShortStory) String() string
func (*Book_ShortStory) UnmarshalJSON ¶ added in v0.0.12
func (o *Book_ShortStory) UnmarshalJSON(b []byte) error
UnmarshalJSON ...
func (*Book_ShortStory) UnmarshalMap ¶ added in v0.0.12
func (o *Book_ShortStory) UnmarshalMap(values map[string]interface{})
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type Book_ShortStory_ ¶
type Book_ShortStory_ struct {
ShortStory *Book_ShortStory `protobuf:"bytes,5,opt,name=shortStory,proto3,oneof"`
}
type Client ¶ added in v0.0.8
type Client struct { Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Member *bool `protobuf:"varint,4,opt,name=member,proto3,oneof" json:"member,omitempty"` // contains filtered or unexported fields }
func (*Client) Argument ¶ added in v0.1.1
func (*Client) Argument() graphql.FieldConfigArgument
Argument ...
func (*Client) Descriptor
deprecated
added in
v0.0.8
func (*Client) ProtoMessage ¶ added in v0.0.8
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶ added in v0.0.8
func (x *Client) ProtoReflect() protoreflect.Message
func (*Client) UnmarshalJSON ¶ added in v0.0.12
UnmarshalJSON ...
func (*Client) UnmarshalMap ¶ added in v0.0.12
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type DeleteBookRequest ¶ added in v0.1.1
type DeleteBookRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DeleteBookRequest) Argument ¶ added in v0.1.1
func (*DeleteBookRequest) Argument() graphql.FieldConfigArgument
Argument ...
func (*DeleteBookRequest) Descriptor
deprecated
added in
v0.1.1
func (*DeleteBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBookRequest.ProtoReflect.Descriptor instead.
func (*DeleteBookRequest) GetKey ¶ added in v0.1.1
func (x *DeleteBookRequest) GetKey() string
func (*DeleteBookRequest) Object ¶ added in v0.1.1
func (*DeleteBookRequest) Object() *graphql.Object
Object ...
func (*DeleteBookRequest) Output ¶ added in v0.1.1
func (*DeleteBookRequest) Output() graphql.Output
Output ...
func (*DeleteBookRequest) ProtoMessage ¶ added in v0.1.1
func (*DeleteBookRequest) ProtoMessage()
func (*DeleteBookRequest) ProtoReflect ¶ added in v0.1.1
func (x *DeleteBookRequest) ProtoReflect() protoreflect.Message
func (*DeleteBookRequest) Reset ¶ added in v0.1.1
func (x *DeleteBookRequest) Reset()
func (*DeleteBookRequest) String ¶ added in v0.1.1
func (x *DeleteBookRequest) String() string
type Library ¶ added in v0.0.12
type Library struct { Key string `protobuf:"bytes,1,opt,name=_key,proto3" json:"_key,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Categories []v1.Category `protobuf:"varint,3,rep,packed,name=categories,proto3,enum=common.v1.Category" json:"categories,omitempty"` Location *v11.Location `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` Country v12.Country `protobuf:"varint,5,opt,name=country,proto3,enum=graphify.collections.v1.Country" json:"country,omitempty"` // contains filtered or unexported fields }
func (*Library) Argument ¶ added in v0.1.0
func (*Library) Argument() graphql.FieldConfigArgument
Argument ...
func (*Library) Descriptor
deprecated
added in
v0.0.12
func (*Library) GetCategories ¶ added in v0.4.26
func (*Library) GetCountry ¶ added in v0.4.7
func (*Library) GetLocation ¶ added in v0.0.12
func (*Library) ProtoMessage ¶ added in v0.0.12
func (*Library) ProtoMessage()
func (*Library) ProtoReflect ¶ added in v0.0.12
func (x *Library) ProtoReflect() protoreflect.Message
func (*Library) UnmarshalJSON ¶ added in v0.0.12
UnmarshalJSON ...
func (*Library) UnmarshalMap ¶ added in v0.0.12
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
type ListBooksResponse ¶ added in v0.1.1
type ListBooksResponse struct { Books []*Book `protobuf:"bytes,1,rep,name=books,proto3" json:"books,omitempty"` // contains filtered or unexported fields }
func (*ListBooksResponse) Argument ¶ added in v0.1.1
func (*ListBooksResponse) Argument() graphql.FieldConfigArgument
Argument ...
func (*ListBooksResponse) Descriptor
deprecated
added in
v0.1.1
func (*ListBooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBooksResponse.ProtoReflect.Descriptor instead.
func (*ListBooksResponse) GetBooks ¶ added in v0.1.1
func (x *ListBooksResponse) GetBooks() []*Book
func (*ListBooksResponse) Object ¶ added in v0.1.1
func (*ListBooksResponse) Object() *graphql.Object
Object ...
func (*ListBooksResponse) Output ¶ added in v0.1.1
func (*ListBooksResponse) Output() graphql.Output
Output ...
func (*ListBooksResponse) ProtoMessage ¶ added in v0.1.1
func (*ListBooksResponse) ProtoMessage()
func (*ListBooksResponse) ProtoReflect ¶ added in v0.1.1
func (x *ListBooksResponse) ProtoReflect() protoreflect.Message
func (*ListBooksResponse) Reset ¶ added in v0.1.1
func (x *ListBooksResponse) Reset()
func (*ListBooksResponse) String ¶ added in v0.1.1
func (x *ListBooksResponse) String() string