Bluemage/go/server/log_handlers.go

22 lines
671 B
Go
Raw Normal View History

2024-08-27 09:10:58 +07:00
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
}