Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnServer ¶
func NewConnServer ¶
func NewConnServer(server *http.Server) (res *ConnServer)
func (*ConnServer) ServeConnAndShutdown ¶
func (*ConnServer) ServeStdioConnAndShutdown ¶
func (s *ConnServer) ServeStdioConnAndShutdown(ctx context.Context) error
type PipeListener ¶
type PipeListener struct {
// contains filtered or unexported fields
}
PipeListener is a hack to workaround the lack of http.Server.ServeConn. See: https://github.com/golang/go/issues/36673
func NewPipeListener ¶
func NewPipeListener() *PipeListener
func NewPipeListenerContext ¶
func NewPipeListenerContext(ctx0 context.Context) *PipeListener
func (*PipeListener) Addr ¶
func (ln *PipeListener) Addr() net.Addr
func (*PipeListener) Close ¶
func (ln *PipeListener) Close() error
Click to show internal directories.
Click to hide internal directories.