sw_dummy_event_service.go 434 B

12345678910111213141516
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. package skywalkingreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/skywalkingreceiver"
  4. import (
  5. event "skywalking.apache.org/repo/goapi/collect/event/v3"
  6. )
  7. type eventService struct {
  8. event.UnimplementedEventServiceServer
  9. }
  10. func (e *eventService) Collect(_ event.EventService_CollectServer) error {
  11. return nil
  12. }