Created
October 15, 2016 02:42
-
-
Save yssharma/cf0291c89189473011c94f6005270681 to your computer and use it in GitHub Desktop.
Messages is a typical module with all reusable struts. This shows the structs we would be using for exchanging the json messages.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type JsonRequest struct { | |
JsonRequestString string `json:"jsonRequestString"` | |
} | |
type JsonResponse struct { | |
JsonResponseString string `json:"jsonResponseString"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment