test

package
v4.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

This file is generated by protoc-gen-persist Source File: petshop.proto DO NOT EDIT !

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultBidiStreamingPersistTx

func DefaultBidiStreamingPersistTx(ctx context.Context, db *sql.DB) (persist.PersistTx, error)

func DefaultClientStreamingPersistTx

func DefaultClientStreamingPersistTx(ctx context.Context, db *sql.DB) (persist.PersistTx, error)

func DefaultServerStreamingPersistTx

func DefaultServerStreamingPersistTx(ctx context.Context, db *sql.DB) (persist.PersistTx, error)

func DefaultUnaryPersistTx

func DefaultUnaryPersistTx(ctx context.Context, db *sql.DB) (persist.PersistTx, error)

func NopPersistTx

func NopPersistTx(r persist.Runnable) (persist.PersistTx, error)

func RegisterPetShopServer

func RegisterPetShopServer(s *grpc.Server, srv PetShopServer)

Types

type AnimalCount

type AnimalCount struct {
	Dogs                 int64    `protobuf:"varint,1,opt,name=dogs,proto3" json:"dogs,omitempty"`
	Cats                 int64    `protobuf:"varint,2,opt,name=cats,proto3" json:"cats,omitempty"`
	Fishes               int64    `protobuf:"varint,3,opt,name=fishes,proto3" json:"fishes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AnimalCount) Descriptor

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

func (*AnimalCount) GetCats

func (m *AnimalCount) GetCats() int64

func (*AnimalCount) GetDogs

func (m *AnimalCount) GetDogs() int64

func (*AnimalCount) GetFishes

func (m *AnimalCount) GetFishes() int64

func (*AnimalCount) ProtoMessage

func (*AnimalCount) ProtoMessage()

func (*AnimalCount) Reset

func (m *AnimalCount) Reset()

func (*AnimalCount) String

func (m *AnimalCount) String() string

func (*AnimalCount) XXX_DiscardUnknown

func (m *AnimalCount) XXX_DiscardUnknown()

func (*AnimalCount) XXX_Marshal

func (m *AnimalCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AnimalCount) XXX_Merge

func (dst *AnimalCount) XXX_Merge(src proto.Message)

func (*AnimalCount) XXX_Size

func (m *AnimalCount) XXX_Size() int

func (*AnimalCount) XXX_Unmarshal

func (m *AnimalCount) XXX_Unmarshal(b []byte) error

type Cat

type Cat struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Age                  float64  `protobuf:"fixed64,2,opt,name=age,proto3" json:"age,omitempty"`
	Cost                 float64  `protobuf:"fixed64,3,opt,name=cost,proto3" json:"cost,omitempty"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Cat) Descriptor

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

func (*Cat) GetAge

func (m *Cat) GetAge() float64

func (*Cat) GetCost

func (m *Cat) GetCost() float64

func (*Cat) GetId

func (m *Cat) GetId() string

func (*Cat) GetName

func (m *Cat) GetName() string

func (*Cat) ProtoMessage

func (*Cat) ProtoMessage()

func (*Cat) Reset

func (m *Cat) Reset()

func (*Cat) String

func (m *Cat) String() string

func (*Cat) XXX_DiscardUnknown

func (m *Cat) XXX_DiscardUnknown()

func (*Cat) XXX_Marshal

func (m *Cat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cat) XXX_Merge

func (dst *Cat) XXX_Merge(src proto.Message)

func (*Cat) XXX_Size

func (m *Cat) XXX_Size() int

func (*Cat) XXX_Unmarshal

func (m *Cat) XXX_Unmarshal(b []byte) error

type CatName

type CatName struct {
	CatName              string   `protobuf:"bytes,1,opt,name=cat_name,json=catName,proto3" json:"cat_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CatName) Descriptor

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

func (*CatName) GetCatName

func (m *CatName) GetCatName() string

func (*CatName) ProtoMessage

func (*CatName) ProtoMessage()

func (*CatName) Reset

func (m *CatName) Reset()

func (*CatName) String

func (m *CatName) String() string

func (*CatName) XXX_DiscardUnknown

func (m *CatName) XXX_DiscardUnknown()

func (*CatName) XXX_Marshal

func (m *CatName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CatName) XXX_Merge

func (dst *CatName) XXX_Merge(src proto.Message)

func (*CatName) XXX_Size

func (m *CatName) XXX_Size() int

func (*CatName) XXX_Unmarshal

func (m *CatName) XXX_Unmarshal(b []byte) error

type DefaultHooks_PetShop

type DefaultHooks_PetShop struct{}

type DefaultMappingImpl_PetShop_DogIds

type DefaultMappingImpl_PetShop_DogIds struct{}

func (*DefaultMappingImpl_PetShop_DogIds) Scan

func (this *DefaultMappingImpl_PetShop_DogIds) Scan(interface{}) error

func (*DefaultMappingImpl_PetShop_DogIds) ToProto

func (*DefaultMappingImpl_PetShop_DogIds) ToSql

func (*DefaultMappingImpl_PetShop_DogIds) Value

type DefaultTypeMappings_PetShop

type DefaultTypeMappings_PetShop struct{}

func (*DefaultTypeMappings_PetShop) DogIds

type Dog

type Dog struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Age                  float64  `protobuf:"fixed64,2,opt,name=age,proto3" json:"age,omitempty"`
	Cost                 float64  `protobuf:"fixed64,3,opt,name=cost,proto3" json:"cost,omitempty"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Dog) Descriptor

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

func (*Dog) GetAge

func (m *Dog) GetAge() float64

func (*Dog) GetCost

func (m *Dog) GetCost() float64

func (*Dog) GetId

func (m *Dog) GetId() string

func (*Dog) GetName

func (m *Dog) GetName() string

func (*Dog) ProtoMessage

func (*Dog) ProtoMessage()

func (*Dog) Reset

func (m *Dog) Reset()

func (*Dog) String

func (m *Dog) String() string

func (*Dog) XXX_DiscardUnknown

func (m *Dog) XXX_DiscardUnknown()

func (*Dog) XXX_Marshal

func (m *Dog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dog) XXX_Merge

func (dst *Dog) XXX_Merge(src proto.Message)

func (*Dog) XXX_Size

func (m *Dog) XXX_Size() int

func (*Dog) XXX_Unmarshal

func (m *Dog) XXX_Unmarshal(b []byte) error

type DogIds

type DogIds struct {
	Values               []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DogIds) Descriptor

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

func (*DogIds) GetValues

func (m *DogIds) GetValues() []string

func (*DogIds) ProtoMessage

func (*DogIds) ProtoMessage()

func (*DogIds) Reset

func (m *DogIds) Reset()

func (*DogIds) String

func (m *DogIds) String() string

func (*DogIds) XXX_DiscardUnknown

func (m *DogIds) XXX_DiscardUnknown()

func (*DogIds) XXX_Marshal

func (m *DogIds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DogIds) XXX_Merge

func (dst *DogIds) XXX_Merge(src proto.Message)

func (*DogIds) XXX_Size

func (m *DogIds) XXX_Size() int

func (*DogIds) XXX_Unmarshal

func (m *DogIds) XXX_Unmarshal(b []byte) error

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (dst *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type Fish

type Fish struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Cost                 float64  `protobuf:"fixed64,2,opt,name=cost,proto3" json:"cost,omitempty"`
	Species              string   `protobuf:"bytes,3,opt,name=species,proto3" json:"species,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Fish) Descriptor

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

func (*Fish) GetCost

func (m *Fish) GetCost() float64

func (*Fish) GetId

func (m *Fish) GetId() string

func (*Fish) GetSpecies

func (m *Fish) GetSpecies() string

func (*Fish) ProtoMessage

func (*Fish) ProtoMessage()

func (*Fish) Reset

func (m *Fish) Reset()

func (*Fish) String

func (m *Fish) String() string

func (*Fish) XXX_DiscardUnknown

func (m *Fish) XXX_DiscardUnknown()

func (*Fish) XXX_Marshal

func (m *Fish) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Fish) XXX_Merge

func (dst *Fish) XXX_Merge(src proto.Message)

func (*Fish) XXX_Size

func (m *Fish) XXX_Size() int

func (*Fish) XXX_Unmarshal

func (m *Fish) XXX_Unmarshal(b []byte) error

type FishTank

type FishTank struct {
	Fishes               []*Fish  `protobuf:"bytes,1,rep,name=fishes,proto3" json:"fishes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FishTank) Descriptor

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

func (*FishTank) GetFishes

func (m *FishTank) GetFishes() []*Fish

func (*FishTank) ProtoMessage

func (*FishTank) ProtoMessage()

func (*FishTank) Reset

func (m *FishTank) Reset()

func (*FishTank) String

func (m *FishTank) String() string

func (*FishTank) XXX_DiscardUnknown

func (m *FishTank) XXX_DiscardUnknown()

func (*FishTank) XXX_Marshal

func (m *FishTank) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FishTank) XXX_Merge

func (dst *FishTank) XXX_Merge(src proto.Message)

func (*FishTank) XXX_Size

func (m *FishTank) XXX_Size() int

func (*FishTank) XXX_Unmarshal

func (m *FishTank) XXX_Unmarshal(b []byte) error

type Hooks_PetShop

type Hooks_PetShop interface {
}

type Impl_PetShop

type Impl_PetShop struct {
	QUERIES  *Queries_PetShop
	HANDLERS RestOfHandlers_PetShop
	DB       *sql.DB
	// contains filtered or unexported fields
}

func ImplPetShop

func ImplPetShop(db *sql.DB, handlers RestOfHandlers_PetShop, opts ...Opts_PetShop) *Impl_PetShop

func (*Impl_PetShop) GetCatByName

func (this *Impl_PetShop) GetCatByName(ctx context.Context, req *CatName) (*Cat, error)

func (*Impl_PetShop) PetDog

func (this *Impl_PetShop) PetDog(ctx context.Context, req *Dog) (*Empty, error)

func (*Impl_PetShop) ShipFish

func (this *Impl_PetShop) ShipFish(stream PetShop_ShipFishServer) error

func (*Impl_PetShop) ShipFishTx

func (this *Impl_PetShop) ShipFishTx(stream PetShop_ShipFishServer, tx persist.PersistTx) error

type In_PetShop_GetAllOwners

type In_PetShop_GetAllOwners interface {
}

type In_PetShop_GetCatByName

type In_PetShop_GetCatByName interface {
	GetCatName() string
}

type In_PetShop_InsertFish

type In_PetShop_InsertFish interface {
	GetId() string
	GetCost() float64
	GetSpecies() string
}

type Iter_PetShop_GetAllOwners

type Iter_PetShop_GetAllOwners struct {
	// contains filtered or unexported fields
}

func (*Iter_PetShop_GetAllOwners) Columns

func (r *Iter_PetShop_GetAllOwners) Columns() ([]string, error)

returns the known columns for this result

func (*Iter_PetShop_GetAllOwners) Each

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_PetShop_GetAllOwners) IterInTypeEmpty

func (this *Iter_PetShop_GetAllOwners) IterInTypeEmpty()

func (*Iter_PetShop_GetAllOwners) IterOutTypeOwner

func (this *Iter_PetShop_GetAllOwners) IterOutTypeOwner()

func (*Iter_PetShop_GetAllOwners) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_PetShop_GetAllOwners) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_PetShop_GetAllOwners) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_PetShop_GetAllOwners) Zero

func (this *Iter_PetShop_GetAllOwners) Zero() error

Zero returns an error if there were any rows in the result

type Iter_PetShop_GetCatByName

type Iter_PetShop_GetCatByName struct {
	// contains filtered or unexported fields
}

func (*Iter_PetShop_GetCatByName) Columns

func (r *Iter_PetShop_GetCatByName) Columns() ([]string, error)

returns the known columns for this result

func (*Iter_PetShop_GetCatByName) Each

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_PetShop_GetCatByName) IterInTypeCatName

func (this *Iter_PetShop_GetCatByName) IterInTypeCatName()

func (*Iter_PetShop_GetCatByName) IterOutTypeCat

func (this *Iter_PetShop_GetCatByName) IterOutTypeCat()

func (*Iter_PetShop_GetCatByName) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_PetShop_GetCatByName) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_PetShop_GetCatByName) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_PetShop_GetCatByName) Zero

func (this *Iter_PetShop_GetCatByName) Zero() error

Zero returns an error if there were any rows in the result

type Iter_PetShop_InsertFish

type Iter_PetShop_InsertFish struct {
	// contains filtered or unexported fields
}

func (*Iter_PetShop_InsertFish) Columns

func (r *Iter_PetShop_InsertFish) Columns() ([]string, error)

returns the known columns for this result

func (*Iter_PetShop_InsertFish) Each

Each performs 'fun' on each row in the result set. Each respects the context passed to it. It will stop iteration, and returns this.ctx.Err() if encountered.

func (*Iter_PetShop_InsertFish) IterInTypeFish

func (this *Iter_PetShop_InsertFish) IterInTypeFish()

func (*Iter_PetShop_InsertFish) IterOutTypeEmpty

func (this *Iter_PetShop_InsertFish) IterOutTypeEmpty()

func (*Iter_PetShop_InsertFish) Next

Next returns the next scanned row out of the database, or (nil, false) if there are no more rows

func (*Iter_PetShop_InsertFish) One

One returns the sole row, or ensures an error if there was not one result when this row is converted

func (*Iter_PetShop_InsertFish) Slice

Slice returns all rows found in the iterator as a Slice.

func (*Iter_PetShop_InsertFish) Zero

func (this *Iter_PetShop_InsertFish) Zero() error

Zero returns an error if there were any rows in the result

type MappingImpl_PetShop_DogIds

type MappingImpl_PetShop_DogIds interface {
	ToProto(**DogIds) error
	ToSql(*DogIds) sql.Scanner
	sql.Scanner
	driver.Valuer
}

type Opts_PetShop

type Opts_PetShop struct {
	MAPPINGS TypeMappings_PetShop
	HOOKS    Hooks_PetShop
}

func OptsPetShop

func OptsPetShop(hooks Hooks_PetShop, mappings TypeMappings_PetShop) Opts_PetShop

type Out_PetShop_GetAllOwners

type Out_PetShop_GetAllOwners interface {
	GetId() string
	GetCats() []*Cat
	GetAquarium() *FishTank
	GetDogIds() *DogIds
	GetMoney() float64
}

type Out_PetShop_GetCatByName

type Out_PetShop_GetCatByName interface {
	GetId() string
	GetAge() float64
	GetCost() float64
	GetName() string
}

type Out_PetShop_InsertFish

type Out_PetShop_InsertFish interface {
}

type Owner

type Owner struct {
	Id                   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Cats                 []*Cat    `protobuf:"bytes,2,rep,name=cats,proto3" json:"cats,omitempty"`
	Aquarium             *FishTank `protobuf:"bytes,3,opt,name=aquarium,proto3" json:"aquarium,omitempty"`
	DogIds               *DogIds   `protobuf:"bytes,4,opt,name=dog_ids,json=dogIds,proto3" json:"dog_ids,omitempty"`
	Money                float64   `protobuf:"fixed64,5,opt,name=money,proto3" json:"money,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Owner) Descriptor

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

func (*Owner) GetAquarium

func (m *Owner) GetAquarium() *FishTank

func (*Owner) GetCats

func (m *Owner) GetCats() []*Cat

func (*Owner) GetDogIds

func (m *Owner) GetDogIds() *DogIds

func (*Owner) GetId

func (m *Owner) GetId() string

func (*Owner) GetMoney

func (m *Owner) GetMoney() float64

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) Reset

func (m *Owner) Reset()

func (*Owner) String

func (m *Owner) String() string

func (*Owner) XXX_DiscardUnknown

func (m *Owner) XXX_DiscardUnknown()

func (*Owner) XXX_Marshal

func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Owner) XXX_Merge

func (dst *Owner) XXX_Merge(src proto.Message)

func (*Owner) XXX_Size

func (m *Owner) XXX_Size() int

func (*Owner) XXX_Unmarshal

func (m *Owner) XXX_Unmarshal(b []byte) error

type PetShopClient

type PetShopClient interface {
	GetCatByName(ctx context.Context, in *CatName, opts ...grpc.CallOption) (*Cat, error)
	ShipFish(ctx context.Context, opts ...grpc.CallOption) (PetShop_ShipFishClient, error)
	PetDog(ctx context.Context, in *Dog, opts ...grpc.CallOption) (*Empty, error)
}

PetShopClient is the client API for PetShop service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPetShopClient

func NewPetShopClient(cc *grpc.ClientConn) PetShopClient

type PetShopServer

type PetShopServer interface {
	GetCatByName(context.Context, *CatName) (*Cat, error)
	ShipFish(PetShop_ShipFishServer) error
	PetDog(context.Context, *Dog) (*Empty, error)
}

PetShopServer is the server API for PetShop service.

type PetShop_ShipFishClient

type PetShop_ShipFishClient interface {
	Send(*Fish) error
	CloseAndRecv() (*Empty, error)
	grpc.ClientStream
}

type PetShop_ShipFishServer

type PetShop_ShipFishServer interface {
	SendAndClose(*Empty) error
	Recv() (*Fish, error)
	grpc.ServerStream
}

type Queries_PetShop

type Queries_PetShop struct {
	// contains filtered or unexported fields
}

Queries_PetShop holds all the queries found the proto service option as methods

func QueriesPetShop

func QueriesPetShop(opts ...Opts_PetShop) *Queries_PetShop

QueriesPetShop returns all the known 'SQL' queires for the 'PetShop' service. If no opts are provided default implementations are used.

func (*Queries_PetShop) GetAllOwners

GetAllOwners returns a struct that will perform the 'GetAllOwners' query. When Execute is called, it will use the following fields: []

func (*Queries_PetShop) GetCatByName

GetCatByName returns a struct that will perform the 'GetCatByName' query. When Execute is called, it will use the following fields: [cat_name]

func (*Queries_PetShop) InsertFish

InsertFish returns a struct that will perform the 'InsertFish' query. When Execute is called, it will use the following fields: [species cost]

type Query_PetShop_GetAllOwners

type Query_PetShop_GetAllOwners struct {
	// contains filtered or unexported fields
}

Query_PetShop_GetAllOwners (future doc string needed)

func (*Query_PetShop_GetAllOwners) Execute

Executes the query 'GetAllOwners' with parameters retrieved from x. Fields used: []

func (*Query_PetShop_GetAllOwners) QueryInType_Empty

func (this *Query_PetShop_GetAllOwners) QueryInType_Empty()

func (*Query_PetShop_GetAllOwners) QueryOutType_Owner

func (this *Query_PetShop_GetAllOwners) QueryOutType_Owner()

type Query_PetShop_GetCatByName

type Query_PetShop_GetCatByName struct {
	// contains filtered or unexported fields
}

Query_PetShop_GetCatByName (future doc string needed)

func (*Query_PetShop_GetCatByName) Execute

Executes the query 'GetCatByName' with parameters retrieved from x. Fields used: [cat_name]

func (*Query_PetShop_GetCatByName) QueryInType_CatName

func (this *Query_PetShop_GetCatByName) QueryInType_CatName()

func (*Query_PetShop_GetCatByName) QueryOutType_Cat

func (this *Query_PetShop_GetCatByName) QueryOutType_Cat()

type Query_PetShop_InsertFish

type Query_PetShop_InsertFish struct {
	// contains filtered or unexported fields
}

Query_PetShop_InsertFish (future doc string needed)

func (*Query_PetShop_InsertFish) Execute

Executes the query 'InsertFish' with parameters retrieved from x. Fields used: [species cost]

func (*Query_PetShop_InsertFish) QueryInType_Fish

func (this *Query_PetShop_InsertFish) QueryInType_Fish()

func (*Query_PetShop_InsertFish) QueryOutType_Empty

func (this *Query_PetShop_InsertFish) QueryOutType_Empty()

type RestOfHandlers_PetShop

type RestOfHandlers_PetShop interface {
	PetDog(context.Context, *Dog) (*Empty, error)
}

type Row_PetShop_GetAllOwners

type Row_PetShop_GetAllOwners struct {
	// contains filtered or unexported fields
}

func (*Row_PetShop_GetAllOwners) Owner

func (this *Row_PetShop_GetAllOwners) Owner() (*Owner, error)

func (*Row_PetShop_GetAllOwners) Proto

func (this *Row_PetShop_GetAllOwners) Proto() (*Owner, error)

func (*Row_PetShop_GetAllOwners) Unwrap

func (this *Row_PetShop_GetAllOwners) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_PetShop_GetCatByName

type Row_PetShop_GetCatByName struct {
	// contains filtered or unexported fields
}

func (*Row_PetShop_GetCatByName) Cat

func (this *Row_PetShop_GetCatByName) Cat() (*Cat, error)

func (*Row_PetShop_GetCatByName) Proto

func (this *Row_PetShop_GetCatByName) Proto() (*Cat, error)

func (*Row_PetShop_GetCatByName) Unwrap

func (this *Row_PetShop_GetCatByName) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Row_PetShop_InsertFish

type Row_PetShop_InsertFish struct {
	// contains filtered or unexported fields
}

func (*Row_PetShop_InsertFish) Empty

func (this *Row_PetShop_InsertFish) Empty() (*Empty, error)

func (*Row_PetShop_InsertFish) Proto

func (this *Row_PetShop_InsertFish) Proto() (*Empty, error)

func (*Row_PetShop_InsertFish) Unwrap

func (this *Row_PetShop_InsertFish) Unwrap(pointerToMsg proto.Message) error

Unwrap takes an address to a proto.Message as its only parameter Unwrap can only set into output protos of that match method return types + the out option on the query itself

type Runnable

type Runnable interface {
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
}

type TypeMappings_PetShop

type TypeMappings_PetShop interface {
	DogIds() MappingImpl_PetShop_DogIds
}

Jump to

Keyboard shortcuts

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