Documentation ¶
Overview ¶
Copyright 2020 The Magma Authors.
This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // event type // Required: true // Min Length: 1 EventType string `json:"event_type"` // hardware id // Required: true // Min Length: 1 HardwareID string `json:"hardware_id"` // stream name // Required: true // Min Length: 1 StreamName string `json:"stream_name"` // tag // Required: true // Min Length: 1 Tag string `json:"tag"` // The timestamp in ISO 8601 format // Required: true // Min Length: 1 Timestamp string `json:"timestamp"` // value // Required: true Value interface{} `json:"value"` }
Event event swagger:model event
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.