22 lines
671 B
Go
22 lines
671 B
Go
|
package server
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"connectrpc.com/connect"
|
||
|
logsv1 "github.com/tigorlazuardi/bluemage/go/gen/proto/logs/v1"
|
||
|
"github.com/tigorlazuardi/bluemage/go/gen/proto/logs/v1/logsv1connect"
|
||
|
)
|
||
|
|
||
|
type LogHandlers struct {
|
||
|
logsv1connect.UnimplementedLogServiceHandler
|
||
|
}
|
||
|
|
||
|
func (lo *LogHandlers) Log(ctx context.Context, request *connect.Request[logsv1.LogRequest]) (*connect.Response[logsv1.LogResponse], error) {
|
||
|
panic("not implemented") // TODO: Implement
|
||
|
}
|
||
|
|
||
|
func (lo *LogHandlers) Tail(ctx context.Context, request *connect.Request[logsv1.TailRequest], response *connect.ServerStream[logsv1.TailResponse]) error {
|
||
|
panic("not implemented") // TODO: Implement
|
||
|
}
|