module

package
v0.0.0-...-7428086 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int
View Source
var RaiserGet200Result_Success_DEFAULT string
View Source
var RaiserGet500Result_Success_DEFAULT string
View Source
var Serious_Sonnet_DEFAULT string

Functions

This section is empty.

Types

type Banal

type Banal struct {
}
var RaiserDoRaiseResult_B_DEFAULT *Banal
var RaiserGet500Result_B_DEFAULT *Banal

func NewBanal

func NewBanal() *Banal

func (*Banal) Error

func (p *Banal) Error() string

func (*Banal) Read

func (p *Banal) Read(iprot thrift.Protocol) error

func (*Banal) String

func (p *Banal) String() string

func (*Banal) Write

func (p *Banal) Write(oprot thrift.Protocol) error

type BanalBuilder

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

func NewBanalBuilder

func NewBanalBuilder() *BanalBuilder

func (BanalBuilder) Emit

func (p BanalBuilder) Emit() *Banal

type ComplexFieldNames

type ComplexFieldNames struct {
	ErrorMessage         string `thrift:"error_message,1" db:"error_message" json:"error_message"`
	InternalErrorMessage string `thrift:"internal_error_message,2" db:"internal_error_message" json:"internal_error_message"`
}

Attributes:

  • ErrorMessage
  • InternalErrorMessage

func NewComplexFieldNames

func NewComplexFieldNames() *ComplexFieldNames

func (*ComplexFieldNames) Error

func (p *ComplexFieldNames) Error() string

func (*ComplexFieldNames) GetErrorMessage

func (p *ComplexFieldNames) GetErrorMessage() string

func (*ComplexFieldNames) GetInternalErrorMessage

func (p *ComplexFieldNames) GetInternalErrorMessage() string

func (*ComplexFieldNames) Read

func (p *ComplexFieldNames) Read(iprot thrift.Protocol) error

func (*ComplexFieldNames) ReadField1

func (p *ComplexFieldNames) ReadField1(iprot thrift.Protocol) error

func (*ComplexFieldNames) ReadField2

func (p *ComplexFieldNames) ReadField2(iprot thrift.Protocol) error

func (*ComplexFieldNames) SetErrorMessage

func (c *ComplexFieldNames) SetErrorMessage(errorMessage string) *ComplexFieldNames

func (*ComplexFieldNames) SetInternalErrorMessage

func (c *ComplexFieldNames) SetInternalErrorMessage(internalErrorMessage string) *ComplexFieldNames

func (*ComplexFieldNames) String

func (p *ComplexFieldNames) String() string

func (*ComplexFieldNames) Write

func (p *ComplexFieldNames) Write(oprot thrift.Protocol) error

type ComplexFieldNamesBuilder

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

func NewComplexFieldNamesBuilder

func NewComplexFieldNamesBuilder() *ComplexFieldNamesBuilder

func (ComplexFieldNamesBuilder) Emit

func (*ComplexFieldNamesBuilder) ErrorMessage

func (c *ComplexFieldNamesBuilder) ErrorMessage(errorMessage string) *ComplexFieldNamesBuilder

func (*ComplexFieldNamesBuilder) InternalErrorMessage

func (c *ComplexFieldNamesBuilder) InternalErrorMessage(internalErrorMessage string) *ComplexFieldNamesBuilder

type CustomFieldNames

type CustomFieldNames struct {
	ErrorMessage         string `thrift:"error_message,1" db:"error_message" json:"error_message"`
	InternalErrorMessage string `thrift:"internal_error_message,2" db:"internal_error_message" json:"internal_error_message"`
}

Attributes:

  • ErrorMessage
  • InternalErrorMessage

func NewCustomFieldNames

func NewCustomFieldNames() *CustomFieldNames

func (*CustomFieldNames) Error

func (p *CustomFieldNames) Error() string

func (*CustomFieldNames) GetErrorMessage

func (p *CustomFieldNames) GetErrorMessage() string

func (*CustomFieldNames) GetInternalErrorMessage

func (p *CustomFieldNames) GetInternalErrorMessage() string

func (*CustomFieldNames) Read

func (p *CustomFieldNames) Read(iprot thrift.Protocol) error

func (*CustomFieldNames) ReadField1

func (p *CustomFieldNames) ReadField1(iprot thrift.Protocol) error

func (*CustomFieldNames) ReadField2

func (p *CustomFieldNames) ReadField2(iprot thrift.Protocol) error

func (*CustomFieldNames) SetErrorMessage

func (c *CustomFieldNames) SetErrorMessage(errorMessage string) *CustomFieldNames

func (*CustomFieldNames) SetInternalErrorMessage

func (c *CustomFieldNames) SetInternalErrorMessage(internalErrorMessage string) *CustomFieldNames

func (*CustomFieldNames) String

func (p *CustomFieldNames) String() string

func (*CustomFieldNames) Write

func (p *CustomFieldNames) Write(oprot thrift.Protocol) error

type CustomFieldNamesBuilder

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

func NewCustomFieldNamesBuilder

func NewCustomFieldNamesBuilder() *CustomFieldNamesBuilder

func (CustomFieldNamesBuilder) Emit

func (*CustomFieldNamesBuilder) ErrorMessage

func (c *CustomFieldNamesBuilder) ErrorMessage(errorMessage string) *CustomFieldNamesBuilder

func (*CustomFieldNamesBuilder) InternalErrorMessage

func (c *CustomFieldNamesBuilder) InternalErrorMessage(internalErrorMessage string) *CustomFieldNamesBuilder

type ExceptionWithPrimitiveField

type ExceptionWithPrimitiveField struct {
	Message   string `thrift:"message,1" db:"message" json:"message"`
	ErrorCode int32  `thrift:"error_code,2" db:"error_code" json:"error_code"`
}

Attributes:

  • Message
  • ErrorCode

func NewExceptionWithPrimitiveField

func NewExceptionWithPrimitiveField() *ExceptionWithPrimitiveField

func (*ExceptionWithPrimitiveField) Error

func (*ExceptionWithPrimitiveField) GetErrorCode

func (p *ExceptionWithPrimitiveField) GetErrorCode() int32

func (*ExceptionWithPrimitiveField) GetMessage

func (p *ExceptionWithPrimitiveField) GetMessage() string

func (*ExceptionWithPrimitiveField) Read

func (*ExceptionWithPrimitiveField) ReadField1

func (p *ExceptionWithPrimitiveField) ReadField1(iprot thrift.Protocol) error

func (*ExceptionWithPrimitiveField) ReadField2

func (p *ExceptionWithPrimitiveField) ReadField2(iprot thrift.Protocol) error

func (*ExceptionWithPrimitiveField) SetErrorCode

func (*ExceptionWithPrimitiveField) SetMessage

func (*ExceptionWithPrimitiveField) String

func (p *ExceptionWithPrimitiveField) String() string

func (*ExceptionWithPrimitiveField) Write

type ExceptionWithPrimitiveFieldBuilder

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

func NewExceptionWithPrimitiveFieldBuilder

func NewExceptionWithPrimitiveFieldBuilder() *ExceptionWithPrimitiveFieldBuilder

func (ExceptionWithPrimitiveFieldBuilder) Emit

func (*ExceptionWithPrimitiveFieldBuilder) ErrorCode

func (*ExceptionWithPrimitiveFieldBuilder) Message

type ExceptionWithStructuredAnnotation

type ExceptionWithStructuredAnnotation struct {
	MessageField string `thrift:"message_field,1" db:"message_field" json:"message_field"`
	ErrorCode    int32  `thrift:"error_code,2" db:"error_code" json:"error_code"`
}

Attributes:

  • MessageField
  • ErrorCode

func NewExceptionWithStructuredAnnotation

func NewExceptionWithStructuredAnnotation() *ExceptionWithStructuredAnnotation

func (*ExceptionWithStructuredAnnotation) Error

func (*ExceptionWithStructuredAnnotation) GetErrorCode

func (p *ExceptionWithStructuredAnnotation) GetErrorCode() int32

func (*ExceptionWithStructuredAnnotation) GetMessageField

func (p *ExceptionWithStructuredAnnotation) GetMessageField() string

func (*ExceptionWithStructuredAnnotation) Read

func (*ExceptionWithStructuredAnnotation) ReadField1

func (*ExceptionWithStructuredAnnotation) ReadField2

func (*ExceptionWithStructuredAnnotation) SetErrorCode

func (*ExceptionWithStructuredAnnotation) SetMessageField

func (*ExceptionWithStructuredAnnotation) String

func (*ExceptionWithStructuredAnnotation) Write

type ExceptionWithStructuredAnnotationBuilder

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

func NewExceptionWithStructuredAnnotationBuilder

func NewExceptionWithStructuredAnnotationBuilder() *ExceptionWithStructuredAnnotationBuilder

func (ExceptionWithStructuredAnnotationBuilder) Emit

func (*ExceptionWithStructuredAnnotationBuilder) ErrorCode

func (*ExceptionWithStructuredAnnotationBuilder) MessageField

type Fiery

type Fiery struct {
	Message string `thrift:"message,1,required" db:"message" json:"message"`
}

Attributes:

  • Message
var RaiserDoRaiseResult_F_DEFAULT *Fiery
var RaiserGet500Result_F_DEFAULT *Fiery

func NewFiery

func NewFiery() *Fiery

func (*Fiery) Error

func (p *Fiery) Error() string

func (*Fiery) GetMessage

func (p *Fiery) GetMessage() string

func (*Fiery) Read

func (p *Fiery) Read(iprot thrift.Protocol) error

func (*Fiery) ReadField1

func (p *Fiery) ReadField1(iprot thrift.Protocol) error

func (*Fiery) SetMessage

func (f *Fiery) SetMessage(message string) *Fiery

func (*Fiery) String

func (p *Fiery) String() string

func (*Fiery) Write

func (p *Fiery) Write(oprot thrift.Protocol) error

type FieryBuilder

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

func NewFieryBuilder

func NewFieryBuilder() *FieryBuilder

func (FieryBuilder) Emit

func (p FieryBuilder) Emit() *Fiery

func (*FieryBuilder) Message

func (f *FieryBuilder) Message(message string) *FieryBuilder

type Raiser

type Raiser interface {
	DoBland() (err error)
	DoRaise() (err error)
	Get200() (_r string, err error)
	Get500() (_r string, err error)
}

type RaiserChannelClient

type RaiserChannelClient struct {
	RequestChannel thrift.RequestChannel
}

func NewRaiserChannelClient

func NewRaiserChannelClient(channel thrift.RequestChannel) *RaiserChannelClient

func (*RaiserChannelClient) Close

func (c *RaiserChannelClient) Close() error

func (*RaiserChannelClient) DoBland

func (p *RaiserChannelClient) DoBland(ctx context.Context) (err error)

func (*RaiserChannelClient) DoRaise

func (p *RaiserChannelClient) DoRaise(ctx context.Context) (err error)

func (*RaiserChannelClient) Get200

func (p *RaiserChannelClient) Get200(ctx context.Context) (_r string, err error)

func (*RaiserChannelClient) Get500

func (p *RaiserChannelClient) Get500(ctx context.Context) (_r string, err error)

func (*RaiserChannelClient) IsOpen

func (c *RaiserChannelClient) IsOpen() bool

func (*RaiserChannelClient) Open

func (c *RaiserChannelClient) Open() error

type RaiserClient

type RaiserClient struct {
	RaiserClientInterface
	CC thrift.ClientConn
}

func NewRaiserClient

func NewRaiserClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *RaiserClient

func NewRaiserClientFactory

func NewRaiserClientFactory(t thrift.Transport, f thrift.ProtocolFactory) *RaiserClient

func NewRaiserClientProtocol

func NewRaiserClientProtocol(prot thrift.Protocol) *RaiserClient

func (*RaiserClient) Close

func (client *RaiserClient) Close() error

func (*RaiserClient) DoBland

func (p *RaiserClient) DoBland() (err error)

func (*RaiserClient) DoRaise

func (p *RaiserClient) DoRaise() (err error)

func (*RaiserClient) Get200

func (p *RaiserClient) Get200() (_r string, err error)

func (*RaiserClient) Get500

func (p *RaiserClient) Get500() (_r string, err error)

func (*RaiserClient) IsOpen

func (client *RaiserClient) IsOpen() bool

func (*RaiserClient) Open

func (client *RaiserClient) Open() error

type RaiserClientInterface

type RaiserClientInterface interface {
	thrift.ClientInterface
	DoBland() (err error)
	DoRaise() (err error)
	Get200() (_r string, err error)
	Get500() (_r string, err error)
}

type RaiserDoBlandArgs

type RaiserDoBlandArgs struct {
	thrift.IRequest
}

func NewRaiserDoBlandArgs

func NewRaiserDoBlandArgs() *RaiserDoBlandArgs

func (*RaiserDoBlandArgs) Read

func (p *RaiserDoBlandArgs) Read(iprot thrift.Protocol) error

func (*RaiserDoBlandArgs) String

func (p *RaiserDoBlandArgs) String() string

func (*RaiserDoBlandArgs) Write

func (p *RaiserDoBlandArgs) Write(oprot thrift.Protocol) error

type RaiserDoBlandArgsBuilder

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

func NewRaiserDoBlandArgsBuilder

func NewRaiserDoBlandArgsBuilder() *RaiserDoBlandArgsBuilder

func (RaiserDoBlandArgsBuilder) Emit

type RaiserDoBlandResult

type RaiserDoBlandResult struct {
	thrift.IResponse
}

func NewRaiserDoBlandResult

func NewRaiserDoBlandResult() *RaiserDoBlandResult

func (*RaiserDoBlandResult) Exception

func (*RaiserDoBlandResult) Read

func (p *RaiserDoBlandResult) Read(iprot thrift.Protocol) error

func (*RaiserDoBlandResult) String

func (p *RaiserDoBlandResult) String() string

func (*RaiserDoBlandResult) Write

func (p *RaiserDoBlandResult) Write(oprot thrift.Protocol) error

type RaiserDoBlandResultBuilder

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

func NewRaiserDoBlandResultBuilder

func NewRaiserDoBlandResultBuilder() *RaiserDoBlandResultBuilder

func (RaiserDoBlandResultBuilder) Emit

type RaiserDoRaiseArgs

type RaiserDoRaiseArgs struct {
	thrift.IRequest
}

func NewRaiserDoRaiseArgs

func NewRaiserDoRaiseArgs() *RaiserDoRaiseArgs

func (*RaiserDoRaiseArgs) Read

func (p *RaiserDoRaiseArgs) Read(iprot thrift.Protocol) error

func (*RaiserDoRaiseArgs) String

func (p *RaiserDoRaiseArgs) String() string

func (*RaiserDoRaiseArgs) Write

func (p *RaiserDoRaiseArgs) Write(oprot thrift.Protocol) error

type RaiserDoRaiseArgsBuilder

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

func NewRaiserDoRaiseArgsBuilder

func NewRaiserDoRaiseArgsBuilder() *RaiserDoRaiseArgsBuilder

func (RaiserDoRaiseArgsBuilder) Emit

type RaiserDoRaiseResult

type RaiserDoRaiseResult struct {
	thrift.IResponse
	B *Banal   `thrift:"b,1,optional" db:"b" json:"b,omitempty"`
	F *Fiery   `thrift:"f,2,optional" db:"f" json:"f,omitempty"`
	S *Serious `thrift:"s,3,optional" db:"s" json:"s,omitempty"`
}

Attributes:

  • B
  • F
  • S

func NewRaiserDoRaiseResult

func NewRaiserDoRaiseResult() *RaiserDoRaiseResult

func (*RaiserDoRaiseResult) Exception

func (*RaiserDoRaiseResult) GetB

func (p *RaiserDoRaiseResult) GetB() *Banal

func (*RaiserDoRaiseResult) GetF

func (p *RaiserDoRaiseResult) GetF() *Fiery

func (*RaiserDoRaiseResult) GetS

func (p *RaiserDoRaiseResult) GetS() *Serious

func (*RaiserDoRaiseResult) IsSetB

func (p *RaiserDoRaiseResult) IsSetB() bool

func (*RaiserDoRaiseResult) IsSetF

func (p *RaiserDoRaiseResult) IsSetF() bool

func (*RaiserDoRaiseResult) IsSetS

func (p *RaiserDoRaiseResult) IsSetS() bool

func (*RaiserDoRaiseResult) Read

func (p *RaiserDoRaiseResult) Read(iprot thrift.Protocol) error

func (*RaiserDoRaiseResult) ReadField1

func (p *RaiserDoRaiseResult) ReadField1(iprot thrift.Protocol) error

func (*RaiserDoRaiseResult) ReadField2

func (p *RaiserDoRaiseResult) ReadField2(iprot thrift.Protocol) error

func (*RaiserDoRaiseResult) ReadField3

func (p *RaiserDoRaiseResult) ReadField3(iprot thrift.Protocol) error

func (*RaiserDoRaiseResult) SetB

func (*RaiserDoRaiseResult) SetF

func (*RaiserDoRaiseResult) SetS

func (*RaiserDoRaiseResult) String

func (p *RaiserDoRaiseResult) String() string

func (*RaiserDoRaiseResult) Write

func (p *RaiserDoRaiseResult) Write(oprot thrift.Protocol) error

type RaiserDoRaiseResultBuilder

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

func NewRaiserDoRaiseResultBuilder

func NewRaiserDoRaiseResultBuilder() *RaiserDoRaiseResultBuilder

func (*RaiserDoRaiseResultBuilder) B

func (RaiserDoRaiseResultBuilder) Emit

func (*RaiserDoRaiseResultBuilder) F

func (*RaiserDoRaiseResultBuilder) S

type RaiserGet200Args

type RaiserGet200Args struct {
	thrift.IRequest
}

func NewRaiserGet200Args

func NewRaiserGet200Args() *RaiserGet200Args

func (*RaiserGet200Args) Read

func (p *RaiserGet200Args) Read(iprot thrift.Protocol) error

func (*RaiserGet200Args) String

func (p *RaiserGet200Args) String() string

func (*RaiserGet200Args) Write

func (p *RaiserGet200Args) Write(oprot thrift.Protocol) error

type RaiserGet200ArgsBuilder

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

func NewRaiserGet200ArgsBuilder

func NewRaiserGet200ArgsBuilder() *RaiserGet200ArgsBuilder

func (RaiserGet200ArgsBuilder) Emit

type RaiserGet200Result

type RaiserGet200Result struct {
	thrift.IResponse
	Success *string `thrift:"success,0,optional" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRaiserGet200Result

func NewRaiserGet200Result() *RaiserGet200Result

func (*RaiserGet200Result) Exception

func (*RaiserGet200Result) GetSuccess

func (p *RaiserGet200Result) GetSuccess() string

func (*RaiserGet200Result) IsSetSuccess

func (p *RaiserGet200Result) IsSetSuccess() bool

func (*RaiserGet200Result) Read

func (p *RaiserGet200Result) Read(iprot thrift.Protocol) error

func (*RaiserGet200Result) ReadField0

func (p *RaiserGet200Result) ReadField0(iprot thrift.Protocol) error

func (*RaiserGet200Result) SetSuccess

func (r *RaiserGet200Result) SetSuccess(success *string) *RaiserGet200Result

func (*RaiserGet200Result) String

func (p *RaiserGet200Result) String() string

func (*RaiserGet200Result) Write

func (p *RaiserGet200Result) Write(oprot thrift.Protocol) error

type RaiserGet200ResultBuilder

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

func NewRaiserGet200ResultBuilder

func NewRaiserGet200ResultBuilder() *RaiserGet200ResultBuilder

func (RaiserGet200ResultBuilder) Emit

func (*RaiserGet200ResultBuilder) Success

type RaiserGet500Args

type RaiserGet500Args struct {
	thrift.IRequest
}

func NewRaiserGet500Args

func NewRaiserGet500Args() *RaiserGet500Args

func (*RaiserGet500Args) Read

func (p *RaiserGet500Args) Read(iprot thrift.Protocol) error

func (*RaiserGet500Args) String

func (p *RaiserGet500Args) String() string

func (*RaiserGet500Args) Write

func (p *RaiserGet500Args) Write(oprot thrift.Protocol) error

type RaiserGet500ArgsBuilder

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

func NewRaiserGet500ArgsBuilder

func NewRaiserGet500ArgsBuilder() *RaiserGet500ArgsBuilder

func (RaiserGet500ArgsBuilder) Emit

type RaiserGet500Result

type RaiserGet500Result struct {
	thrift.IResponse
	Success *string  `thrift:"success,0,optional" db:"success" json:"success,omitempty"`
	F       *Fiery   `thrift:"f,1,optional" db:"f" json:"f,omitempty"`
	B       *Banal   `thrift:"b,2,optional" db:"b" json:"b,omitempty"`
	S       *Serious `thrift:"s,3,optional" db:"s" json:"s,omitempty"`
}

Attributes:

  • Success
  • F
  • B
  • S

func NewRaiserGet500Result

func NewRaiserGet500Result() *RaiserGet500Result

func (*RaiserGet500Result) Exception

func (*RaiserGet500Result) GetB

func (p *RaiserGet500Result) GetB() *Banal

func (*RaiserGet500Result) GetF

func (p *RaiserGet500Result) GetF() *Fiery

func (*RaiserGet500Result) GetS

func (p *RaiserGet500Result) GetS() *Serious

func (*RaiserGet500Result) GetSuccess

func (p *RaiserGet500Result) GetSuccess() string

func (*RaiserGet500Result) IsSetB

func (p *RaiserGet500Result) IsSetB() bool

func (*RaiserGet500Result) IsSetF

func (p *RaiserGet500Result) IsSetF() bool

func (*RaiserGet500Result) IsSetS

func (p *RaiserGet500Result) IsSetS() bool

func (*RaiserGet500Result) IsSetSuccess

func (p *RaiserGet500Result) IsSetSuccess() bool

func (*RaiserGet500Result) Read

func (p *RaiserGet500Result) Read(iprot thrift.Protocol) error

func (*RaiserGet500Result) ReadField0

func (p *RaiserGet500Result) ReadField0(iprot thrift.Protocol) error

func (*RaiserGet500Result) ReadField1

func (p *RaiserGet500Result) ReadField1(iprot thrift.Protocol) error

func (*RaiserGet500Result) ReadField2

func (p *RaiserGet500Result) ReadField2(iprot thrift.Protocol) error

func (*RaiserGet500Result) ReadField3

func (p *RaiserGet500Result) ReadField3(iprot thrift.Protocol) error

func (*RaiserGet500Result) SetB

func (*RaiserGet500Result) SetF

func (*RaiserGet500Result) SetS

func (*RaiserGet500Result) SetSuccess

func (r *RaiserGet500Result) SetSuccess(success *string) *RaiserGet500Result

func (*RaiserGet500Result) String

func (p *RaiserGet500Result) String() string

func (*RaiserGet500Result) Write

func (p *RaiserGet500Result) Write(oprot thrift.Protocol) error

type RaiserGet500ResultBuilder

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

func NewRaiserGet500ResultBuilder

func NewRaiserGet500ResultBuilder() *RaiserGet500ResultBuilder

func (*RaiserGet500ResultBuilder) B

func (RaiserGet500ResultBuilder) Emit

func (*RaiserGet500ResultBuilder) F

func (*RaiserGet500ResultBuilder) S

func (*RaiserGet500ResultBuilder) Success

type RaiserProcessor

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

func NewRaiserProcessor

func NewRaiserProcessor(handler Raiser) *RaiserProcessor

func (*RaiserProcessor) AddToFunctionServiceMap

func (p *RaiserProcessor) AddToFunctionServiceMap(key, service string)

func (*RaiserProcessor) AddToProcessorMap

func (p *RaiserProcessor) AddToProcessorMap(key string, processor thrift.ProcessorFunction)

func (*RaiserProcessor) FunctionServiceMap

func (p *RaiserProcessor) FunctionServiceMap() map[string]string

func (*RaiserProcessor) GetProcessorFunction

func (p *RaiserProcessor) GetProcessorFunction(key string) (processor thrift.ProcessorFunction, err error)

func (*RaiserProcessor) ProcessorMap

func (p *RaiserProcessor) ProcessorMap() map[string]thrift.ProcessorFunction

type RaiserThreadsafeClient

type RaiserThreadsafeClient struct {
	RaiserClientInterface
	CC thrift.ClientConn
	Mu sync.Mutex
}

func NewRaiserThreadsafeClient

func NewRaiserThreadsafeClient(t thrift.Transport, iprot thrift.Protocol, oprot thrift.Protocol) *RaiserThreadsafeClient

func NewRaiserThreadsafeClientProtocol

func NewRaiserThreadsafeClientProtocol(prot thrift.Protocol) *RaiserThreadsafeClient

func (*RaiserThreadsafeClient) Close

func (client *RaiserThreadsafeClient) Close() error

func (*RaiserThreadsafeClient) DoBland

func (p *RaiserThreadsafeClient) DoBland() (err error)

func (*RaiserThreadsafeClient) DoRaise

func (p *RaiserThreadsafeClient) DoRaise() (err error)

func (*RaiserThreadsafeClient) Get200

func (p *RaiserThreadsafeClient) Get200() (_r string, err error)

func (*RaiserThreadsafeClient) Get500

func (p *RaiserThreadsafeClient) Get500() (_r string, err error)

func (*RaiserThreadsafeClient) IsOpen

func (client *RaiserThreadsafeClient) IsOpen() bool

func (*RaiserThreadsafeClient) Open

func (client *RaiserThreadsafeClient) Open() error

type Serious

type Serious struct {
	Sonnet *string `thrift:"sonnet,1,optional" db:"sonnet" json:"sonnet,omitempty"`
}

Attributes:

  • Sonnet
var RaiserDoRaiseResult_S_DEFAULT *Serious
var RaiserGet500Result_S_DEFAULT *Serious

func NewSerious

func NewSerious() *Serious

func (*Serious) Error

func (p *Serious) Error() string

func (*Serious) GetSonnet

func (p *Serious) GetSonnet() string

func (*Serious) IsSetSonnet

func (p *Serious) IsSetSonnet() bool

func (*Serious) Read

func (p *Serious) Read(iprot thrift.Protocol) error

func (*Serious) ReadField1

func (p *Serious) ReadField1(iprot thrift.Protocol) error

func (*Serious) SetSonnet

func (s *Serious) SetSonnet(sonnet *string) *Serious

func (*Serious) String

func (p *Serious) String() string

func (*Serious) Write

func (p *Serious) Write(oprot thrift.Protocol) error

type SeriousBuilder

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

func NewSeriousBuilder

func NewSeriousBuilder() *SeriousBuilder

func (SeriousBuilder) Emit

func (p SeriousBuilder) Emit() *Serious

func (*SeriousBuilder) Sonnet

func (s *SeriousBuilder) Sonnet(sonnet *string) *SeriousBuilder

Jump to

Keyboard shortcuts

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