package userCloud import ( "GoClouds/cloud" hbtp "github.com/mgr9525/HyperByte-Transfer-Protocol" ) const ( RPCHostCode = 2 ) func NewReq(method string, ipr ...string) (*hbtp.Request, error) { return cloud.NewReq(RPCHostCode, method, ipr...) } func DoJson(method string, in, out interface{}, hd ...map[string]interface{}) error { return cloud.DoJson(RPCHostCode, method, in, out, hd...) } func DoString(method string, in interface{}, hd ...hbtp.Mp) (int, []byte, error) { return cloud.DoString(RPCHostCode, method, in, hd...) }