File: doc.go

package info (click to toggle)
golang-github-apparentlymart-go-openvpn-mgmt 0.0~git20161009.9a305ae-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 104 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
// Package demux implements low-level demultiplexing of the stream of
// messages sent from OpenVPN on the management channel.
//
// OpenVPN's protocol includes two different kinds of message from the OpenVPN
// process: replies to commands sent by the management client, and asynchronous
// event notifications.
//
// This package's purpose is to split these messages into two separate streams,
// so that functions executing command/response sequences can just block
// on the reply channel while an event loop elsewhere deals with any async
// events that might show up.
package demux