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
+7 -7
View File
@@ -1,23 +1,23 @@
package framer
type RawFramer struct{}
type rawFramer struct{}
func NewRawFramer() *RawFramer {
return &RawFramer{}
func newRawFramer() *rawFramer {
return &rawFramer{}
}
func (rf *RawFramer) Decode(data []byte) [][]byte {
func (rf *rawFramer) Decode(data []byte) [][]byte {
return [][]byte{data}
}
func (rf *RawFramer) Encode(data []byte) []byte {
func (rf *rawFramer) Encode(data []byte) []byte {
return data
}
func (rf *RawFramer) Clear() {
func (rf *rawFramer) Clear() {
// NOTE(jwetzell): no internal state to clear
}
func (rf *RawFramer) Buffer() []byte {
func (rf *rawFramer) Buffer() []byte {
return []byte{}
}