stream-server/srt/protocol.go

21 lines
239 B
Go
Raw Normal View History

package srt
import (
"fmt"
)
const (
INDUCTION uint8 = iota
CONCLUSION
DATA_LOOP
)
type SRTManager struct {
state uint8
}
func (proto *SRTManager) Decide(packet *Packet) (*Packet, error) {
fmt.Println(*packet)
return nil, nil
}