don't export module/processor/framer registrations

This commit is contained in:
Joel Wetzell
2026-05-26 17:27:35 -05:00
parent 0ff212742a
commit 80f8152dfb
77 changed files with 299 additions and 258 deletions
+5 -5
View File
@@ -10,15 +10,15 @@ type Framer interface {
func GetFramer(framingType string) Framer {
switch framingType {
case "CR":
return NewByteSeparatorFramer([]byte{'\r'})
return newByteSeparatorFramer([]byte{'\r'})
case "LF":
return NewByteSeparatorFramer([]byte{'\n'})
return newByteSeparatorFramer([]byte{'\n'})
case "CRLF":
return NewByteSeparatorFramer([]byte{'\r', '\n'})
return newByteSeparatorFramer([]byte{'\r', '\n'})
case "SLIP":
return NewSlipFramer()
return newSlipFramer()
case "RAW":
return NewRawFramer()
return newRawFramer()
default:
return nil
}