Imports github.com/golang/protobuf/proto github.com/pkg/errors Standard library imports bytes encoding/hex encoding/json fmt crypto/hmac crypto/sha256 io/ioutil log math net/http strconv strings time