Documentation ¶
Index ¶
Constants ¶
View Source
const ( START_STREAM_ID_OF_CLIENT = 1 START_STREAM_ID_OF_SERVER = 2 MAX_STREAM_ID = 1 << 31 // 2,147,483,648 NUM_BYTES_HEADER = 8 NUM_BYTES_MAX_PAYLOAD = 1 << 14 // 16,384 bytes = 16kb TYPE_DATA = 0 FLAG_DATA_NONE = 0 FLAG_DATA_END_STREAM = 1 )
Variables ¶
View Source
var ExceedError = errors.New("Exceeded max stream id")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Counter ¶
func NewCounter ¶
type HandlerFunc ¶
type Server ¶
func (Server) ListenAndServe ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.