/go-peekerconn

Give any net.Conn the ability to be peeked inside of

Primary LanguageGo

go-peekerconn

Usecases

Pinecone I2P

Why?

Sometimes you find yourself in the situation where you want to see the data inside a connection and take action based on it. In my concrete example it is ether a HTTP request or a Pinecone Handshake. Depending on the type i pass it other over to a HTTP Server or down the Pinecone router to establish a connection.