Skip to content

json.EncodeClientRequest for a method that has no arguments #54

Open
@JGailor

Description

@JGailor

I've fiddled around with this a bit, but haven't been able to get to a working solution. If I have a server method that takes no parameters, how do I call func EncodeClientRequest(method string, args interface{})?

After thinking this through, should EncodeClientRequest take variadic args?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions