code: func NewDefaultChannelProtocols(channels []ChannelType) map[string]ChannelProtocolConfig {
  	return map[string]ChannelProtocolConfig{
  		"":                             {Binary: true, Channels: channels},
  		ChannelWebSocketProtocol:       {Binary: true, Channels: channels},
  		Base64ChannelWebSocketProtocol: {Binary: false, Channels: channels},
  	}
  }
docs: // NewDefaultChannelProtocols returns a channel protocol map with the
  // subprotocols "", "channel.k8s.io", "base64.channel.k8s.io" and the given
  // channels.