github.com/enbility/spine-go@v0.7.0/api/message.go (about)

     1  package api
     2  
     3  import "github.com/enbility/spine-go/model"
     4  
     5  type Message struct {
     6  	RequestHeader *model.HeaderType
     7  	CmdClassifier model.CmdClassifierType
     8  	Cmd           model.CmdType
     9  	FilterPartial *model.FilterType
    10  	FilterDelete  *model.FilterType
    11  	FeatureRemote FeatureRemoteInterface
    12  	EntityRemote  EntityRemoteInterface
    13  	DeviceRemote  DeviceRemoteInterface
    14  }
    15  
    16  type ResponseMessage struct {
    17  	MsgCounterReference model.MsgCounterType   // required
    18  	Data                any                    // required
    19  	FeatureLocal        FeatureLocalInterface  // required
    20  	FeatureRemote       FeatureRemoteInterface // required
    21  	EntityRemote        EntityRemoteInterface  // required
    22  	DeviceRemote        DeviceRemoteInterface  // required
    23  }