Documentation
¶
Index ¶
- Variables
- type BadService
- type BadServiceBarArgs
- type BadServiceBarArgsBuilder
- type BadServiceBarResult
- func (p *BadServiceBarResult) Exception() thrift.WritableException
- func (p *BadServiceBarResult) GetSuccess() int32
- func (p *BadServiceBarResult) IsSetSuccess() bool
- func (p *BadServiceBarResult) Read(iprot thrift.Protocol) error
- func (p *BadServiceBarResult) ReadField0(iprot thrift.Protocol) error
- func (b *BadServiceBarResult) SetSuccess(success *int32) *BadServiceBarResult
- func (p *BadServiceBarResult) String() string
- func (p *BadServiceBarResult) Write(oprot thrift.Protocol) error
- type BadServiceBarResultBuilder
- type BadServiceChannelClient
- type BadServiceClient
- type BadServiceClientInterface
- type BadServiceProcessor
- func (p *BadServiceProcessor) AddToFunctionServiceMap(key, service string)
- func (p *BadServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
- func (p *BadServiceProcessor) FunctionServiceMap() map[string]string
- func (p *BadServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
- func (p *BadServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
- type BadServiceThreadsafeClient
- func NewBadServiceThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *BadServiceThreadsafeClient
- func NewBadServiceThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *BadServiceThreadsafeClient
- func NewBadServiceThreadsafeClientProtocol(prot thrift.Protocol) *BadServiceThreadsafeClient
- type MyEnum
- type MyException
- type MyExceptionBuilder
- type MyId
- type MyService
- type MyServiceChannelClient
- func (c *MyServiceChannelClient) Close() error
- func (p *MyServiceChannelClient) GetDataById(ctx context.Context, id int64) (_r string, err error)
- func (p *MyServiceChannelClient) GetRandomData(ctx context.Context) (_r string, err error)
- func (p *MyServiceChannelClient) GoDoNothing(ctx context.Context) (err error)
- func (p *MyServiceChannelClient) HasDataById(ctx context.Context, id int64) (_r bool, err error)
- func (c *MyServiceChannelClient) IsOpen() bool
- func (p *MyServiceChannelClient) LobDataById(ctx context.Context, id int64, data string) (err error)
- func (c *MyServiceChannelClient) Open() error
- func (p *MyServiceChannelClient) Ping(ctx context.Context) (err error)
- func (p *MyServiceChannelClient) PutDataById(ctx context.Context, id int64, data string) (err error)
- type MyServiceClient
- func (client *MyServiceClient) Close() error
- func (p *MyServiceClient) GetDataById(id int64) (_r string, err error)
- func (p *MyServiceClient) GetRandomData() (_r string, err error)
- func (p *MyServiceClient) GoDoNothing() (err error)
- func (p *MyServiceClient) HasDataById(id int64) (_r bool, err error)
- func (client *MyServiceClient) IsOpen() bool
- func (p *MyServiceClient) LobDataById(id int64, data string) (err error)
- func (client *MyServiceClient) Open() error
- func (p *MyServiceClient) Ping() (err error)
- func (p *MyServiceClient) PutDataById(id int64, data string) (err error)
- type MyServiceClientInterface
- type MyServiceDoNothingArgs
- type MyServiceDoNothingArgsBuilder
- type MyServiceDoNothingResult
- type MyServiceDoNothingResultBuilder
- type MyServiceGetDataByIdArgs
- func (p *MyServiceGetDataByIdArgs) GetId() int64
- func (p *MyServiceGetDataByIdArgs) Read(iprot thrift.Protocol) error
- func (p *MyServiceGetDataByIdArgs) ReadField1(iprot thrift.Protocol) error
- func (m *MyServiceGetDataByIdArgs) SetId(id int64) *MyServiceGetDataByIdArgs
- func (p *MyServiceGetDataByIdArgs) String() string
- func (p *MyServiceGetDataByIdArgs) Write(oprot thrift.Protocol) error
- type MyServiceGetDataByIdArgsBuilder
- type MyServiceGetDataByIdResult
- func (p *MyServiceGetDataByIdResult) Exception() thrift.WritableException
- func (p *MyServiceGetDataByIdResult) GetSuccess() string
- func (p *MyServiceGetDataByIdResult) IsSetSuccess() bool
- func (p *MyServiceGetDataByIdResult) Read(iprot thrift.Protocol) error
- func (p *MyServiceGetDataByIdResult) ReadField0(iprot thrift.Protocol) error
- func (m *MyServiceGetDataByIdResult) SetSuccess(success *string) *MyServiceGetDataByIdResult
- func (p *MyServiceGetDataByIdResult) String() string
- func (p *MyServiceGetDataByIdResult) Write(oprot thrift.Protocol) error
- type MyServiceGetDataByIdResultBuilder
- type MyServiceGetRandomDataArgs
- type MyServiceGetRandomDataArgsBuilder
- type MyServiceGetRandomDataResult
- func (p *MyServiceGetRandomDataResult) Exception() thrift.WritableException
- func (p *MyServiceGetRandomDataResult) GetSuccess() string
- func (p *MyServiceGetRandomDataResult) IsSetSuccess() bool
- func (p *MyServiceGetRandomDataResult) Read(iprot thrift.Protocol) error
- func (p *MyServiceGetRandomDataResult) ReadField0(iprot thrift.Protocol) error
- func (m *MyServiceGetRandomDataResult) SetSuccess(success *string) *MyServiceGetRandomDataResult
- func (p *MyServiceGetRandomDataResult) String() string
- func (p *MyServiceGetRandomDataResult) Write(oprot thrift.Protocol) error
- type MyServiceGetRandomDataResultBuilder
- type MyServiceHasDataByIdArgs
- func (p *MyServiceHasDataByIdArgs) GetId() int64
- func (p *MyServiceHasDataByIdArgs) Read(iprot thrift.Protocol) error
- func (p *MyServiceHasDataByIdArgs) ReadField1(iprot thrift.Protocol) error
- func (m *MyServiceHasDataByIdArgs) SetId(id int64) *MyServiceHasDataByIdArgs
- func (p *MyServiceHasDataByIdArgs) String() string
- func (p *MyServiceHasDataByIdArgs) Write(oprot thrift.Protocol) error
- type MyServiceHasDataByIdArgsBuilder
- type MyServiceHasDataByIdResult
- func (p *MyServiceHasDataByIdResult) Exception() thrift.WritableException
- func (p *MyServiceHasDataByIdResult) GetSuccess() bool
- func (p *MyServiceHasDataByIdResult) IsSetSuccess() bool
- func (p *MyServiceHasDataByIdResult) Read(iprot thrift.Protocol) error
- func (p *MyServiceHasDataByIdResult) ReadField0(iprot thrift.Protocol) error
- func (m *MyServiceHasDataByIdResult) SetSuccess(success *bool) *MyServiceHasDataByIdResult
- func (p *MyServiceHasDataByIdResult) String() string
- func (p *MyServiceHasDataByIdResult) Write(oprot thrift.Protocol) error
- type MyServiceHasDataByIdResultBuilder
- type MyServiceLobDataByIdArgs
- func (p *MyServiceLobDataByIdArgs) GetData() string
- func (p *MyServiceLobDataByIdArgs) GetId() int64
- func (p *MyServiceLobDataByIdArgs) Read(iprot thrift.Protocol) error
- func (p *MyServiceLobDataByIdArgs) ReadField1(iprot thrift.Protocol) error
- func (p *MyServiceLobDataByIdArgs) ReadField2(iprot thrift.Protocol) error
- func (m *MyServiceLobDataByIdArgs) SetData(data string) *MyServiceLobDataByIdArgs
- func (m *MyServiceLobDataByIdArgs) SetId(id int64) *MyServiceLobDataByIdArgs
- func (p *MyServiceLobDataByIdArgs) String() string
- func (p *MyServiceLobDataByIdArgs) Write(oprot thrift.Protocol) error
- type MyServiceLobDataByIdArgsBuilder
- type MyServicePingArgs
- type MyServicePingArgsBuilder
- type MyServicePingResult
- func (p *MyServicePingResult) Exception() thrift.WritableException
- func (p *MyServicePingResult) GetMyExcept() *MyException
- func (p *MyServicePingResult) IsSetMyExcept() bool
- func (p *MyServicePingResult) Read(iprot thrift.Protocol) error
- func (p *MyServicePingResult) ReadField1(iprot thrift.Protocol) error
- func (m *MyServicePingResult) SetMyExcept(myExcept *MyException) *MyServicePingResult
- func (p *MyServicePingResult) String() string
- func (p *MyServicePingResult) Write(oprot thrift.Protocol) error
- type MyServicePingResultBuilder
- type MyServicePrioChild
- type MyServicePrioChildChannelClient
- type MyServicePrioChildClient
- func NewMyServicePrioChildClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *MyServicePrioChildClient
- func NewMyServicePrioChildClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServicePrioChildClient
- func NewMyServicePrioChildClientProtocol(prot thrift.Protocol) *MyServicePrioChildClient
- type MyServicePrioChildClientInterface
- type MyServicePrioChildPangArgs
- type MyServicePrioChildPangArgsBuilder
- type MyServicePrioChildPangResult
- type MyServicePrioChildPangResultBuilder
- type MyServicePrioChildProcessor
- type MyServicePrioChildThreadsafeClient
- func NewMyServicePrioChildThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *MyServicePrioChildThreadsafeClient
- func NewMyServicePrioChildThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServicePrioChildThreadsafeClient
- func NewMyServicePrioChildThreadsafeClientProtocol(prot thrift.Protocol) *MyServicePrioChildThreadsafeClient
- type MyServicePrioParent
- type MyServicePrioParentChannelClient
- func (c *MyServicePrioParentChannelClient) Close() error
- func (c *MyServicePrioParentChannelClient) IsOpen() bool
- func (c *MyServicePrioParentChannelClient) Open() error
- func (p *MyServicePrioParentChannelClient) Ping(ctx context.Context) (err error)
- func (p *MyServicePrioParentChannelClient) Pong(ctx context.Context) (err error)
- type MyServicePrioParentClient
- func NewMyServicePrioParentClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *MyServicePrioParentClient
- func NewMyServicePrioParentClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServicePrioParentClient
- func NewMyServicePrioParentClientProtocol(prot thrift.Protocol) *MyServicePrioParentClient
- type MyServicePrioParentClientInterface
- type MyServicePrioParentPingArgs
- type MyServicePrioParentPingArgsBuilder
- type MyServicePrioParentPingResult
- type MyServicePrioParentPingResultBuilder
- type MyServicePrioParentPongArgs
- type MyServicePrioParentPongArgsBuilder
- type MyServicePrioParentPongResult
- type MyServicePrioParentPongResultBuilder
- type MyServicePrioParentProcessor
- func (p *MyServicePrioParentProcessor) AddToFunctionServiceMap(key, service string)
- func (p *MyServicePrioParentProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
- func (p *MyServicePrioParentProcessor) FunctionServiceMap() map[string]string
- func (p *MyServicePrioParentProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
- func (p *MyServicePrioParentProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
- type MyServicePrioParentThreadsafeClient
- func NewMyServicePrioParentThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *MyServicePrioParentThreadsafeClient
- func NewMyServicePrioParentThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServicePrioParentThreadsafeClient
- func NewMyServicePrioParentThreadsafeClientProtocol(prot thrift.Protocol) *MyServicePrioParentThreadsafeClient
- func (client *MyServicePrioParentThreadsafeClient) Close() error
- func (client *MyServicePrioParentThreadsafeClient) IsOpen() bool
- func (client *MyServicePrioParentThreadsafeClient) Open() error
- func (p *MyServicePrioParentThreadsafeClient) Ping() (err error)
- func (p *MyServicePrioParentThreadsafeClient) Pong() (err error)
- type MyServiceProcessor
- func (p *MyServiceProcessor) AddToFunctionServiceMap(key, service string)
- func (p *MyServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
- func (p *MyServiceProcessor) FunctionServiceMap() map[string]string
- func (p *MyServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
- func (p *MyServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
- type MyServicePutDataByIdArgs
- func (p *MyServicePutDataByIdArgs) GetData() string
- func (p *MyServicePutDataByIdArgs) GetId() int64
- func (p *MyServicePutDataByIdArgs) Read(iprot thrift.Protocol) error
- func (p *MyServicePutDataByIdArgs) ReadField1(iprot thrift.Protocol) error
- func (p *MyServicePutDataByIdArgs) ReadField2(iprot thrift.Protocol) error
- func (m *MyServicePutDataByIdArgs) SetData(data string) *MyServicePutDataByIdArgs
- func (m *MyServicePutDataByIdArgs) SetId(id int64) *MyServicePutDataByIdArgs
- func (p *MyServicePutDataByIdArgs) String() string
- func (p *MyServicePutDataByIdArgs) Write(oprot thrift.Protocol) error
- type MyServicePutDataByIdArgsBuilder
- type MyServicePutDataByIdResult
- type MyServicePutDataByIdResultBuilder
- type MyServiceThreadsafeClient
- func NewMyServiceThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *MyServiceThreadsafeClient
- func NewMyServiceThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServiceThreadsafeClient
- func NewMyServiceThreadsafeClientProtocol(prot thrift.Protocol) *MyServiceThreadsafeClient
- func (client *MyServiceThreadsafeClient) Close() error
- func (p *MyServiceThreadsafeClient) GetDataById(id int64) (_r string, err error)
- func (p *MyServiceThreadsafeClient) GetRandomData() (_r string, err error)
- func (p *MyServiceThreadsafeClient) GoDoNothing() (err error)
- func (p *MyServiceThreadsafeClient) HasDataById(id int64) (_r bool, err error)
- func (client *MyServiceThreadsafeClient) IsOpen() bool
- func (p *MyServiceThreadsafeClient) LobDataById(id int64, data string) (err error)
- func (client *MyServiceThreadsafeClient) Open() error
- func (p *MyServiceThreadsafeClient) Ping() (err error)
- func (p *MyServiceThreadsafeClient) PutDataById(id int64, data string) (err error)
- type MyStruct
- func (p *MyStruct) DefaultGetMyUnion() *MyUnion
- func (p *MyStruct) GetAnnotationWithQuote() string
- func (p *MyStruct) GetAnnotationWithTrailingComma() string
- func (p *MyStruct) GetClass_() string
- func (p *MyStruct) GetCppTypeAnnotation() []string
- func (p *MyStruct) GetEmptyAnnotations() string
- func (p *MyStruct) GetMajor() int64
- func (p *MyStruct) GetMyEnum() MyEnum
- func (p *MyStruct) GetMyID() MyId
- func (p *MyStruct) GetMyUnion() *MyUnion
- func (p *MyStruct) GetPackage() string
- func (p *MyStruct) IsSetMyUnion() bool
- func (p *MyStruct) Read(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField1(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField10(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField2(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField3(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField4(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField5(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField6(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField7(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField8(iprot thrift.Protocol) error
- func (p *MyStruct) ReadField9(iprot thrift.Protocol) error
- func (m *MyStruct) SetAnnotationWithQuote(annotationWithQuote string) *MyStruct
- func (m *MyStruct) SetAnnotationWithTrailingComma(annotationWithTrailingComma string) *MyStruct
- func (m *MyStruct) SetClass_(class_ string) *MyStruct
- func (m *MyStruct) SetCppTypeAnnotation(cppTypeAnnotation []string) *MyStruct
- func (m *MyStruct) SetEmptyAnnotations(emptyAnnotations string) *MyStruct
- func (m *MyStruct) SetMajor(major int64) *MyStruct
- func (m *MyStruct) SetMyEnum(myEnum MyEnum) *MyStruct
- func (m *MyStruct) SetMyID(myID MyId) *MyStruct
- func (m *MyStruct) SetMyUnion(myUnion *MyUnion) *MyStruct
- func (m *MyStruct) SetPackage(package_a1 string) *MyStruct
- func (p *MyStruct) String() string
- func (p *MyStruct) Write(oprot thrift.Protocol) error
- type MyStructBuilder
- func (m *MyStructBuilder) AnnotationWithQuote(annotationWithQuote string) *MyStructBuilder
- func (m *MyStructBuilder) AnnotationWithTrailingComma(annotationWithTrailingComma string) *MyStructBuilder
- func (m *MyStructBuilder) Class_(class_ string) *MyStructBuilder
- func (m *MyStructBuilder) CppTypeAnnotation(cppTypeAnnotation []string) *MyStructBuilder
- func (p MyStructBuilder) Emit() *MyStruct
- func (m *MyStructBuilder) EmptyAnnotations(emptyAnnotations string) *MyStructBuilder
- func (m *MyStructBuilder) Major(major int64) *MyStructBuilder
- func (m *MyStructBuilder) MyEnum(myEnum MyEnum) *MyStructBuilder
- func (m *MyStructBuilder) MyID(myID MyId) *MyStructBuilder
- func (m *MyStructBuilder) MyUnion(myUnion *MyUnion) *MyStructBuilder
- func (m *MyStructBuilder) Package(package_a1 string) *MyStructBuilder
- type MyStructNestedAnnotation
- func (p *MyStructNestedAnnotation) GetName() string
- func (p *MyStructNestedAnnotation) Read(iprot thrift.Protocol) error
- func (p *MyStructNestedAnnotation) ReadField1(iprot thrift.Protocol) error
- func (m *MyStructNestedAnnotation) SetName(name string) *MyStructNestedAnnotation
- func (p *MyStructNestedAnnotation) String() string
- func (p *MyStructNestedAnnotation) Write(oprot thrift.Protocol) error
- type MyStructNestedAnnotationBuilder
- type MyUnion
- type MyUnionBuilder
- type SecretStruct
- func (p *SecretStruct) GetId() int64
- func (p *SecretStruct) GetPassword() string
- func (p *SecretStruct) Read(iprot thrift.Protocol) error
- func (p *SecretStruct) ReadField1(iprot thrift.Protocol) error
- func (p *SecretStruct) ReadField2(iprot thrift.Protocol) error
- func (s *SecretStruct) SetId(id int64) *SecretStruct
- func (s *SecretStruct) SetPassword(password string) *SecretStruct
- func (p *SecretStruct) String() string
- func (p *SecretStruct) Write(oprot thrift.Protocol) error
- type SecretStructBuilder
Constants ¶
This section is empty.
Variables ¶
View Source
var BadServiceBarResult_Success_DEFAULT int32
View Source
var GoUnusedProtection__ int
View Source
var MyEnumNames = []string{
"MyValue1",
"MyValue2",
"DOMAIN",
}
View Source
var MyEnumToName = map[MyEnum]string{ MyEnum_MyValue1: "MyValue1", MyEnum_MyValue2: "MyValue2", MyEnum_DOMAIN: "DOMAIN", }
View Source
var MyEnumToValue = map[string]MyEnum{ "MyValue1": MyEnum_MyValue1, "MyValue2": MyEnum_MyValue2, "DOMAIN": MyEnum_DOMAIN, }
View Source
var MyEnumValues = []MyEnum{ MyEnum_MyValue1, MyEnum_MyValue2, MyEnum_DOMAIN, }
View Source
var MyServiceGetDataByIdResult_Success_DEFAULT string
View Source
var MyServiceGetRandomDataResult_Success_DEFAULT string
View Source
var MyServiceHasDataByIdResult_Success_DEFAULT bool
Functions ¶
This section is empty.
Types ¶
type BadService ¶
type BadServiceBarArgs ¶
func NewBadServiceBarArgs ¶
func NewBadServiceBarArgs() *BadServiceBarArgs
func (*BadServiceBarArgs) String ¶
func (p *BadServiceBarArgs) String() string
type BadServiceBarArgsBuilder ¶
type BadServiceBarArgsBuilder struct {
// contains filtered or unexported fields
}
func NewBadServiceBarArgsBuilder ¶
func NewBadServiceBarArgsBuilder() *BadServiceBarArgsBuilder
func (BadServiceBarArgsBuilder) Emit ¶
func (p BadServiceBarArgsBuilder) Emit() *BadServiceBarArgs
type BadServiceBarResult ¶
type BadServiceBarResult struct { thrift.IResponse Success *int32 `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewBadServiceBarResult ¶
func NewBadServiceBarResult() *BadServiceBarResult
func (*BadServiceBarResult) Exception ¶
func (p *BadServiceBarResult) Exception() thrift.WritableException
func (*BadServiceBarResult) GetSuccess ¶
func (p *BadServiceBarResult) GetSuccess() int32
func (*BadServiceBarResult) IsSetSuccess ¶
func (p *BadServiceBarResult) IsSetSuccess() bool
func (*BadServiceBarResult) ReadField0 ¶
func (p *BadServiceBarResult) ReadField0(iprot thrift.Protocol) error
func (*BadServiceBarResult) SetSuccess ¶
func (b *BadServiceBarResult) SetSuccess(success *int32) *BadServiceBarResult
func (*BadServiceBarResult) String ¶
func (p *BadServiceBarResult) String() string
type BadServiceBarResultBuilder ¶
type BadServiceBarResultBuilder struct {
// contains filtered or unexported fields
}
func NewBadServiceBarResultBuilder ¶
func NewBadServiceBarResultBuilder() *BadServiceBarResultBuilder
func (BadServiceBarResultBuilder) Emit ¶
func (p BadServiceBarResultBuilder) Emit() *BadServiceBarResult
func (*BadServiceBarResultBuilder) Success ¶
func (b *BadServiceBarResultBuilder) Success(success *int32) *BadServiceBarResultBuilder
type BadServiceChannelClient ¶
type BadServiceChannelClient struct {
RequestChannel thrift.RequestChannel
}
func NewBadServiceChannelClient ¶
func NewBadServiceChannelClient(channel thrift.RequestChannel) *BadServiceChannelClient
func (*BadServiceChannelClient) Bar ¶
func (p *BadServiceChannelClient) Bar(ctx context.Context) (_r int32, err error)
func (*BadServiceChannelClient) Close ¶
func (c *BadServiceChannelClient) Close() error
func (*BadServiceChannelClient) IsOpen ¶
func (c *BadServiceChannelClient) IsOpen() bool
func (*BadServiceChannelClient) Open ¶
func (c *BadServiceChannelClient) Open() error
type BadServiceClient ¶
type BadServiceClient struct { BadServiceClientInterface CC thrift.ClientConn }
func NewBadServiceClient ¶
func NewBadServiceClientFactory ¶
func NewBadServiceClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *BadServiceClient
func NewBadServiceClientProtocol ¶
func NewBadServiceClientProtocol(prot thrift.Protocol) *BadServiceClient
func (*BadServiceClient) Bar ¶
func (p *BadServiceClient) Bar() (_r int32, err error)
func (*BadServiceClient) Close ¶
func (client *BadServiceClient) Close() error
func (*BadServiceClient) IsOpen ¶
func (client *BadServiceClient) IsOpen() bool
func (*BadServiceClient) Open ¶
func (client *BadServiceClient) Open() error
type BadServiceClientInterface ¶
type BadServiceClientInterface interface { thrift.ClientInterface Bar() (_r int32, err error) }
type BadServiceProcessor ¶
type BadServiceProcessor struct {
// contains filtered or unexported fields
}
func NewBadServiceProcessor ¶
func NewBadServiceProcessor(handler BadService) *BadServiceProcessor
func (*BadServiceProcessor) AddToFunctionServiceMap ¶
func (p *BadServiceProcessor) AddToFunctionServiceMap(key, service string)
func (*BadServiceProcessor) AddToProcessorMap ¶
func (p *BadServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
func (*BadServiceProcessor) FunctionServiceMap ¶
func (p *BadServiceProcessor) FunctionServiceMap() map[string]string
func (*BadServiceProcessor) GetProcessorFunction ¶
func (p *BadServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
func (*BadServiceProcessor) ProcessorMap ¶
func (p *BadServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
type BadServiceThreadsafeClient ¶
type BadServiceThreadsafeClient struct { BadServiceClientInterface CC thrift.ClientConn Mu sync.Mutex }
func NewBadServiceThreadsafeClientFactory ¶
func NewBadServiceThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *BadServiceThreadsafeClient
func NewBadServiceThreadsafeClientProtocol ¶
func NewBadServiceThreadsafeClientProtocol(prot thrift.Protocol) *BadServiceThreadsafeClient
func (*BadServiceThreadsafeClient) Bar ¶
func (p *BadServiceThreadsafeClient) Bar() (_r int32, err error)
func (*BadServiceThreadsafeClient) Close ¶
func (client *BadServiceThreadsafeClient) Close() error
func (*BadServiceThreadsafeClient) IsOpen ¶
func (client *BadServiceThreadsafeClient) IsOpen() bool
func (*BadServiceThreadsafeClient) Open ¶
func (client *BadServiceThreadsafeClient) Open() error
type MyException ¶
type MyException struct { }
var MyServicePingResult_MyExcept_DEFAULT *MyException
func NewMyException ¶
func NewMyException() *MyException
func (*MyException) Error ¶
func (p *MyException) Error() string
func (*MyException) String ¶
func (p *MyException) String() string
type MyExceptionBuilder ¶
type MyExceptionBuilder struct {
// contains filtered or unexported fields
}
func NewMyExceptionBuilder ¶
func NewMyExceptionBuilder() *MyExceptionBuilder
func (MyExceptionBuilder) Emit ¶
func (p MyExceptionBuilder) Emit() *MyException
type MyService ¶
type MyService interface { Ping() (err error) GetRandomData() (_r string, err error) // Parameters: // - Id HasDataById(id int64) (_r bool, err error) // Parameters: // - Id GetDataById(id int64) (_r string, err error) // Parameters: // - Id // - Data PutDataById(id int64, data string) (err error) // Parameters: // - Id // - Data LobDataById(id int64, data string) (err error) GoDoNothing() (err error) }
type MyServiceChannelClient ¶
type MyServiceChannelClient struct {
RequestChannel thrift.RequestChannel
}
func NewMyServiceChannelClient ¶
func NewMyServiceChannelClient(channel thrift.RequestChannel) *MyServiceChannelClient
func (*MyServiceChannelClient) Close ¶
func (c *MyServiceChannelClient) Close() error
func (*MyServiceChannelClient) GetRandomData ¶
func (p *MyServiceChannelClient) GetRandomData(ctx context.Context) (_r string, err error)
func (*MyServiceChannelClient) GoDoNothing ¶
func (p *MyServiceChannelClient) GoDoNothing(ctx context.Context) (err error)
func (*MyServiceChannelClient) IsOpen ¶
func (c *MyServiceChannelClient) IsOpen() bool
func (*MyServiceChannelClient) LobDataById ¶
func (p *MyServiceChannelClient) LobDataById(ctx context.Context, id int64, data string) (err error)
Parameters:
- Id
- Data
func (*MyServiceChannelClient) Open ¶
func (c *MyServiceChannelClient) Open() error
func (*MyServiceChannelClient) Ping ¶
func (p *MyServiceChannelClient) Ping(ctx context.Context) (err error)
func (*MyServiceChannelClient) PutDataById ¶
func (p *MyServiceChannelClient) PutDataById(ctx context.Context, id int64, data string) (err error)
Parameters:
- Id
- Data
type MyServiceClient ¶
type MyServiceClient struct { MyServiceClientInterface CC thrift.ClientConn }
func NewMyServiceClient ¶
func NewMyServiceClientFactory ¶
func NewMyServiceClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServiceClient
func NewMyServiceClientProtocol ¶
func NewMyServiceClientProtocol(prot thrift.Protocol) *MyServiceClient
func (*MyServiceClient) Close ¶
func (client *MyServiceClient) Close() error
func (*MyServiceClient) GetDataById ¶
func (p *MyServiceClient) GetDataById(id int64) (_r string, err error)
Parameters:
- Id
func (*MyServiceClient) GetRandomData ¶
func (p *MyServiceClient) GetRandomData() (_r string, err error)
func (*MyServiceClient) GoDoNothing ¶
func (p *MyServiceClient) GoDoNothing() (err error)
func (*MyServiceClient) HasDataById ¶
func (p *MyServiceClient) HasDataById(id int64) (_r bool, err error)
Parameters:
- Id
func (*MyServiceClient) IsOpen ¶
func (client *MyServiceClient) IsOpen() bool
func (*MyServiceClient) LobDataById ¶
func (p *MyServiceClient) LobDataById(id int64, data string) (err error)
Parameters:
- Id
- Data
func (*MyServiceClient) Open ¶
func (client *MyServiceClient) Open() error
func (*MyServiceClient) Ping ¶
func (p *MyServiceClient) Ping() (err error)
func (*MyServiceClient) PutDataById ¶
func (p *MyServiceClient) PutDataById(id int64, data string) (err error)
Parameters:
- Id
- Data
type MyServiceClientInterface ¶
type MyServiceClientInterface interface { thrift.ClientInterface Ping() (err error) GetRandomData() (_r string, err error) // Parameters: // - Id HasDataById(id int64) (_r bool, err error) // Parameters: // - Id GetDataById(id int64) (_r string, err error) // Parameters: // - Id // - Data PutDataById(id int64, data string) (err error) // Parameters: // - Id // - Data LobDataById(id int64, data string) (err error) GoDoNothing() (err error) }
type MyServiceDoNothingArgs ¶
func NewMyServiceDoNothingArgs ¶
func NewMyServiceDoNothingArgs() *MyServiceDoNothingArgs
func (*MyServiceDoNothingArgs) Read ¶
func (p *MyServiceDoNothingArgs) Read(iprot thrift.Protocol) error
func (*MyServiceDoNothingArgs) String ¶
func (p *MyServiceDoNothingArgs) String() string
type MyServiceDoNothingArgsBuilder ¶
type MyServiceDoNothingArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceDoNothingArgsBuilder ¶
func NewMyServiceDoNothingArgsBuilder() *MyServiceDoNothingArgsBuilder
func (MyServiceDoNothingArgsBuilder) Emit ¶
func (p MyServiceDoNothingArgsBuilder) Emit() *MyServiceDoNothingArgs
type MyServiceDoNothingResult ¶
func NewMyServiceDoNothingResult ¶
func NewMyServiceDoNothingResult() *MyServiceDoNothingResult
func (*MyServiceDoNothingResult) Exception ¶
func (p *MyServiceDoNothingResult) Exception() thrift.WritableException
func (*MyServiceDoNothingResult) Read ¶
func (p *MyServiceDoNothingResult) Read(iprot thrift.Protocol) error
func (*MyServiceDoNothingResult) String ¶
func (p *MyServiceDoNothingResult) String() string
type MyServiceDoNothingResultBuilder ¶
type MyServiceDoNothingResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceDoNothingResultBuilder ¶
func NewMyServiceDoNothingResultBuilder() *MyServiceDoNothingResultBuilder
func (MyServiceDoNothingResultBuilder) Emit ¶
func (p MyServiceDoNothingResultBuilder) Emit() *MyServiceDoNothingResult
type MyServiceGetDataByIdArgs ¶
Attributes:
- Id
func NewMyServiceGetDataByIdArgs ¶
func NewMyServiceGetDataByIdArgs() *MyServiceGetDataByIdArgs
func (*MyServiceGetDataByIdArgs) GetId ¶
func (p *MyServiceGetDataByIdArgs) GetId() int64
func (*MyServiceGetDataByIdArgs) Read ¶
func (p *MyServiceGetDataByIdArgs) Read(iprot thrift.Protocol) error
func (*MyServiceGetDataByIdArgs) ReadField1 ¶
func (p *MyServiceGetDataByIdArgs) ReadField1(iprot thrift.Protocol) error
func (*MyServiceGetDataByIdArgs) SetId ¶
func (m *MyServiceGetDataByIdArgs) SetId(id int64) *MyServiceGetDataByIdArgs
func (*MyServiceGetDataByIdArgs) String ¶
func (p *MyServiceGetDataByIdArgs) String() string
type MyServiceGetDataByIdArgsBuilder ¶
type MyServiceGetDataByIdArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceGetDataByIdArgsBuilder ¶
func NewMyServiceGetDataByIdArgsBuilder() *MyServiceGetDataByIdArgsBuilder
func (MyServiceGetDataByIdArgsBuilder) Emit ¶
func (p MyServiceGetDataByIdArgsBuilder) Emit() *MyServiceGetDataByIdArgs
func (*MyServiceGetDataByIdArgsBuilder) Id ¶
func (m *MyServiceGetDataByIdArgsBuilder) Id(id int64) *MyServiceGetDataByIdArgsBuilder
type MyServiceGetDataByIdResult ¶
type MyServiceGetDataByIdResult struct { thrift.IResponse Success *string `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewMyServiceGetDataByIdResult ¶
func NewMyServiceGetDataByIdResult() *MyServiceGetDataByIdResult
func (*MyServiceGetDataByIdResult) Exception ¶
func (p *MyServiceGetDataByIdResult) Exception() thrift.WritableException
func (*MyServiceGetDataByIdResult) GetSuccess ¶
func (p *MyServiceGetDataByIdResult) GetSuccess() string
func (*MyServiceGetDataByIdResult) IsSetSuccess ¶
func (p *MyServiceGetDataByIdResult) IsSetSuccess() bool
func (*MyServiceGetDataByIdResult) Read ¶
func (p *MyServiceGetDataByIdResult) Read(iprot thrift.Protocol) error
func (*MyServiceGetDataByIdResult) ReadField0 ¶
func (p *MyServiceGetDataByIdResult) ReadField0(iprot thrift.Protocol) error
func (*MyServiceGetDataByIdResult) SetSuccess ¶
func (m *MyServiceGetDataByIdResult) SetSuccess(success *string) *MyServiceGetDataByIdResult
func (*MyServiceGetDataByIdResult) String ¶
func (p *MyServiceGetDataByIdResult) String() string
type MyServiceGetDataByIdResultBuilder ¶
type MyServiceGetDataByIdResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceGetDataByIdResultBuilder ¶
func NewMyServiceGetDataByIdResultBuilder() *MyServiceGetDataByIdResultBuilder
func (MyServiceGetDataByIdResultBuilder) Emit ¶
func (p MyServiceGetDataByIdResultBuilder) Emit() *MyServiceGetDataByIdResult
func (*MyServiceGetDataByIdResultBuilder) Success ¶
func (m *MyServiceGetDataByIdResultBuilder) Success(success *string) *MyServiceGetDataByIdResultBuilder
type MyServiceGetRandomDataArgs ¶
func NewMyServiceGetRandomDataArgs ¶
func NewMyServiceGetRandomDataArgs() *MyServiceGetRandomDataArgs
func (*MyServiceGetRandomDataArgs) Read ¶
func (p *MyServiceGetRandomDataArgs) Read(iprot thrift.Protocol) error
func (*MyServiceGetRandomDataArgs) String ¶
func (p *MyServiceGetRandomDataArgs) String() string
type MyServiceGetRandomDataArgsBuilder ¶
type MyServiceGetRandomDataArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceGetRandomDataArgsBuilder ¶
func NewMyServiceGetRandomDataArgsBuilder() *MyServiceGetRandomDataArgsBuilder
func (MyServiceGetRandomDataArgsBuilder) Emit ¶
func (p MyServiceGetRandomDataArgsBuilder) Emit() *MyServiceGetRandomDataArgs
type MyServiceGetRandomDataResult ¶
type MyServiceGetRandomDataResult struct { thrift.IResponse Success *string `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewMyServiceGetRandomDataResult ¶
func NewMyServiceGetRandomDataResult() *MyServiceGetRandomDataResult
func (*MyServiceGetRandomDataResult) Exception ¶
func (p *MyServiceGetRandomDataResult) Exception() thrift.WritableException
func (*MyServiceGetRandomDataResult) GetSuccess ¶
func (p *MyServiceGetRandomDataResult) GetSuccess() string
func (*MyServiceGetRandomDataResult) IsSetSuccess ¶
func (p *MyServiceGetRandomDataResult) IsSetSuccess() bool
func (*MyServiceGetRandomDataResult) Read ¶
func (p *MyServiceGetRandomDataResult) Read(iprot thrift.Protocol) error
func (*MyServiceGetRandomDataResult) ReadField0 ¶
func (p *MyServiceGetRandomDataResult) ReadField0(iprot thrift.Protocol) error
func (*MyServiceGetRandomDataResult) SetSuccess ¶
func (m *MyServiceGetRandomDataResult) SetSuccess(success *string) *MyServiceGetRandomDataResult
func (*MyServiceGetRandomDataResult) String ¶
func (p *MyServiceGetRandomDataResult) String() string
type MyServiceGetRandomDataResultBuilder ¶
type MyServiceGetRandomDataResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceGetRandomDataResultBuilder ¶
func NewMyServiceGetRandomDataResultBuilder() *MyServiceGetRandomDataResultBuilder
func (MyServiceGetRandomDataResultBuilder) Emit ¶
func (p MyServiceGetRandomDataResultBuilder) Emit() *MyServiceGetRandomDataResult
func (*MyServiceGetRandomDataResultBuilder) Success ¶
func (m *MyServiceGetRandomDataResultBuilder) Success(success *string) *MyServiceGetRandomDataResultBuilder
type MyServiceHasDataByIdArgs ¶
Attributes:
- Id
func NewMyServiceHasDataByIdArgs ¶
func NewMyServiceHasDataByIdArgs() *MyServiceHasDataByIdArgs
func (*MyServiceHasDataByIdArgs) GetId ¶
func (p *MyServiceHasDataByIdArgs) GetId() int64
func (*MyServiceHasDataByIdArgs) Read ¶
func (p *MyServiceHasDataByIdArgs) Read(iprot thrift.Protocol) error
func (*MyServiceHasDataByIdArgs) ReadField1 ¶
func (p *MyServiceHasDataByIdArgs) ReadField1(iprot thrift.Protocol) error
func (*MyServiceHasDataByIdArgs) SetId ¶
func (m *MyServiceHasDataByIdArgs) SetId(id int64) *MyServiceHasDataByIdArgs
func (*MyServiceHasDataByIdArgs) String ¶
func (p *MyServiceHasDataByIdArgs) String() string
type MyServiceHasDataByIdArgsBuilder ¶
type MyServiceHasDataByIdArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceHasDataByIdArgsBuilder ¶
func NewMyServiceHasDataByIdArgsBuilder() *MyServiceHasDataByIdArgsBuilder
func (MyServiceHasDataByIdArgsBuilder) Emit ¶
func (p MyServiceHasDataByIdArgsBuilder) Emit() *MyServiceHasDataByIdArgs
func (*MyServiceHasDataByIdArgsBuilder) Id ¶
func (m *MyServiceHasDataByIdArgsBuilder) Id(id int64) *MyServiceHasDataByIdArgsBuilder
type MyServiceHasDataByIdResult ¶
type MyServiceHasDataByIdResult struct { thrift.IResponse Success *bool `thrift:"success,0,optional" db:"success" json:"success,omitempty"` }
Attributes:
- Success
func NewMyServiceHasDataByIdResult ¶
func NewMyServiceHasDataByIdResult() *MyServiceHasDataByIdResult
func (*MyServiceHasDataByIdResult) Exception ¶
func (p *MyServiceHasDataByIdResult) Exception() thrift.WritableException
func (*MyServiceHasDataByIdResult) GetSuccess ¶
func (p *MyServiceHasDataByIdResult) GetSuccess() bool
func (*MyServiceHasDataByIdResult) IsSetSuccess ¶
func (p *MyServiceHasDataByIdResult) IsSetSuccess() bool
func (*MyServiceHasDataByIdResult) Read ¶
func (p *MyServiceHasDataByIdResult) Read(iprot thrift.Protocol) error
func (*MyServiceHasDataByIdResult) ReadField0 ¶
func (p *MyServiceHasDataByIdResult) ReadField0(iprot thrift.Protocol) error
func (*MyServiceHasDataByIdResult) SetSuccess ¶
func (m *MyServiceHasDataByIdResult) SetSuccess(success *bool) *MyServiceHasDataByIdResult
func (*MyServiceHasDataByIdResult) String ¶
func (p *MyServiceHasDataByIdResult) String() string
type MyServiceHasDataByIdResultBuilder ¶
type MyServiceHasDataByIdResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceHasDataByIdResultBuilder ¶
func NewMyServiceHasDataByIdResultBuilder() *MyServiceHasDataByIdResultBuilder
func (MyServiceHasDataByIdResultBuilder) Emit ¶
func (p MyServiceHasDataByIdResultBuilder) Emit() *MyServiceHasDataByIdResult
func (*MyServiceHasDataByIdResultBuilder) Success ¶
func (m *MyServiceHasDataByIdResultBuilder) Success(success *bool) *MyServiceHasDataByIdResultBuilder
type MyServiceLobDataByIdArgs ¶
type MyServiceLobDataByIdArgs struct { thrift.IRequest Id int64 `thrift:"id,1" db:"id" json:"id"` Data string `thrift:"data,2" db:"data" json:"data"` }
Attributes:
- Id
- Data
func NewMyServiceLobDataByIdArgs ¶
func NewMyServiceLobDataByIdArgs() *MyServiceLobDataByIdArgs
func (*MyServiceLobDataByIdArgs) GetData ¶
func (p *MyServiceLobDataByIdArgs) GetData() string
func (*MyServiceLobDataByIdArgs) GetId ¶
func (p *MyServiceLobDataByIdArgs) GetId() int64
func (*MyServiceLobDataByIdArgs) Read ¶
func (p *MyServiceLobDataByIdArgs) Read(iprot thrift.Protocol) error
func (*MyServiceLobDataByIdArgs) ReadField1 ¶
func (p *MyServiceLobDataByIdArgs) ReadField1(iprot thrift.Protocol) error
func (*MyServiceLobDataByIdArgs) ReadField2 ¶
func (p *MyServiceLobDataByIdArgs) ReadField2(iprot thrift.Protocol) error
func (*MyServiceLobDataByIdArgs) SetData ¶
func (m *MyServiceLobDataByIdArgs) SetData(data string) *MyServiceLobDataByIdArgs
func (*MyServiceLobDataByIdArgs) SetId ¶
func (m *MyServiceLobDataByIdArgs) SetId(id int64) *MyServiceLobDataByIdArgs
func (*MyServiceLobDataByIdArgs) String ¶
func (p *MyServiceLobDataByIdArgs) String() string
type MyServiceLobDataByIdArgsBuilder ¶
type MyServiceLobDataByIdArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServiceLobDataByIdArgsBuilder ¶
func NewMyServiceLobDataByIdArgsBuilder() *MyServiceLobDataByIdArgsBuilder
func (*MyServiceLobDataByIdArgsBuilder) Data ¶
func (m *MyServiceLobDataByIdArgsBuilder) Data(data string) *MyServiceLobDataByIdArgsBuilder
func (MyServiceLobDataByIdArgsBuilder) Emit ¶
func (p MyServiceLobDataByIdArgsBuilder) Emit() *MyServiceLobDataByIdArgs
func (*MyServiceLobDataByIdArgsBuilder) Id ¶
func (m *MyServiceLobDataByIdArgsBuilder) Id(id int64) *MyServiceLobDataByIdArgsBuilder
type MyServicePingArgs ¶
func NewMyServicePingArgs ¶
func NewMyServicePingArgs() *MyServicePingArgs
func (*MyServicePingArgs) String ¶
func (p *MyServicePingArgs) String() string
type MyServicePingArgsBuilder ¶
type MyServicePingArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePingArgsBuilder ¶
func NewMyServicePingArgsBuilder() *MyServicePingArgsBuilder
func (MyServicePingArgsBuilder) Emit ¶
func (p MyServicePingArgsBuilder) Emit() *MyServicePingArgs
type MyServicePingResult ¶
type MyServicePingResult struct { thrift.IResponse MyExcept *MyException `thrift:"myExcept,1,optional" db:"myExcept" json:"myExcept,omitempty"` }
Attributes:
- MyExcept
func NewMyServicePingResult ¶
func NewMyServicePingResult() *MyServicePingResult
func (*MyServicePingResult) Exception ¶
func (p *MyServicePingResult) Exception() thrift.WritableException
func (*MyServicePingResult) GetMyExcept ¶
func (p *MyServicePingResult) GetMyExcept() *MyException
func (*MyServicePingResult) IsSetMyExcept ¶
func (p *MyServicePingResult) IsSetMyExcept() bool
func (*MyServicePingResult) ReadField1 ¶
func (p *MyServicePingResult) ReadField1(iprot thrift.Protocol) error
func (*MyServicePingResult) SetMyExcept ¶
func (m *MyServicePingResult) SetMyExcept(myExcept *MyException) *MyServicePingResult
func (*MyServicePingResult) String ¶
func (p *MyServicePingResult) String() string
type MyServicePingResultBuilder ¶
type MyServicePingResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePingResultBuilder ¶
func NewMyServicePingResultBuilder() *MyServicePingResultBuilder
func (MyServicePingResultBuilder) Emit ¶
func (p MyServicePingResultBuilder) Emit() *MyServicePingResult
func (*MyServicePingResultBuilder) MyExcept ¶
func (m *MyServicePingResultBuilder) MyExcept(myExcept *MyException) *MyServicePingResultBuilder
type MyServicePrioChild ¶
type MyServicePrioChild interface { MyServicePrioParent Pang() (err error) }
type MyServicePrioChildChannelClient ¶
type MyServicePrioChildChannelClient struct {
*MyServicePrioParentChannelClient
}
func NewMyServicePrioChildChannelClient ¶
func NewMyServicePrioChildChannelClient(channel thrift.RequestChannel) *MyServicePrioChildChannelClient
func (*MyServicePrioChildChannelClient) Close ¶
func (c *MyServicePrioChildChannelClient) Close() error
func (*MyServicePrioChildChannelClient) IsOpen ¶
func (c *MyServicePrioChildChannelClient) IsOpen() bool
func (*MyServicePrioChildChannelClient) Open ¶
func (c *MyServicePrioChildChannelClient) Open() error
type MyServicePrioChildClient ¶
type MyServicePrioChildClient struct { MyServicePrioChildClientInterface *MyServicePrioParentClient }
func NewMyServicePrioChildClientFactory ¶
func NewMyServicePrioChildClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServicePrioChildClient
func NewMyServicePrioChildClientProtocol ¶
func NewMyServicePrioChildClientProtocol(prot thrift.Protocol) *MyServicePrioChildClient
func (*MyServicePrioChildClient) Close ¶
func (client *MyServicePrioChildClient) Close() error
func (*MyServicePrioChildClient) IsOpen ¶
func (client *MyServicePrioChildClient) IsOpen() bool
func (*MyServicePrioChildClient) Open ¶
func (client *MyServicePrioChildClient) Open() error
func (*MyServicePrioChildClient) Pang ¶
func (p *MyServicePrioChildClient) Pang() (err error)
type MyServicePrioChildClientInterface ¶
type MyServicePrioChildClientInterface interface { thrift.ClientInterface Pang() (err error) }
type MyServicePrioChildPangArgs ¶
func NewMyServicePrioChildPangArgs ¶
func NewMyServicePrioChildPangArgs() *MyServicePrioChildPangArgs
func (*MyServicePrioChildPangArgs) Read ¶
func (p *MyServicePrioChildPangArgs) Read(iprot thrift.Protocol) error
func (*MyServicePrioChildPangArgs) String ¶
func (p *MyServicePrioChildPangArgs) String() string
type MyServicePrioChildPangArgsBuilder ¶
type MyServicePrioChildPangArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePrioChildPangArgsBuilder ¶
func NewMyServicePrioChildPangArgsBuilder() *MyServicePrioChildPangArgsBuilder
func (MyServicePrioChildPangArgsBuilder) Emit ¶
func (p MyServicePrioChildPangArgsBuilder) Emit() *MyServicePrioChildPangArgs
type MyServicePrioChildPangResult ¶
func NewMyServicePrioChildPangResult ¶
func NewMyServicePrioChildPangResult() *MyServicePrioChildPangResult
func (*MyServicePrioChildPangResult) Exception ¶
func (p *MyServicePrioChildPangResult) Exception() thrift.WritableException
func (*MyServicePrioChildPangResult) Read ¶
func (p *MyServicePrioChildPangResult) Read(iprot thrift.Protocol) error
func (*MyServicePrioChildPangResult) String ¶
func (p *MyServicePrioChildPangResult) String() string
type MyServicePrioChildPangResultBuilder ¶
type MyServicePrioChildPangResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePrioChildPangResultBuilder ¶
func NewMyServicePrioChildPangResultBuilder() *MyServicePrioChildPangResultBuilder
func (MyServicePrioChildPangResultBuilder) Emit ¶
func (p MyServicePrioChildPangResultBuilder) Emit() *MyServicePrioChildPangResult
type MyServicePrioChildProcessor ¶
type MyServicePrioChildProcessor struct {
*MyServicePrioParentProcessor
}
func NewMyServicePrioChildProcessor ¶
func NewMyServicePrioChildProcessor(handler MyServicePrioChild) *MyServicePrioChildProcessor
type MyServicePrioChildThreadsafeClient ¶
type MyServicePrioChildThreadsafeClient struct { MyServicePrioChildClientInterface *MyServicePrioParentThreadsafeClient }
func NewMyServicePrioChildThreadsafeClientFactory ¶
func NewMyServicePrioChildThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServicePrioChildThreadsafeClient
func NewMyServicePrioChildThreadsafeClientProtocol ¶
func NewMyServicePrioChildThreadsafeClientProtocol(prot thrift.Protocol) *MyServicePrioChildThreadsafeClient
func (*MyServicePrioChildThreadsafeClient) Close ¶
func (client *MyServicePrioChildThreadsafeClient) Close() error
func (*MyServicePrioChildThreadsafeClient) IsOpen ¶
func (client *MyServicePrioChildThreadsafeClient) IsOpen() bool
func (*MyServicePrioChildThreadsafeClient) Open ¶
func (client *MyServicePrioChildThreadsafeClient) Open() error
func (*MyServicePrioChildThreadsafeClient) Pang ¶
func (p *MyServicePrioChildThreadsafeClient) Pang() (err error)
type MyServicePrioParent ¶
type MyServicePrioParentChannelClient ¶
type MyServicePrioParentChannelClient struct {
RequestChannel thrift.RequestChannel
}
func NewMyServicePrioParentChannelClient ¶
func NewMyServicePrioParentChannelClient(channel thrift.RequestChannel) *MyServicePrioParentChannelClient
func (*MyServicePrioParentChannelClient) Close ¶
func (c *MyServicePrioParentChannelClient) Close() error
func (*MyServicePrioParentChannelClient) IsOpen ¶
func (c *MyServicePrioParentChannelClient) IsOpen() bool
func (*MyServicePrioParentChannelClient) Open ¶
func (c *MyServicePrioParentChannelClient) Open() error
type MyServicePrioParentClient ¶
type MyServicePrioParentClient struct { MyServicePrioParentClientInterface CC thrift.ClientConn }
func NewMyServicePrioParentClientFactory ¶
func NewMyServicePrioParentClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServicePrioParentClient
func NewMyServicePrioParentClientProtocol ¶
func NewMyServicePrioParentClientProtocol(prot thrift.Protocol) *MyServicePrioParentClient
func (*MyServicePrioParentClient) Close ¶
func (client *MyServicePrioParentClient) Close() error
func (*MyServicePrioParentClient) IsOpen ¶
func (client *MyServicePrioParentClient) IsOpen() bool
func (*MyServicePrioParentClient) Open ¶
func (client *MyServicePrioParentClient) Open() error
func (*MyServicePrioParentClient) Ping ¶
func (p *MyServicePrioParentClient) Ping() (err error)
func (*MyServicePrioParentClient) Pong ¶
func (p *MyServicePrioParentClient) Pong() (err error)
type MyServicePrioParentClientInterface ¶
type MyServicePrioParentClientInterface interface { thrift.ClientInterface Ping() (err error) Pong() (err error) }
type MyServicePrioParentPingArgs ¶
func NewMyServicePrioParentPingArgs ¶
func NewMyServicePrioParentPingArgs() *MyServicePrioParentPingArgs
func (*MyServicePrioParentPingArgs) Read ¶
func (p *MyServicePrioParentPingArgs) Read(iprot thrift.Protocol) error
func (*MyServicePrioParentPingArgs) String ¶
func (p *MyServicePrioParentPingArgs) String() string
type MyServicePrioParentPingArgsBuilder ¶
type MyServicePrioParentPingArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePrioParentPingArgsBuilder ¶
func NewMyServicePrioParentPingArgsBuilder() *MyServicePrioParentPingArgsBuilder
func (MyServicePrioParentPingArgsBuilder) Emit ¶
func (p MyServicePrioParentPingArgsBuilder) Emit() *MyServicePrioParentPingArgs
type MyServicePrioParentPingResult ¶
func NewMyServicePrioParentPingResult ¶
func NewMyServicePrioParentPingResult() *MyServicePrioParentPingResult
func (*MyServicePrioParentPingResult) Exception ¶
func (p *MyServicePrioParentPingResult) Exception() thrift.WritableException
func (*MyServicePrioParentPingResult) Read ¶
func (p *MyServicePrioParentPingResult) Read(iprot thrift.Protocol) error
func (*MyServicePrioParentPingResult) String ¶
func (p *MyServicePrioParentPingResult) String() string
type MyServicePrioParentPingResultBuilder ¶
type MyServicePrioParentPingResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePrioParentPingResultBuilder ¶
func NewMyServicePrioParentPingResultBuilder() *MyServicePrioParentPingResultBuilder
func (MyServicePrioParentPingResultBuilder) Emit ¶
func (p MyServicePrioParentPingResultBuilder) Emit() *MyServicePrioParentPingResult
type MyServicePrioParentPongArgs ¶
func NewMyServicePrioParentPongArgs ¶
func NewMyServicePrioParentPongArgs() *MyServicePrioParentPongArgs
func (*MyServicePrioParentPongArgs) Read ¶
func (p *MyServicePrioParentPongArgs) Read(iprot thrift.Protocol) error
func (*MyServicePrioParentPongArgs) String ¶
func (p *MyServicePrioParentPongArgs) String() string
type MyServicePrioParentPongArgsBuilder ¶
type MyServicePrioParentPongArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePrioParentPongArgsBuilder ¶
func NewMyServicePrioParentPongArgsBuilder() *MyServicePrioParentPongArgsBuilder
func (MyServicePrioParentPongArgsBuilder) Emit ¶
func (p MyServicePrioParentPongArgsBuilder) Emit() *MyServicePrioParentPongArgs
type MyServicePrioParentPongResult ¶
func NewMyServicePrioParentPongResult ¶
func NewMyServicePrioParentPongResult() *MyServicePrioParentPongResult
func (*MyServicePrioParentPongResult) Exception ¶
func (p *MyServicePrioParentPongResult) Exception() thrift.WritableException
func (*MyServicePrioParentPongResult) Read ¶
func (p *MyServicePrioParentPongResult) Read(iprot thrift.Protocol) error
func (*MyServicePrioParentPongResult) String ¶
func (p *MyServicePrioParentPongResult) String() string
type MyServicePrioParentPongResultBuilder ¶
type MyServicePrioParentPongResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePrioParentPongResultBuilder ¶
func NewMyServicePrioParentPongResultBuilder() *MyServicePrioParentPongResultBuilder
func (MyServicePrioParentPongResultBuilder) Emit ¶
func (p MyServicePrioParentPongResultBuilder) Emit() *MyServicePrioParentPongResult
type MyServicePrioParentProcessor ¶
type MyServicePrioParentProcessor struct {
// contains filtered or unexported fields
}
func NewMyServicePrioParentProcessor ¶
func NewMyServicePrioParentProcessor(handler MyServicePrioParent) *MyServicePrioParentProcessor
func (*MyServicePrioParentProcessor) AddToFunctionServiceMap ¶
func (p *MyServicePrioParentProcessor) AddToFunctionServiceMap(key, service string)
func (*MyServicePrioParentProcessor) AddToProcessorMap ¶
func (p *MyServicePrioParentProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
func (*MyServicePrioParentProcessor) FunctionServiceMap ¶
func (p *MyServicePrioParentProcessor) FunctionServiceMap() map[string]string
func (*MyServicePrioParentProcessor) GetProcessorFunction ¶
func (p *MyServicePrioParentProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
func (*MyServicePrioParentProcessor) ProcessorMap ¶
func (p *MyServicePrioParentProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
type MyServicePrioParentThreadsafeClient ¶
type MyServicePrioParentThreadsafeClient struct { MyServicePrioParentClientInterface CC thrift.ClientConn Mu sync.Mutex }
func NewMyServicePrioParentThreadsafeClientFactory ¶
func NewMyServicePrioParentThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServicePrioParentThreadsafeClient
func NewMyServicePrioParentThreadsafeClientProtocol ¶
func NewMyServicePrioParentThreadsafeClientProtocol(prot thrift.Protocol) *MyServicePrioParentThreadsafeClient
func (*MyServicePrioParentThreadsafeClient) Close ¶
func (client *MyServicePrioParentThreadsafeClient) Close() error
func (*MyServicePrioParentThreadsafeClient) IsOpen ¶
func (client *MyServicePrioParentThreadsafeClient) IsOpen() bool
func (*MyServicePrioParentThreadsafeClient) Open ¶
func (client *MyServicePrioParentThreadsafeClient) Open() error
func (*MyServicePrioParentThreadsafeClient) Ping ¶
func (p *MyServicePrioParentThreadsafeClient) Ping() (err error)
func (*MyServicePrioParentThreadsafeClient) Pong ¶
func (p *MyServicePrioParentThreadsafeClient) Pong() (err error)
type MyServiceProcessor ¶
type MyServiceProcessor struct {
// contains filtered or unexported fields
}
func NewMyServiceProcessor ¶
func NewMyServiceProcessor(handler MyService) *MyServiceProcessor
func (*MyServiceProcessor) AddToFunctionServiceMap ¶
func (p *MyServiceProcessor) AddToFunctionServiceMap(key, service string)
func (*MyServiceProcessor) AddToProcessorMap ¶
func (p *MyServiceProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)
func (*MyServiceProcessor) FunctionServiceMap ¶
func (p *MyServiceProcessor) FunctionServiceMap() map[string]string
func (*MyServiceProcessor) GetProcessorFunction ¶
func (p *MyServiceProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)
func (*MyServiceProcessor) ProcessorMap ¶
func (p *MyServiceProcessor) ProcessorMap() map[string]thrift.ProcessorFunction
type MyServicePutDataByIdArgs ¶
type MyServicePutDataByIdArgs struct { thrift.IRequest Id int64 `thrift:"id,1" db:"id" json:"id"` Data string `thrift:"data,2" db:"data" json:"data"` }
Attributes:
- Id
- Data
func NewMyServicePutDataByIdArgs ¶
func NewMyServicePutDataByIdArgs() *MyServicePutDataByIdArgs
func (*MyServicePutDataByIdArgs) GetData ¶
func (p *MyServicePutDataByIdArgs) GetData() string
func (*MyServicePutDataByIdArgs) GetId ¶
func (p *MyServicePutDataByIdArgs) GetId() int64
func (*MyServicePutDataByIdArgs) Read ¶
func (p *MyServicePutDataByIdArgs) Read(iprot thrift.Protocol) error
func (*MyServicePutDataByIdArgs) ReadField1 ¶
func (p *MyServicePutDataByIdArgs) ReadField1(iprot thrift.Protocol) error
func (*MyServicePutDataByIdArgs) ReadField2 ¶
func (p *MyServicePutDataByIdArgs) ReadField2(iprot thrift.Protocol) error
func (*MyServicePutDataByIdArgs) SetData ¶
func (m *MyServicePutDataByIdArgs) SetData(data string) *MyServicePutDataByIdArgs
func (*MyServicePutDataByIdArgs) SetId ¶
func (m *MyServicePutDataByIdArgs) SetId(id int64) *MyServicePutDataByIdArgs
func (*MyServicePutDataByIdArgs) String ¶
func (p *MyServicePutDataByIdArgs) String() string
type MyServicePutDataByIdArgsBuilder ¶
type MyServicePutDataByIdArgsBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePutDataByIdArgsBuilder ¶
func NewMyServicePutDataByIdArgsBuilder() *MyServicePutDataByIdArgsBuilder
func (*MyServicePutDataByIdArgsBuilder) Data ¶
func (m *MyServicePutDataByIdArgsBuilder) Data(data string) *MyServicePutDataByIdArgsBuilder
func (MyServicePutDataByIdArgsBuilder) Emit ¶
func (p MyServicePutDataByIdArgsBuilder) Emit() *MyServicePutDataByIdArgs
func (*MyServicePutDataByIdArgsBuilder) Id ¶
func (m *MyServicePutDataByIdArgsBuilder) Id(id int64) *MyServicePutDataByIdArgsBuilder
type MyServicePutDataByIdResult ¶
func NewMyServicePutDataByIdResult ¶
func NewMyServicePutDataByIdResult() *MyServicePutDataByIdResult
func (*MyServicePutDataByIdResult) Exception ¶
func (p *MyServicePutDataByIdResult) Exception() thrift.WritableException
func (*MyServicePutDataByIdResult) Read ¶
func (p *MyServicePutDataByIdResult) Read(iprot thrift.Protocol) error
func (*MyServicePutDataByIdResult) String ¶
func (p *MyServicePutDataByIdResult) String() string
type MyServicePutDataByIdResultBuilder ¶
type MyServicePutDataByIdResultBuilder struct {
// contains filtered or unexported fields
}
func NewMyServicePutDataByIdResultBuilder ¶
func NewMyServicePutDataByIdResultBuilder() *MyServicePutDataByIdResultBuilder
func (MyServicePutDataByIdResultBuilder) Emit ¶
func (p MyServicePutDataByIdResultBuilder) Emit() *MyServicePutDataByIdResult
type MyServiceThreadsafeClient ¶
type MyServiceThreadsafeClient struct { MyServiceClientInterface CC thrift.ClientConn Mu sync.Mutex }
func NewMyServiceThreadsafeClientFactory ¶
func NewMyServiceThreadsafeClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *MyServiceThreadsafeClient
func NewMyServiceThreadsafeClientProtocol ¶
func NewMyServiceThreadsafeClientProtocol(prot thrift.Protocol) *MyServiceThreadsafeClient
func (*MyServiceThreadsafeClient) Close ¶
func (client *MyServiceThreadsafeClient) Close() error
func (*MyServiceThreadsafeClient) GetDataById ¶
func (p *MyServiceThreadsafeClient) GetDataById(id int64) (_r string, err error)
Parameters:
- Id
func (*MyServiceThreadsafeClient) GetRandomData ¶
func (p *MyServiceThreadsafeClient) GetRandomData() (_r string, err error)
func (*MyServiceThreadsafeClient) GoDoNothing ¶
func (p *MyServiceThreadsafeClient) GoDoNothing() (err error)
func (*MyServiceThreadsafeClient) HasDataById ¶
func (p *MyServiceThreadsafeClient) HasDataById(id int64) (_r bool, err error)
Parameters:
- Id
func (*MyServiceThreadsafeClient) IsOpen ¶
func (client *MyServiceThreadsafeClient) IsOpen() bool
func (*MyServiceThreadsafeClient) LobDataById ¶
func (p *MyServiceThreadsafeClient) LobDataById(id int64, data string) (err error)
Parameters:
- Id
- Data
func (*MyServiceThreadsafeClient) Open ¶
func (client *MyServiceThreadsafeClient) Open() error
func (*MyServiceThreadsafeClient) Ping ¶
func (p *MyServiceThreadsafeClient) Ping() (err error)
func (*MyServiceThreadsafeClient) PutDataById ¶
func (p *MyServiceThreadsafeClient) PutDataById(id int64, data string) (err error)
Parameters:
- Id
- Data
type MyStruct ¶
type MyStruct struct { Package string `thrift:"package,1" db:"package" json:"package"` Major int64 `thrift:"major,2" db:"major" json:"major"` AnnotationWithQuote string `thrift:"annotation_with_quote,3" tag:"somevalue"` Class_ string `thrift:"class_,4" db:"class_" json:"class_"` AnnotationWithTrailingComma string `thrift:"annotation_with_trailing_comma,5" db:"annotation_with_trailing_comma" json:"annotation_with_trailing_comma"` EmptyAnnotations string `thrift:"empty_annotations,6" db:"empty_annotations" json:"empty_annotations"` MyEnum MyEnum `thrift:"my_enum,7" db:"my_enum" json:"my_enum"` CppTypeAnnotation []string `thrift:"cpp_type_annotation,8" db:"cpp_type_annotation" json:"cpp_type_annotation"` MyUnion *MyUnion `thrift:"my_union,9" db:"my_union" json:"my_union"` MyID MyId `thrift:"my_id,10" db:"my_id" json:"my_id"` }
Attributes:
- Major
- Package
- AnnotationWithQuote
- Class_
- AnnotationWithTrailingComma
- EmptyAnnotations
- MyEnum
- CppTypeAnnotation
- MyUnion
- MyID
var MyStruct *MyStruct
func NewMyStruct ¶
func NewMyStruct() *MyStruct
func (*MyStruct) DefaultGetMyUnion ¶
func (*MyStruct) GetAnnotationWithQuote ¶
func (*MyStruct) GetAnnotationWithTrailingComma ¶
func (*MyStruct) GetCppTypeAnnotation ¶
func (*MyStruct) GetEmptyAnnotations ¶
func (*MyStruct) GetMyUnion ¶
func (*MyStruct) GetPackage ¶
func (*MyStruct) IsSetMyUnion ¶
func (*MyStruct) SetAnnotationWithQuote ¶
func (*MyStruct) SetAnnotationWithTrailingComma ¶
func (*MyStruct) SetCppTypeAnnotation ¶
func (*MyStruct) SetEmptyAnnotations ¶
func (*MyStruct) SetMyUnion ¶
func (*MyStruct) SetPackage ¶
type MyStructBuilder ¶
type MyStructBuilder struct {
// contains filtered or unexported fields
}
func NewMyStructBuilder ¶
func NewMyStructBuilder() *MyStructBuilder
func (*MyStructBuilder) AnnotationWithQuote ¶
func (m *MyStructBuilder) AnnotationWithQuote(annotationWithQuote string) *MyStructBuilder
func (*MyStructBuilder) AnnotationWithTrailingComma ¶
func (m *MyStructBuilder) AnnotationWithTrailingComma(annotationWithTrailingComma string) *MyStructBuilder
func (*MyStructBuilder) Class_ ¶
func (m *MyStructBuilder) Class_(class_ string) *MyStructBuilder
func (*MyStructBuilder) CppTypeAnnotation ¶
func (m *MyStructBuilder) CppTypeAnnotation(cppTypeAnnotation []string) *MyStructBuilder
func (MyStructBuilder) Emit ¶
func (p MyStructBuilder) Emit() *MyStruct
func (*MyStructBuilder) EmptyAnnotations ¶
func (m *MyStructBuilder) EmptyAnnotations(emptyAnnotations string) *MyStructBuilder
func (*MyStructBuilder) Major ¶
func (m *MyStructBuilder) Major(major int64) *MyStructBuilder
func (*MyStructBuilder) MyEnum ¶
func (m *MyStructBuilder) MyEnum(myEnum MyEnum) *MyStructBuilder
func (*MyStructBuilder) MyID ¶
func (m *MyStructBuilder) MyID(myID MyId) *MyStructBuilder
func (*MyStructBuilder) MyUnion ¶
func (m *MyStructBuilder) MyUnion(myUnion *MyUnion) *MyStructBuilder
func (*MyStructBuilder) Package ¶
func (m *MyStructBuilder) Package(package_a1 string) *MyStructBuilder
type MyStructNestedAnnotation ¶
type MyStructNestedAnnotation struct {
Name string `thrift:"name,1" db:"name" json:"name"`
}
Attributes:
- Name
func NewMyStructNestedAnnotation ¶
func NewMyStructNestedAnnotation() *MyStructNestedAnnotation
func (*MyStructNestedAnnotation) GetName ¶
func (p *MyStructNestedAnnotation) GetName() string
func (*MyStructNestedAnnotation) Read ¶
func (p *MyStructNestedAnnotation) Read(iprot thrift.Protocol) error
func (*MyStructNestedAnnotation) ReadField1 ¶
func (p *MyStructNestedAnnotation) ReadField1(iprot thrift.Protocol) error
func (*MyStructNestedAnnotation) SetName ¶
func (m *MyStructNestedAnnotation) SetName(name string) *MyStructNestedAnnotation
func (*MyStructNestedAnnotation) String ¶
func (p *MyStructNestedAnnotation) String() string
type MyStructNestedAnnotationBuilder ¶
type MyStructNestedAnnotationBuilder struct {
// contains filtered or unexported fields
}
func NewMyStructNestedAnnotationBuilder ¶
func NewMyStructNestedAnnotationBuilder() *MyStructNestedAnnotationBuilder
func (MyStructNestedAnnotationBuilder) Emit ¶
func (p MyStructNestedAnnotationBuilder) Emit() *MyStructNestedAnnotation
func (*MyStructNestedAnnotationBuilder) Name ¶
func (m *MyStructNestedAnnotationBuilder) Name(name string) *MyStructNestedAnnotationBuilder
type MyUnion ¶
type MyUnion struct { }
var MyStruct_MyUnion_DEFAULT *MyUnion
func NewMyUnion ¶
func NewMyUnion() *MyUnion
type MyUnionBuilder ¶
type MyUnionBuilder struct {
// contains filtered or unexported fields
}
func NewMyUnionBuilder ¶
func NewMyUnionBuilder() *MyUnionBuilder
func (MyUnionBuilder) Emit ¶
func (p MyUnionBuilder) Emit() *MyUnion
type SecretStruct ¶
type SecretStruct struct { Id int64 `thrift:"id,1" db:"id" json:"id"` Password string `thrift:"password,2" db:"password" json:"password"` }
Attributes:
- Id
- Password
func NewSecretStruct ¶
func NewSecretStruct() *SecretStruct
func (*SecretStruct) GetId ¶
func (p *SecretStruct) GetId() int64
func (*SecretStruct) GetPassword ¶
func (p *SecretStruct) GetPassword() string
func (*SecretStruct) ReadField1 ¶
func (p *SecretStruct) ReadField1(iprot thrift.Protocol) error
func (*SecretStruct) ReadField2 ¶
func (p *SecretStruct) ReadField2(iprot thrift.Protocol) error
func (*SecretStruct) SetId ¶
func (s *SecretStruct) SetId(id int64) *SecretStruct
func (*SecretStruct) SetPassword ¶
func (s *SecretStruct) SetPassword(password string) *SecretStruct
func (*SecretStruct) String ¶
func (p *SecretStruct) String() string
type SecretStructBuilder ¶
type SecretStructBuilder struct {
// contains filtered or unexported fields
}
func NewSecretStructBuilder ¶
func NewSecretStructBuilder() *SecretStructBuilder
func (SecretStructBuilder) Emit ¶
func (p SecretStructBuilder) Emit() *SecretStruct
func (*SecretStructBuilder) Id ¶
func (s *SecretStructBuilder) Id(id int64) *SecretStructBuilder
func (*SecretStructBuilder) Password ¶
func (s *SecretStructBuilder) Password(password string) *SecretStructBuilder
Click to show internal directories.
Click to hide internal directories.