Documentation ¶
Index ¶
- Variables
- type Accessory
- type Automobile
- func (p *Automobile) GetAccessories() []*Accessory
- func (p *Automobile) GetDrivers() Drivers
- func (p *Automobile) GetFirstPlate() Plate
- func (p *Automobile) GetPartNames() map[int32]*PartName
- func (p *Automobile) GetPlate() Plate
- func (p *Automobile) GetPreviousPlate() Plate
- func (p *Automobile) GetYear() Year
- func (p *Automobile) IsSetFirstPlate() bool
- func (p *Automobile) IsSetPreviousPlate() bool
- func (p *Automobile) Read(iprot thrift.Protocol) error
- func (p *Automobile) ReadField1(iprot thrift.Protocol) error
- func (p *Automobile) ReadField2(iprot thrift.Protocol) error
- func (p *Automobile) ReadField3(iprot thrift.Protocol) error
- func (p *Automobile) ReadField4(iprot thrift.Protocol) error
- func (p *Automobile) ReadField5(iprot thrift.Protocol) error
- func (p *Automobile) ReadField6(iprot thrift.Protocol) error
- func (p *Automobile) ReadField7(iprot thrift.Protocol) error
- func (a *Automobile) SetAccessories(accessories []*Accessory) *Automobile
- func (a *Automobile) SetDrivers(drivers Drivers) *Automobile
- func (a *Automobile) SetFirstPlate(firstPlate Plate) *Automobile
- func (a *Automobile) SetPartNames(partNames map[int32]*PartName) *Automobile
- func (a *Automobile) SetPlate(plate Plate) *Automobile
- func (a *Automobile) SetPreviousPlate(previousPlate *Plate) *Automobile
- func (a *Automobile) SetYear(year Year) *Automobile
- func (p *Automobile) String() string
- func (p *Automobile) Write(oprot thrift.Protocol) error
- type AutomobileBuilder
- func (a *AutomobileBuilder) Accessories(accessories []*Accessory) *AutomobileBuilder
- func (a *AutomobileBuilder) Drivers(drivers Drivers) *AutomobileBuilder
- func (p AutomobileBuilder) Emit() *Automobile
- func (a *AutomobileBuilder) FirstPlate(firstPlate Plate) *AutomobileBuilder
- func (a *AutomobileBuilder) PartNames(partNames map[int32]*PartName) *AutomobileBuilder
- func (a *AutomobileBuilder) Plate(plate Plate) *AutomobileBuilder
- func (a *AutomobileBuilder) PreviousPlate(previousPlate *Plate) *AutomobileBuilder
- func (a *AutomobileBuilder) Year(year Year) *AutomobileBuilder
- type Car
- type Collection
- func (p *Collection) GetAutomobiles() []*Automobile
- func (p *Collection) GetCars() []*Car
- func (p *Collection) Read(iprot thrift.Protocol) error
- func (p *Collection) ReadField1(iprot thrift.Protocol) error
- func (p *Collection) ReadField2(iprot thrift.Protocol) error
- func (c *Collection) SetAutomobiles(automobiles []*Automobile) *Collection
- func (c *Collection) SetCars(cars []*Car) *Collection
- func (p *Collection) String() string
- func (p *Collection) Write(oprot thrift.Protocol) error
- type CollectionBuilder
- type Drivers
- type Finder
- type FinderAliasByPlateArgs
- func (p *FinderAliasByPlateArgs) GetPlate() Plate
- func (p *FinderAliasByPlateArgs) Read(iprot thrift.Protocol) error
- func (p *FinderAliasByPlateArgs) ReadField1(iprot thrift.Protocol) error
- func (f *FinderAliasByPlateArgs) SetPlate(plate Plate) *FinderAliasByPlateArgs
- func (p *FinderAliasByPlateArgs) String() string
- func (p *FinderAliasByPlateArgs) Write(oprot thrift.Protocol) error
- type FinderAliasByPlateArgsBuilder
- type FinderAliasByPlateResult
- func (p *FinderAliasByPlateResult) Exception() thrift.WritableException
- func (p *FinderAliasByPlateResult) GetSuccess() *Car
- func (p *FinderAliasByPlateResult) IsSetSuccess() bool
- func (p *FinderAliasByPlateResult) Read(iprot thrift.Protocol) error
- func (p *FinderAliasByPlateResult) ReadField0(iprot thrift.Protocol) error
- func (f *FinderAliasByPlateResult) SetSuccess(success *Car) *FinderAliasByPlateResult
- func (p *FinderAliasByPlateResult) String() string
- func (p *FinderAliasByPlateResult) Write(oprot thrift.Protocol) error
- type FinderAliasByPlateResultBuilder
- type FinderByPlateArgs
- func (p *FinderByPlateArgs) GetPlate() Plate
- func (p *FinderByPlateArgs) Read(iprot thrift.Protocol) error
- func (p *FinderByPlateArgs) ReadField1(iprot thrift.Protocol) error
- func (f *FinderByPlateArgs) SetPlate(plate Plate) *FinderByPlateArgs
- func (p *FinderByPlateArgs) String() string
- func (p *FinderByPlateArgs) Write(oprot thrift.Protocol) error
- type FinderByPlateArgsBuilder
- type FinderByPlateResult
- func (p *FinderByPlateResult) DefaultGetSuccess() *Automobile
- func (p *FinderByPlateResult) Exception() thrift.WritableException
- func (p *FinderByPlateResult) GetSuccess() *Automobile
- func (p *FinderByPlateResult) IsSetSuccess() bool
- func (p *FinderByPlateResult) Read(iprot thrift.Protocol) error
- func (p *FinderByPlateResult) ReadField0(iprot thrift.Protocol) error
- func (f *FinderByPlateResult) SetSuccess(success *Automobile) *FinderByPlateResult
- func (p *FinderByPlateResult) String() string
- func (p *FinderByPlateResult) Write(oprot thrift.Protocol) error
- type FinderByPlateResultBuilder
- type FinderChannelClient
- func (p *FinderChannelClient) AliasByPlate(ctx context.Context, plate Plate) (_r *Car, err error)
- func (p *FinderChannelClient) ByPlate(ctx context.Context, plate Plate) (_r *Automobile, err error)
- func (c *FinderChannelClient) Close() error
- func (c *FinderChannelClient) IsOpen() bool
- func (c *FinderChannelClient) Open() error
- func (p *FinderChannelClient) PreviousPlate(ctx context.Context, plate Plate) (_r Plate, err error)
- type FinderClient
- func (p *FinderClient) AliasByPlate(plate Plate) (_r *Car, err error)
- func (p *FinderClient) ByPlate(plate Plate) (_r *Automobile, err error)
- func (client *FinderClient) Close() error
- func (client *FinderClient) IsOpen() bool
- func (client *FinderClient) Open() error
- func (p *FinderClient) PreviousPlate(plate Plate) (_r Plate, err error)
- type FinderClientInterface
- type FinderPreviousPlateArgs
- func (p *FinderPreviousPlateArgs) GetPlate() Plate
- func (p *FinderPreviousPlateArgs) Read(iprot thrift.Protocol) error
- func (p *FinderPreviousPlateArgs) ReadField1(iprot thrift.Protocol) error
- func (f *FinderPreviousPlateArgs) SetPlate(plate Plate) *FinderPreviousPlateArgs
- func (p *FinderPreviousPlateArgs) String() string
- func (p *FinderPreviousPlateArgs) Write(oprot thrift.Protocol) error
- type FinderPreviousPlateArgsBuilder
- type FinderPreviousPlateResult
- func (p *FinderPreviousPlateResult) Exception() thrift.WritableException
- func (p *FinderPreviousPlateResult) GetSuccess() Plate
- func (p *FinderPreviousPlateResult) IsSetSuccess() bool
- func (p *FinderPreviousPlateResult) Read(iprot thrift.Protocol) error
- func (p *FinderPreviousPlateResult) ReadField0(iprot thrift.Protocol) error
- func (f *FinderPreviousPlateResult) SetSuccess(success *Plate) *FinderPreviousPlateResult
- func (p *FinderPreviousPlateResult) String() string
- func (p *FinderPreviousPlateResult) Write(oprot thrift.Protocol) error
- type FinderPreviousPlateResultBuilder
- type FinderProcessor
- func (p *FinderProcessor) AddToFunctionServiceMap(key, service string)
- func (p *FinderProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
- func (p *FinderProcessor) FunctionServiceMap() map[string]string
- func (p *FinderProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
- func (p *FinderProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
- type FinderThreadsafeClient
- func NewFinderThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *FinderThreadsafeClient
- func NewFinderThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *FinderThreadsafeClient
- func NewFinderThreadsafeClientProtocol(prot thrift.Protocol) *FinderThreadsafeClient
- func (p *FinderThreadsafeClient) AliasByPlate(plate Plate) (_r *Car, err error)
- func (p *FinderThreadsafeClient) ByPlate(plate Plate) (_r *Automobile, err error)
- func (client *FinderThreadsafeClient) Close() error
- func (client *FinderThreadsafeClient) IsOpen() bool
- func (client *FinderThreadsafeClient) Open() error
- func (p *FinderThreadsafeClient) PreviousPlate(plate Plate) (_r Plate, err error)
- type MapContainer
- func (p *MapContainer) GetMapval() map[MapKey]string
- func (p *MapContainer) Read(iprot thrift.Protocol) error
- func (p *MapContainer) ReadField1(iprot thrift.Protocol) error
- func (m *MapContainer) SetMapval(mapval map[MapKey]string) *MapContainer
- func (p *MapContainer) String() string
- func (p *MapContainer) Write(oprot thrift.Protocol) error
- type MapContainerBuilder
- type MapKey
- func (p *MapKey) GetNum() int64
- func (p *MapKey) GetStrval() string
- func (p *MapKey) Read(iprot thrift.Protocol) error
- func (p *MapKey) ReadField1(iprot thrift.Protocol) error
- func (p *MapKey) ReadField2(iprot thrift.Protocol) error
- func (m *MapKey) SetNum(num int64) *MapKey
- func (m *MapKey) SetStrval(strval string) *MapKey
- func (p *MapKey) String() string
- func (p *MapKey) Write(oprot thrift.Protocol) error
- type MapKeyBuilder
- type Pair
- func (p *Pair) DefaultGetAutomobile() *Automobile
- func (p *Pair) GetAutomobile() *Automobile
- func (p *Pair) GetCar() *Car
- func (p *Pair) IsSetAutomobile() bool
- func (p *Pair) IsSetCar() bool
- func (p *Pair) Read(iprot thrift.Protocol) error
- func (p *Pair) ReadField1(iprot thrift.Protocol) error
- func (p *Pair) ReadField2(iprot thrift.Protocol) error
- func (p *Pair) SetAutomobile(automobile *Automobile) *Pair
- func (p *Pair) SetCar(car *Car) *Pair
- func (p *Pair) String() string
- func (p *Pair) Write(oprot thrift.Protocol) error
- type PairBuilder
- type PartName
- type Plate
- type State
- type Year
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type Automobile ¶
type Automobile struct { Plate Plate `thrift:"plate,1" db:"plate" json:"plate"` PreviousPlate *Plate `thrift:"previous_plate,2,optional" db:"previous_plate" json:"previous_plate,omitempty"` FirstPlate Plate `thrift:"first_plate,3,optional" db:"first_plate" json:"first_plate,omitempty"` Year Year `thrift:"year,4" db:"year" json:"year"` Drivers Drivers `thrift:"drivers,5" db:"drivers" json:"drivers"` Accessories []*Accessory `thrift:"Accessories,6" db:"Accessories" json:"Accessories"` PartNames map[int32]*PartName `thrift:"PartNames,7" db:"PartNames" json:"PartNames"` }
Attributes:
- Plate
- PreviousPlate
- FirstPlate
- Year
- Drivers
- Accessories
- PartNames
var FinderByPlateResult_Success_DEFAULT *Automobile
var Pair_Automobile_DEFAULT *Automobile
func NewAutomobile ¶
func NewAutomobile() *Automobile
func (*Automobile) GetAccessories ¶
func (p *Automobile) GetAccessories() []*Accessory
func (*Automobile) GetDrivers ¶
func (p *Automobile) GetDrivers() Drivers
func (*Automobile) GetFirstPlate ¶
func (p *Automobile) GetFirstPlate() Plate
func (*Automobile) GetPartNames ¶
func (p *Automobile) GetPartNames() map[int32]*PartName
func (*Automobile) GetPlate ¶
func (p *Automobile) GetPlate() Plate
func (*Automobile) GetPreviousPlate ¶
func (p *Automobile) GetPreviousPlate() Plate
func (*Automobile) GetYear ¶
func (p *Automobile) GetYear() Year
func (*Automobile) IsSetFirstPlate ¶
func (p *Automobile) IsSetFirstPlate() bool
func (*Automobile) IsSetPreviousPlate ¶
func (p *Automobile) IsSetPreviousPlate() bool
func (*Automobile) ReadField1 ¶
func (p *Automobile) ReadField1(iprot thrift.Protocol) error
func (*Automobile) ReadField2 ¶
func (p *Automobile) ReadField2(iprot thrift.Protocol) error
func (*Automobile) ReadField3 ¶
func (p *Automobile) ReadField3(iprot thrift.Protocol) error
func (*Automobile) ReadField4 ¶
func (p *Automobile) ReadField4(iprot thrift.Protocol) error
func (*Automobile) ReadField5 ¶
func (p *Automobile) ReadField5(iprot thrift.Protocol) error
func (*Automobile) ReadField6 ¶
func (p *Automobile) ReadField6(iprot thrift.Protocol) error
func (*Automobile) ReadField7 ¶
func (p *Automobile) ReadField7(iprot thrift.Protocol) error
func (*Automobile) SetAccessories ¶
func (a *Automobile) SetAccessories(accessories []*Accessory) *Automobile
func (*Automobile) SetDrivers ¶
func (a *Automobile) SetDrivers(drivers Drivers) *Automobile
func (*Automobile) SetFirstPlate ¶
func (a *Automobile) SetFirstPlate(firstPlate Plate) *Automobile
func (*Automobile) SetPartNames ¶
func (a *Automobile) SetPartNames(partNames map[int32]*PartName) *Automobile
func (*Automobile) SetPlate ¶
func (a *Automobile) SetPlate(plate Plate) *Automobile
func (*Automobile) SetPreviousPlate ¶
func (a *Automobile) SetPreviousPlate(previousPlate *Plate) *Automobile
func (*Automobile) SetYear ¶
func (a *Automobile) SetYear(year Year) *Automobile
func (*Automobile) String ¶
func (p *Automobile) String() string
type AutomobileBuilder ¶
type AutomobileBuilder struct {
// contains filtered or unexported fields
}
func NewAutomobileBuilder ¶
func NewAutomobileBuilder() *AutomobileBuilder
func (*AutomobileBuilder) Accessories ¶
func (a *AutomobileBuilder) Accessories(accessories []*Accessory) *AutomobileBuilder
func (*AutomobileBuilder) Drivers ¶
func (a *AutomobileBuilder) Drivers(drivers Drivers) *AutomobileBuilder
func (AutomobileBuilder) Emit ¶
func (p AutomobileBuilder) Emit() *Automobile
func (*AutomobileBuilder) FirstPlate ¶
func (a *AutomobileBuilder) FirstPlate(firstPlate Plate) *AutomobileBuilder
func (*AutomobileBuilder) PartNames ¶
func (a *AutomobileBuilder) PartNames(partNames map[int32]*PartName) *AutomobileBuilder
func (*AutomobileBuilder) Plate ¶
func (a *AutomobileBuilder) Plate(plate Plate) *AutomobileBuilder
func (*AutomobileBuilder) PreviousPlate ¶
func (a *AutomobileBuilder) PreviousPlate(previousPlate *Plate) *AutomobileBuilder
func (*AutomobileBuilder) Year ¶
func (a *AutomobileBuilder) Year(year Year) *AutomobileBuilder
type Car ¶
type Car = Automobile
var FinderAliasByPlateResult_Success_DEFAULT *Car
var Pair_Car_DEFAULT *Car
type Collection ¶
type Collection struct { Automobiles []*Automobile `thrift:"automobiles,1" db:"automobiles" json:"automobiles"` Cars []*Car `thrift:"cars,2" db:"cars" json:"cars"` }
Attributes:
- Automobiles
- Cars
func NewCollection ¶
func NewCollection() *Collection
func (*Collection) GetAutomobiles ¶
func (p *Collection) GetAutomobiles() []*Automobile
func (*Collection) GetCars ¶
func (p *Collection) GetCars() []*Car
func (*Collection) ReadField1 ¶
func (p *Collection) ReadField1(iprot thrift.Protocol) error
func (*Collection) ReadField2 ¶
func (p *Collection) ReadField2(iprot thrift.Protocol) error
func (*Collection) SetAutomobiles ¶
func (c *Collection) SetAutomobiles(automobiles []*Automobile) *Collection
func (*Collection) SetCars ¶
func (c *Collection) SetCars(cars []*Car) *Collection
func (*Collection) String ¶
func (p *Collection) String() string
type CollectionBuilder ¶
type CollectionBuilder struct {
// contains filtered or unexported fields
}
func NewCollectionBuilder ¶
func NewCollectionBuilder() *CollectionBuilder
func (*CollectionBuilder) Automobiles ¶
func (c *CollectionBuilder) Automobiles(automobiles []*Automobile) *CollectionBuilder
func (*CollectionBuilder) Cars ¶
func (c *CollectionBuilder) Cars(cars []*Car) *CollectionBuilder
func (CollectionBuilder) Emit ¶
func (p CollectionBuilder) Emit() *Collection
type FinderAliasByPlateArgs ¶
type FinderAliasByPlateArgs struct { thrift.IRequest Plate Plate `thrift:"plate,1" db:"plate" json:"plate"` }
Attributes:
- Plate
func NewFinderAliasByPlateArgs ¶
func NewFinderAliasByPlateArgs() *FinderAliasByPlateArgs
func (*FinderAliasByPlateArgs) GetPlate ¶
func (p *FinderAliasByPlateArgs) GetPlate() Plate
func (*FinderAliasByPlateArgs) Read ¶
func (p *FinderAliasByPlateArgs) Read(iprot thrift.Protocol) error
func (*FinderAliasByPlateArgs) ReadField1 ¶
func (p *FinderAliasByPlateArgs) ReadField1(iprot thrift.Protocol) error
func (*FinderAliasByPlateArgs) SetPlate ¶
func (f *FinderAliasByPlateArgs) SetPlate(plate Plate) *FinderAliasByPlateArgs
func (*FinderAliasByPlateArgs) String ¶
func (p *FinderAliasByPlateArgs) String() string
type FinderAliasByPlateArgsBuilder ¶
type FinderAliasByPlateArgsBuilder struct {
// contains filtered or unexported fields
}
func NewFinderAliasByPlateArgsBuilder ¶
func NewFinderAliasByPlateArgsBuilder() *FinderAliasByPlateArgsBuilder
func (FinderAliasByPlateArgsBuilder) Emit ¶
func (p FinderAliasByPlateArgsBuilder) Emit() *FinderAliasByPlateArgs
func (*FinderAliasByPlateArgsBuilder) Plate ¶
func (f *FinderAliasByPlateArgsBuilder) Plate(plate Plate) *FinderAliasByPlateArgsBuilder
type FinderAliasByPlateResult ¶
type FinderAliasByPlateResult struct { thrift.IResponse Success *Car `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewFinderAliasByPlateResult ¶
func NewFinderAliasByPlateResult() *FinderAliasByPlateResult
func (*FinderAliasByPlateResult) Exception ¶
func (p *FinderAliasByPlateResult) Exception() thrift.WritableException
func (*FinderAliasByPlateResult) GetSuccess ¶
func (p *FinderAliasByPlateResult) GetSuccess() *Car
func (*FinderAliasByPlateResult) IsSetSuccess ¶
func (p *FinderAliasByPlateResult) IsSetSuccess() bool
func (*FinderAliasByPlateResult) Read ¶
func (p *FinderAliasByPlateResult) Read(iprot thrift.Protocol) error
func (*FinderAliasByPlateResult) ReadField0 ¶
func (p *FinderAliasByPlateResult) ReadField0(iprot thrift.Protocol) error
func (*FinderAliasByPlateResult) SetSuccess ¶
func (f *FinderAliasByPlateResult) SetSuccess(success *Car) *FinderAliasByPlateResult
func (*FinderAliasByPlateResult) String ¶
func (p *FinderAliasByPlateResult) String() string
type FinderAliasByPlateResultBuilder ¶
type FinderAliasByPlateResultBuilder struct {
// contains filtered or unexported fields
}
func NewFinderAliasByPlateResultBuilder ¶
func NewFinderAliasByPlateResultBuilder() *FinderAliasByPlateResultBuilder
func (FinderAliasByPlateResultBuilder) Emit ¶
func (p FinderAliasByPlateResultBuilder) Emit() *FinderAliasByPlateResult
func (*FinderAliasByPlateResultBuilder) Success ¶
func (f *FinderAliasByPlateResultBuilder) Success(success *Car) *FinderAliasByPlateResultBuilder
type FinderByPlateArgs ¶
type FinderByPlateArgs struct { thrift.IRequest Plate Plate `thrift:"plate,1" db:"plate" json:"plate"` }
Attributes:
- Plate
func NewFinderByPlateArgs ¶
func NewFinderByPlateArgs() *FinderByPlateArgs
func (*FinderByPlateArgs) GetPlate ¶
func (p *FinderByPlateArgs) GetPlate() Plate
func (*FinderByPlateArgs) ReadField1 ¶
func (p *FinderByPlateArgs) ReadField1(iprot thrift.Protocol) error
func (*FinderByPlateArgs) SetPlate ¶
func (f *FinderByPlateArgs) SetPlate(plate Plate) *FinderByPlateArgs
func (*FinderByPlateArgs) String ¶
func (p *FinderByPlateArgs) String() string
type FinderByPlateArgsBuilder ¶
type FinderByPlateArgsBuilder struct {
// contains filtered or unexported fields
}
func NewFinderByPlateArgsBuilder ¶
func NewFinderByPlateArgsBuilder() *FinderByPlateArgsBuilder
func (FinderByPlateArgsBuilder) Emit ¶
func (p FinderByPlateArgsBuilder) Emit() *FinderByPlateArgs
func (*FinderByPlateArgsBuilder) Plate ¶
func (f *FinderByPlateArgsBuilder) Plate(plate Plate) *FinderByPlateArgsBuilder
type FinderByPlateResult ¶
type FinderByPlateResult struct { thrift.IResponse Success *Automobile `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewFinderByPlateResult ¶
func NewFinderByPlateResult() *FinderByPlateResult
func (*FinderByPlateResult) DefaultGetSuccess ¶
func (p *FinderByPlateResult) DefaultGetSuccess() *Automobile
func (*FinderByPlateResult) Exception ¶
func (p *FinderByPlateResult) Exception() thrift.WritableException
func (*FinderByPlateResult) GetSuccess ¶
func (p *FinderByPlateResult) GetSuccess() *Automobile
func (*FinderByPlateResult) IsSetSuccess ¶
func (p *FinderByPlateResult) IsSetSuccess() bool
func (*FinderByPlateResult) ReadField0 ¶
func (p *FinderByPlateResult) ReadField0(iprot thrift.Protocol) error
func (*FinderByPlateResult) SetSuccess ¶
func (f *FinderByPlateResult) SetSuccess(success *Automobile) *FinderByPlateResult
func (*FinderByPlateResult) String ¶
func (p *FinderByPlateResult) String() string
type FinderByPlateResultBuilder ¶
type FinderByPlateResultBuilder struct {
// contains filtered or unexported fields
}
func NewFinderByPlateResultBuilder ¶
func NewFinderByPlateResultBuilder() *FinderByPlateResultBuilder
func (FinderByPlateResultBuilder) Emit ¶
func (p FinderByPlateResultBuilder) Emit() *FinderByPlateResult
func (*FinderByPlateResultBuilder) Success ¶
func (f *FinderByPlateResultBuilder) Success(success *Automobile) *FinderByPlateResultBuilder
type FinderChannelClient ¶
type FinderChannelClient struct {
RequestChannel thrift.RequestChannel
}
func NewFinderChannelClient ¶
func NewFinderChannelClient(channel thrift.RequestChannel) *FinderChannelClient
func (*FinderChannelClient) ByPlate ¶
func (p *FinderChannelClient) ByPlate(ctx context.Context, plate Plate) (_r *Automobile, err error)
Parameters:
- Plate
func (*FinderChannelClient) Close ¶
func (c *FinderChannelClient) Close() error
func (*FinderChannelClient) IsOpen ¶
func (c *FinderChannelClient) IsOpen() bool
func (*FinderChannelClient) Open ¶
func (c *FinderChannelClient) Open() error
type FinderClient ¶
type FinderClient struct { FinderClientInterface CC thrift.ClientConn }
func NewFinderClient ¶
func NewFinderClientFactory ¶
func NewFinderClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *FinderClient
func NewFinderClientProtocol ¶
func NewFinderClientProtocol(prot thrift.Protocol) *FinderClient
func (*FinderClient) AliasByPlate ¶
func (p *FinderClient) AliasByPlate(plate Plate) (_r *Car, err error)
Parameters:
- Plate
func (*FinderClient) ByPlate ¶
func (p *FinderClient) ByPlate(plate Plate) (_r *Automobile, err error)
Parameters:
- Plate
func (*FinderClient) Close ¶
func (client *FinderClient) Close() error
func (*FinderClient) IsOpen ¶
func (client *FinderClient) IsOpen() bool
func (*FinderClient) Open ¶
func (client *FinderClient) Open() error
func (*FinderClient) PreviousPlate ¶
func (p *FinderClient) PreviousPlate(plate Plate) (_r Plate, err error)
Parameters:
- Plate
type FinderClientInterface ¶
type FinderPreviousPlateArgs ¶
type FinderPreviousPlateArgs struct { thrift.IRequest Plate Plate `thrift:"plate,1" db:"plate" json:"plate"` }
Attributes:
- Plate
func NewFinderPreviousPlateArgs ¶
func NewFinderPreviousPlateArgs() *FinderPreviousPlateArgs
func (*FinderPreviousPlateArgs) GetPlate ¶
func (p *FinderPreviousPlateArgs) GetPlate() Plate
func (*FinderPreviousPlateArgs) Read ¶
func (p *FinderPreviousPlateArgs) Read(iprot thrift.Protocol) error
func (*FinderPreviousPlateArgs) ReadField1 ¶
func (p *FinderPreviousPlateArgs) ReadField1(iprot thrift.Protocol) error
func (*FinderPreviousPlateArgs) SetPlate ¶
func (f *FinderPreviousPlateArgs) SetPlate(plate Plate) *FinderPreviousPlateArgs
func (*FinderPreviousPlateArgs) String ¶
func (p *FinderPreviousPlateArgs) String() string
type FinderPreviousPlateArgsBuilder ¶
type FinderPreviousPlateArgsBuilder struct {
// contains filtered or unexported fields
}
func NewFinderPreviousPlateArgsBuilder ¶
func NewFinderPreviousPlateArgsBuilder() *FinderPreviousPlateArgsBuilder
func (FinderPreviousPlateArgsBuilder) Emit ¶
func (p FinderPreviousPlateArgsBuilder) Emit() *FinderPreviousPlateArgs
func (*FinderPreviousPlateArgsBuilder) Plate ¶
func (f *FinderPreviousPlateArgsBuilder) Plate(plate Plate) *FinderPreviousPlateArgsBuilder
type FinderPreviousPlateResult ¶
type FinderPreviousPlateResult struct { thrift.IResponse Success *Plate `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewFinderPreviousPlateResult ¶
func NewFinderPreviousPlateResult() *FinderPreviousPlateResult
func (*FinderPreviousPlateResult) Exception ¶
func (p *FinderPreviousPlateResult) Exception() thrift.WritableException
func (*FinderPreviousPlateResult) GetSuccess ¶
func (p *FinderPreviousPlateResult) GetSuccess() Plate
func (*FinderPreviousPlateResult) IsSetSuccess ¶
func (p *FinderPreviousPlateResult) IsSetSuccess() bool
func (*FinderPreviousPlateResult) Read ¶
func (p *FinderPreviousPlateResult) Read(iprot thrift.Protocol) error
func (*FinderPreviousPlateResult) ReadField0 ¶
func (p *FinderPreviousPlateResult) ReadField0(iprot thrift.Protocol) error
func (*FinderPreviousPlateResult) SetSuccess ¶
func (f *FinderPreviousPlateResult) SetSuccess(success *Plate) *FinderPreviousPlateResult
func (*FinderPreviousPlateResult) String ¶
func (p *FinderPreviousPlateResult) String() string
type FinderPreviousPlateResultBuilder ¶
type FinderPreviousPlateResultBuilder struct {
// contains filtered or unexported fields
}
func NewFinderPreviousPlateResultBuilder ¶
func NewFinderPreviousPlateResultBuilder() *FinderPreviousPlateResultBuilder
func (FinderPreviousPlateResultBuilder) Emit ¶
func (p FinderPreviousPlateResultBuilder) Emit() *FinderPreviousPlateResult
func (*FinderPreviousPlateResultBuilder) Success ¶
func (f *FinderPreviousPlateResultBuilder) Success(success *Plate) *FinderPreviousPlateResultBuilder
type FinderProcessor ¶
type FinderProcessor struct {
// contains filtered or unexported fields
}
func NewFinderProcessor ¶
func NewFinderProcessor(handler Finder) *FinderProcessor
func (*FinderProcessor) AddToFunctionServiceMap ¶
func (p *FinderProcessor) AddToFunctionServiceMap(key, service string)
func (*FinderProcessor) AddToProcessorMap ¶
func (p *FinderProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
func (*FinderProcessor) FunctionServiceMap ¶
func (p *FinderProcessor) FunctionServiceMap() map[string]string
func (*FinderProcessor) GetProcessorFunction ¶
func (p *FinderProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
func (*FinderProcessor) ProcessorMap ¶
func (p *FinderProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
type FinderThreadsafeClient ¶
type FinderThreadsafeClient struct { FinderClientInterface CC thrift.ClientConn Mu sync.Mutex }
func NewFinderThreadsafeClientFactory ¶
func NewFinderThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *FinderThreadsafeClient
func NewFinderThreadsafeClientProtocol ¶
func NewFinderThreadsafeClientProtocol(prot thrift.Protocol) *FinderThreadsafeClient
func (*FinderThreadsafeClient) AliasByPlate ¶
func (p *FinderThreadsafeClient) AliasByPlate(plate Plate) (_r *Car, err error)
Parameters:
- Plate
func (*FinderThreadsafeClient) ByPlate ¶
func (p *FinderThreadsafeClient) ByPlate(plate Plate) (_r *Automobile, err error)
Parameters:
- Plate
func (*FinderThreadsafeClient) Close ¶
func (client *FinderThreadsafeClient) Close() error
func (*FinderThreadsafeClient) IsOpen ¶
func (client *FinderThreadsafeClient) IsOpen() bool
func (*FinderThreadsafeClient) Open ¶
func (client *FinderThreadsafeClient) Open() error
func (*FinderThreadsafeClient) PreviousPlate ¶
func (p *FinderThreadsafeClient) PreviousPlate(plate Plate) (_r Plate, err error)
Parameters:
- Plate
type MapContainer ¶
Attributes:
- Mapval
func NewMapContainer ¶
func NewMapContainer() *MapContainer
func (*MapContainer) GetMapval ¶
func (p *MapContainer) GetMapval() map[MapKey]string
func (*MapContainer) ReadField1 ¶
func (p *MapContainer) ReadField1(iprot thrift.Protocol) error
func (*MapContainer) SetMapval ¶
func (m *MapContainer) SetMapval(mapval map[MapKey]string) *MapContainer
func (*MapContainer) String ¶
func (p *MapContainer) String() string
type MapContainerBuilder ¶
type MapContainerBuilder struct {
// contains filtered or unexported fields
}
func NewMapContainerBuilder ¶
func NewMapContainerBuilder() *MapContainerBuilder
func (MapContainerBuilder) Emit ¶
func (p MapContainerBuilder) Emit() *MapContainer
func (*MapContainerBuilder) Mapval ¶
func (m *MapContainerBuilder) Mapval(mapval map[MapKey]string) *MapContainerBuilder
type MapKey ¶
type MapKey struct { Num int64 `thrift:"num,1" db:"num" json:"num"` Strval string `thrift:"strval,2" db:"strval" json:"strval"` }
Attributes:
- Num
- Strval
type MapKeyBuilder ¶
type MapKeyBuilder struct {
// contains filtered or unexported fields
}
func NewMapKeyBuilder ¶
func NewMapKeyBuilder() *MapKeyBuilder
func (MapKeyBuilder) Emit ¶
func (p MapKeyBuilder) Emit() *MapKey
func (*MapKeyBuilder) Num ¶
func (m *MapKeyBuilder) Num(num int64) *MapKeyBuilder
func (*MapKeyBuilder) Strval ¶
func (m *MapKeyBuilder) Strval(strval string) *MapKeyBuilder
type Pair ¶
type Pair struct { Automobile *Automobile `thrift:"automobile,1" db:"automobile" json:"automobile"` Car *Car `thrift:"car,2" db:"car" json:"car"` }
Attributes:
- Automobile
- Car
func (*Pair) DefaultGetAutomobile ¶
func (p *Pair) DefaultGetAutomobile() *Automobile
func (*Pair) GetAutomobile ¶
func (p *Pair) GetAutomobile() *Automobile
func (*Pair) IsSetAutomobile ¶
func (*Pair) SetAutomobile ¶
func (p *Pair) SetAutomobile(automobile *Automobile) *Pair
type PairBuilder ¶
type PairBuilder struct {
// contains filtered or unexported fields
}
func NewPairBuilder ¶
func NewPairBuilder() *PairBuilder
func (*PairBuilder) Automobile ¶
func (p *PairBuilder) Automobile(automobile *Automobile) *PairBuilder
func (*PairBuilder) Car ¶
func (p *PairBuilder) Car(car *Car) *PairBuilder
func (PairBuilder) Emit ¶
func (p PairBuilder) Emit() *Pair
Click to show internal directories.
Click to hide internal directories.