github.com/instana/go-sensor@v1.62.2-0.20240520081010-4919868049e1/acceptor/plugins.go (about)

     1  // (c) Copyright IBM Corp. 2021
     2  // (c) Copyright Instana Inc. 2020
     3  
     4  // Package acceptor provides marshaling structs for Instana serverless acceptor API
     5  package acceptor
     6  
     7  // PluginPayload represents the Instana acceptor message envelope containing plugin
     8  // name and entity ID
     9  type PluginPayload struct {
    10  	Name     string      `json:"name"`
    11  	EntityID string      `json:"entityId"`
    12  	Data     interface{} `json:"data"`
    13  }