Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadBuf ¶
type ReadBuf struct {
// contains filtered or unexported fields
}
ReadBuf is a structure that holds the bytes to read into as well as the number of bytes that was read. The slice is typically pre-allocated to the max packet size and the buffers themselves are polled to avoid memory allocations for every new inbound message.
type ServerOpt ¶
type ServerOpt func(*serverConfig)
ServerOpt option for server
func MetricsFactory ¶
MetricsFactory ServerOpt | Optional
func Processor ¶
func Processor(exec thrift.TProcessor, concurrent int) ServerOpt
Processor ServerOpt | Required
func ProtocolFactory ¶
func ProtocolFactory(in, out thrift.TProtocolFactory) ServerOpt
ProtocolFactory ServerOpt | Optional
Click to show internal directories.
Click to hide internal directories.