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 }