mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-16 22:00:47 +08:00
16 lines
197 B
Go
16 lines
197 B
Go
package rpc
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
rpcproto "github.com/stv0g/cunicu/pkg/proto/rpc"
|
|
)
|
|
|
|
type Event struct {
|
|
rpcproto.Event
|
|
}
|
|
|
|
func (e *Event) String() string {
|
|
return fmt.Sprintf("type=%s", e.Type)
|
|
}
|