Custom types for btcd websocket extension commands written in Golang