mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-09-27 05:06:02 +08:00
19 lines
304 B
Go
19 lines
304 B
Go
// SPDX-FileCopyrightText: 2023-2025 Steffen Vogel <post@steffenvogel.de>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package rpc
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
rpcproto "cunicu.li/cunicu/pkg/proto/rpc"
|
|
)
|
|
|
|
type Event struct {
|
|
rpcproto.Event
|
|
}
|
|
|
|
func (e *Event) String() string {
|
|
return fmt.Sprintf("type=%s", e.Type)
|
|
}
|