Documentation ¶
Index ¶
- Variables
- type Category
- type Character
- func (*Character) Argument() graphql.FieldConfigArgument
- func (*Character) Descriptor() ([]byte, []int)deprecated
- func (x *Character) GetName() string
- func (x *Character) GetRole() string
- func (*Character) Object() *graphql.Object
- func (*Character) Output() graphql.Output
- func (*Character) ProtoMessage()
- func (x *Character) ProtoReflect() protoreflect.Message
- func (x *Character) Reset()
- func (*Character) Schema() map[string]interface{}
- func (x *Character) String() string
- func (o *Character) UnmarshalJSON(b []byte) error
- func (o *Character) UnmarshalMap(values map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Category_name = map[int32]string{ 0: "CATEGORY_UNSPECIFIED", 1: "CATEGORY_DRAMA", 2: "CATEGORY_HORROR", } Category_value = map[string]int32{ "CATEGORY_UNSPECIFIED": 0, "CATEGORY_DRAMA": 1, "CATEGORY_HORROR": 2, } )
Enum value maps for Category.
View Source
var Category_Enum = graphql.NewEnum(graphql.EnumConfig{ Name: "Category", Values: graphql.EnumValueConfigMap{ "CATEGORY_UNSPECIFIED": &graphql.EnumValueConfig{Value: Category_CATEGORY_UNSPECIFIED}, "CATEGORY_DRAMA": &graphql.EnumValueConfig{Value: Category_CATEGORY_DRAMA}, "CATEGORY_HORROR": &graphql.EnumValueConfig{Value: Category_CATEGORY_HORROR}, }, })
View Source
var Character_Input = graphql.NewInputObject(graphql.InputObjectConfig{ Name: "Character_Input", Fields: graphql.InputObjectConfigFieldMap{ "name": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, "role": &graphql.InputObjectFieldConfig{ Type: graphql.String, }, }, })
View Source
var Character_Object = graphql.NewObject(graphql.ObjectConfig{ Name: "Character", Fields: graphql.Fields{ "name": &graphql.Field{ Type: graphql.String, }, "role": &graphql.Field{ Type: graphql.String, }, }, Description: "", })
View Source
var File_common_v1_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category int32
func (Category) Descriptor ¶
func (Category) Descriptor() protoreflect.EnumDescriptor
func (Category) EnumDescriptor
deprecated
func (Category) Number ¶
func (x Category) Number() protoreflect.EnumNumber
func (Category) Type ¶
func (Category) Type() protoreflect.EnumType
type Character ¶
type Character struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*Character) Descriptor
deprecated
func (*Character) ProtoMessage ¶
func (*Character) ProtoMessage()
func (*Character) ProtoReflect ¶
func (x *Character) ProtoReflect() protoreflect.Message
func (*Character) UnmarshalJSON ¶
UnmarshalJSON ...
func (*Character) UnmarshalMap ¶
UnmarshalMap populates struct fields from a map, handling decoding for special fields.
Click to show internal directories.
Click to hide internal directories.