func NewServerHandlerTransport(w http.ResponseWriter, r *http.Request, stats []stats.Handler) (ServerTransport, error) { … }
type serverHandlerTransport …
func (ht *serverHandlerTransport) Close(err error) { … }
func (ht *serverHandlerTransport) Peer() *peer.Peer { … }
type strAddr …
func (a strAddr) Network() string { … }
func (a strAddr) String() string { … }
func (ht *serverHandlerTransport) do(fn func()) error { … }
func (ht *serverHandlerTransport) WriteStatus(s *Stream, st *status.Status) error { … }
func (ht *serverHandlerTransport) writePendingHeaders(s *Stream) { … }
func (ht *serverHandlerTransport) writeCommonHeaders(s *Stream) { … }
func (ht *serverHandlerTransport) writeCustomHeaders(s *Stream) { … }
func (ht *serverHandlerTransport) Write(s *Stream, hdr []byte, data []byte, opts *Options) error { … }
func (ht *serverHandlerTransport) WriteHeader(s *Stream, md metadata.MD) error { … }
func (ht *serverHandlerTransport) HandleStreams(ctx context.Context, startStream func(*Stream)) { … }
func (ht *serverHandlerTransport) runStream() { … }
func (ht *serverHandlerTransport) IncrMsgSent() { … }
func (ht *serverHandlerTransport) IncrMsgRecv() { … }
func (ht *serverHandlerTransport) Drain(debugData string) { … }
func mapRecvMsgError(err error) error { … }