// Package network define struct of network operation package network type ResponseHeader struct { Status int `json:"status"` ErrMsg string `json:"err_msg"` } type BasicResponse struct { ResponseHeader PayLoad map[string]interface{} `json:"payload"` } type DiagramLoadResponse struct { ResponseHeader PayLoad map[string]interface{} `json:"payload"` }