daemon

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package daemon implements the h2c process, i.e, the process started with 'h2c start'.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpIncoming added in v0.0.9

func DumpIncoming(frame frames.Frame)

func DumpOutgoing added in v0.0.9

func DumpOutgoing(frame frames.Frame)

func Run added in v0.0.2

func Run(sock net.Listener, frameTypesToBeDumped []frames.Type) error

Run the h2c process, i.e, the process started with 'h2c start'.

The h2c process keeps an Http2Client instance, reads Commands from the socket file, and uses the Http2Client to execute these commands.

The socket will be closed when the h2c process is terminated.

frameTypesToBeDumped is a list of frame types that will be dumped to the console. If it is nil, no frame will be dumped. If it is frame.AllFrameTypes(), all frames will be dumped.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL