Documentation ¶
Index ¶
- func NewReponse() *generated.Response
- func NewRequest(id uuid.UUID) *generated.Request
- type Exchange
- func (e *Exchange) Request() *generated.Request
- func (e *Exchange) RequestFromHTTP(r *http.Request)
- func (e *Exchange) RequestFromTCP(b []byte)
- func (e *Exchange) Response(res ...*generated.Response) *generated.Response
- func (e *Exchange) ResponseFromHTTP(w http.ResponseWriter)
- func (e *Exchange) ResponseFromTCP() []byte
- func (e *Exchange) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReponse ¶ added in v0.23.24
Types ¶
type Exchange ¶ added in v0.23.24
type Exchange struct {
// contains filtered or unexported fields
}
func (*Exchange) RequestFromHTTP ¶ added in v0.23.24
func (*Exchange) RequestFromTCP ¶ added in v0.23.24
func (*Exchange) ResponseFromHTTP ¶ added in v0.23.24
func (e *Exchange) ResponseFromHTTP(w http.ResponseWriter)
func (*Exchange) ResponseFromTCP ¶ added in v0.23.24
Click to show internal directories.
Click to hide internal directories.