[fidl] Read and write correct flag bits in txn headers

Use the header to obtain the unmarshaling context for reading requests
and use the marshaler context to update the header for writing responses
in the Go bindings. Previously this was done on the client side but
not on the server side.

Test: fx run-test go_fidl_tests
Change-Id: Iad057d22fd9d7f6b2ac9c7aa6a5a8f52e73d2386
9 files changed
tree: 8824990243e4bb2c0b1df4653b40446952e7abaf
  1. .gitattributes
  2. .github/
  3. .gitignore
  5. BUILD.gn
  10. README.md
  12. api/
  13. doc/
  14. favicon.ico
  15. lib/
  16. makefuchsia/
  17. makeroot/
  18. meta/
  19. misc/
  20. regen-fidl
  21. robots.txt
  22. src/
  23. test/

The Go Programming Language

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Gopher image Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.

Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Download and Install

Binary Distributions

Official binary distributions are available at https://golang.org/dl/.

After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.

Install From Source

If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.


Go is the work of thousands of contributors. We appreciate your help!

To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html

Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.