blob: 0fc7ebc82964aee06b0b94f0da3c96ed3b0b0a23 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package channel
type Request struct {
Type string
Seq uint32
Body any
}
type Response struct {
ReqSeq uint32
Err string // TODO(bprosnitz) change this back to error when it is possible to do so. (issue 368)
Body any
}
type Message union {
Request Request
Response Response
}