mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-19 23:24:46 +08:00
16 lines
168 B
Go
16 lines
168 B
Go
package socket
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"riasc.eu/wice/pkg/pb"
|
|
)
|
|
|
|
type Event struct {
|
|
pb.Event
|
|
}
|
|
|
|
func (e *Event) String() string {
|
|
return fmt.Sprintf("type=%s", e.Type)
|
|
}
|