buildr/internal/rpc/v1/api.go
Peter 34c431790e
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
refactor: use connect-go instead of regular Google gRPC
- support binary name for plugins
- register plugins for container jobs
2023-09-12 18:43:34 +02:00

14 lines
210 B
Go

package v1
import (
"google.golang.org/protobuf/proto"
)
type StreamSender[T proto.Message] interface {
Send(msg T) error
}
type StreamReceiver[T proto.Message] interface {
Receive() (msg T, err error)
}