libraryv1

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_library_v1_library_proto protoreflect.FileDescriptor
View Source
var Library_Arg = graphql.FieldConfigArgument{
	"_key": &graphql.ArgumentConfig{
		Type: graphql.ID,
	},
	"name": &graphql.ArgumentConfig{
		Type: graphql.String,
	},
	"location": &graphql.ArgumentConfig{
		Type: Library_Location_Input,
	},
}
View Source
var Library_Location_Arg = graphql.FieldConfigArgument{
	"lat": &graphql.ArgumentConfig{
		Type: graphql.Float,
	},
	"lng": &graphql.ArgumentConfig{
		Type: graphql.Float,
	},
}
View Source
var Library_Location_Input = graphql.NewInputObject(graphql.InputObjectConfig{
	Name: "Library_Location_Input",
	Fields: graphql.InputObjectConfigFieldMap{
		"lat": &graphql.InputObjectFieldConfig{
			Type: graphql.Float,
		},
		"lng": &graphql.InputObjectFieldConfig{
			Type: graphql.Float,
		},
	},
})
View Source
var Library_Location_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "Library_Location",
	Fields: graphql.Fields{
		"lat": &graphql.Field{
			Type: graphql.Float,
		},
		"lng": &graphql.Field{
			Type: graphql.Float,
		},
	},
	Description: "",
})
View Source
var Library_Object = graphql.NewObject(graphql.ObjectConfig{
	Name: "Library",
	Fields: graphql.Fields{
		"_key": &graphql.Field{
			Type: graphql.ID,
		},
		"name": &graphql.Field{
			Type: graphql.String,
		},
		"location": &graphql.Field{
			Type: Library_Location_Object,
		},
	},
	Description: "",
})

Functions

This section is empty.

Types

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"`
	Location *Library_Location `protobuf:"bytes,3,opt,name=location,proto3" json:"location,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) Descriptor() ([]byte, []int)

Deprecated: Use Library.ProtoReflect.Descriptor instead.

func (*Library) GetKey added in v0.0.12

func (x *Library) GetKey() string

func (*Library) GetLocation added in v0.0.12

func (x *Library) GetLocation() *Library_Location

func (*Library) GetName added in v0.0.12

func (x *Library) GetName() string

func (*Library) Object added in v0.1.0

func (*Library) Object() *graphql.Object

Object ...

func (*Library) Output added in v0.1.0

func (*Library) Output() graphql.Output

Output ...

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) Reset added in v0.0.12

func (x *Library) Reset()

func (*Library) Schema added in v0.0.12

func (*Library) Schema() map[string]interface{}

Schema ...

func (*Library) String added in v0.0.12

func (x *Library) String() string

func (*Library) UnmarshalJSON added in v0.0.12

func (o *Library) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Library) UnmarshalMap added in v0.0.12

func (o *Library) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

type Library_Location added in v0.0.12

type Library_Location struct {
	Lat float32 `protobuf:"fixed32,1,opt,name=lat,proto3" json:"lat,omitempty"`
	Lng float32 `protobuf:"fixed32,2,opt,name=lng,proto3" json:"lng,omitempty"`
	// contains filtered or unexported fields
}

func (*Library_Location) Argument added in v0.1.0

Argument ...

func (*Library_Location) Descriptor deprecated added in v0.0.12

func (*Library_Location) Descriptor() ([]byte, []int)

Deprecated: Use Library_Location.ProtoReflect.Descriptor instead.

func (*Library_Location) GetLat added in v0.0.12

func (x *Library_Location) GetLat() float32

func (*Library_Location) GetLng added in v0.0.12

func (x *Library_Location) GetLng() float32

func (*Library_Location) Object added in v0.1.0

func (*Library_Location) Object() *graphql.Object

Object ...

func (*Library_Location) Output added in v0.1.0

func (*Library_Location) Output() graphql.Output

Output ...

func (*Library_Location) ProtoMessage added in v0.0.12

func (*Library_Location) ProtoMessage()

func (*Library_Location) ProtoReflect added in v0.0.12

func (x *Library_Location) ProtoReflect() protoreflect.Message

func (*Library_Location) Reset added in v0.0.12

func (x *Library_Location) Reset()

func (*Library_Location) Schema added in v0.0.12

func (*Library_Location) Schema() map[string]interface{}

Schema ...

func (*Library_Location) String added in v0.0.12

func (x *Library_Location) String() string

func (*Library_Location) UnmarshalJSON added in v0.0.12

func (o *Library_Location) UnmarshalJSON(b []byte) error

UnmarshalJSON ...

func (*Library_Location) UnmarshalMap added in v0.0.12

func (o *Library_Location) UnmarshalMap(values map[string]interface{})

UnmarshalMap populates struct fields from a map, handling decoding for special fields.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL