github.com/kelleygo/clashcore@v1.0.2/common/net/io.go (about) 1 package net 2 3 import "io" 4 5 type ReadOnlyReader struct { 6 io.Reader 7 } 8 9 type WriteOnlyWriter struct { 10 io.Writer 11 }