Documentation ¶
Index ¶
- type Dialer
- type Listener
- type OptionSupportsStreamingResponse
- type OptionSupportsStreamingResponseExtensionFlusher
- type Request
- type Response
- type RoundTripperClient
- type RoundTripperOption
- type RoundTripperServer
- type Session
- type SessionAssemblerClient
- type SessionAssemblerServer
- type SessionCreator
- type SessionOption
- type SessionReceiver
- type TransportClientAssembly
- type TransportClientAssemblyReceiver
- type TransportServerAssembly
- type TransportServerAssemblyReceiver
- type Tripper
- type TripperReceiver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionSupportsStreamingResponse ¶ added in v5.17.0
type OptionSupportsStreamingResponse interface { RoundTripperOption GetResponseWriter() io.Writer }
type OptionSupportsStreamingResponseExtensionFlusher ¶ added in v5.17.0
type OptionSupportsStreamingResponseExtensionFlusher interface {
Flush()
}
type RoundTripperClient ¶
type RoundTripperClient interface { Tripper TransportClientAssemblyReceiver }
type RoundTripperOption ¶
type RoundTripperOption interface {
RoundTripperOption()
}
type RoundTripperServer ¶
type RoundTripperServer interface { common.Runnable TransportServerAssemblyReceiver }
type Session ¶
type Session interface { io.ReadWriteCloser }
type SessionAssemblerClient ¶
type SessionAssemblerClient interface { SessionCreator TransportClientAssemblyReceiver }
type SessionAssemblerServer ¶
type SessionAssemblerServer interface { TripperReceiver TransportServerAssemblyReceiver }
type SessionCreator ¶
type SessionCreator interface {
NewSession(ctx context.Context, opts ...SessionOption) (Session, error)
}
type SessionOption ¶
type SessionOption interface {
RoundTripperOption()
}
type SessionReceiver ¶
type SessionReceiver interface {
OnNewSession(ctx context.Context, sess Session, opts ...SessionOption) error
}
type TransportClientAssembly ¶
type TransportClientAssemblyReceiver ¶
type TransportClientAssemblyReceiver interface {
OnTransportClientAssemblyReady(TransportClientAssembly)
}
type TransportServerAssembly ¶
type TransportServerAssembly interface { TripperReceiver() TripperReceiver SessionReceiver() SessionReceiver AutoImplListener() Listener }
type TransportServerAssemblyReceiver ¶
type TransportServerAssemblyReceiver interface {
OnTransportServerAssemblyReady(TransportServerAssembly)
}
type TripperReceiver ¶
Click to show internal directories.
Click to hide internal directories.