config.go 200 B

12345678910111213141516
  1. package transport
  2. type StreamType int
  3. const (
  4. StreamTypeTCP = StreamType(0)
  5. )
  6. type TCPConfig struct {
  7. ConnectionReuse bool
  8. }
  9. type Config struct {
  10. StreamType StreamType
  11. TCPConfig *TCPConfig
  12. }