Commit 1bc19799 authored by Steven Allen's avatar Steven Allen

type assert transport

parent e436090d
...@@ -20,6 +20,8 @@ type SSMuxer struct { ...@@ -20,6 +20,8 @@ type SSMuxer struct {
OrderPreference []string OrderPreference []string
} }
var _ ss.Transport = (*SSMuxer)(nil)
// AddTransport adds a stream security transport to this multistream muxer. // AddTransport adds a stream security transport to this multistream muxer.
// //
// This method is *not* thread-safe. It should be called only when initializing // This method is *not* thread-safe. It should be called only when initializing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment