From 5cc36f5a3d1129fddcb3e52caa32be8e79e1ca07 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Tue, 29 Dec 2020 20:56:57 +0000 Subject: [PATCH] add a twitter service --- go.mod | 1 - go.sum | 17 +- twitter/.gitignore | 2 + twitter/Dockerfile | 3 + twitter/Makefile | 22 + twitter/README.md | 30 + twitter/api/api.go | 38 + twitter/generate.go | 2 + twitter/go.mod | 20 + twitter/go.sum | 728 ++++++++++ twitter/handler/handler.go | 59 + twitter/main.go | 44 + twitter/micro.mu | 1 + twitter/proto/twitter.pb.go | 2235 +++++++++++++++++++++++++++++ twitter/proto/twitter.pb.micro.go | 93 ++ twitter/proto/twitter.proto | 247 ++++ 16 files changed, 3540 insertions(+), 2 deletions(-) create mode 100644 twitter/.gitignore create mode 100644 twitter/Dockerfile create mode 100644 twitter/Makefile create mode 100644 twitter/README.md create mode 100644 twitter/api/api.go create mode 100644 twitter/generate.go create mode 100644 twitter/go.mod create mode 100644 twitter/go.sum create mode 100644 twitter/handler/handler.go create mode 100644 twitter/main.go create mode 100644 twitter/micro.mu create mode 100644 twitter/proto/twitter.pb.go create mode 100644 twitter/proto/twitter.pb.micro.go create mode 100644 twitter/proto/twitter.proto diff --git a/go.mod b/go.mod index fa4b5de..a284044 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,6 @@ go 1.14 require ( github.com/SlyMarbo/rss v1.0.1 - github.com/go-sql-driver/mysql v1.5.0 // indirect github.com/golang/protobuf v1.4.3 github.com/google/uuid v1.1.2 github.com/gosimple/slug v1.9.0 diff --git a/go.sum b/go.sum index 7fdb3b9..4d36c5d 100644 --- a/go.sum +++ b/go.sum @@ -68,6 +68,7 @@ github.com/bitly/go-simplejson v0.5.0 h1:6IH+V8/tVMab511d5bn4M7EwGXZf9Hj6i2xSwkN github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= github.com/caddyserver/certmagic v0.10.6/go.mod h1:Y8jcUBctgk/IhpAzlHKfimZNyXCkfGgRTC0orl8gROQ= @@ -104,6 +105,7 @@ github.com/evanphx/json-patch/v5 v5.0.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2Vvl github.com/exoscale/egoscale v0.18.1/go.mod h1:Z7OOdzzTOz1Q1PjQXumlz9Wn/CddH0zSYdCF3rnBKXE= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/getkin/kin-openapi v0.26.0/go.mod h1:WGRs2ZMM1Q8LR1QBEwUxC6RJEfaBcD0s+pcEVXFuAjw= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= @@ -117,15 +119,16 @@ github.com/go-ini/ini v1.44.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3I github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.3/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= +github.com/gofrs/uuid v3.2.0+incompatible h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/goji/httpauth v0.0.0-20160601135302-2da839ab0f4d/go.mod h1:nnjvkQ9ptGaCkuDUx6wNykzzlUixGxvkme+H/lnzb+A= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -161,6 +164,7 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-github/v30 v30.1.0 h1:VLDx+UolQICEOKu2m4uAoMti1SxuEBAl7RSEG16L+Oo= github.com/google/go-github/v30 v30.1.0/go.mod h1:n8jBpHl45a/rlBUtRJMOG4GhNADUQFEufcolZ95JfU8= @@ -232,9 +236,11 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxv github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/labbsr0x/bindman-dns-webhook v1.0.2/go.mod h1:p6b+VCXIR8NYKpDr8/dg1HKfQoRHCdcsROXKvmoehKA= github.com/labbsr0x/goh v1.0.1/go.mod h1:8K2UhVoaWXcCU7Lxoa2omWnC8gyW8px7/lmO61c027w= @@ -266,9 +272,11 @@ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223 h1:F9x/1yl3T2AeKLr2AMdilSD8+f9bvMnNN8VS5iDtovc= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/namedotcom/go v0.0.0-20180403034216-08470befbe04/go.mod h1:5sN+Lt1CaY4wsPvgQH/jsuJi4XO2ssZbdsIizr4CVC8= github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32/go.mod h1:9wM+0iRr9ahx58uYLpLIr5fm8diHn0JbqRycJi6w0Ms= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nrdcg/auroradns v1.0.0/go.mod h1:6JPXKzIRzZzMqtTDgueIhTi6rFf1QvYE/HzqidhOhjw= github.com/nrdcg/dnspod-go v0.4.0/go.mod h1:vZSoFSFeQVm2gWLMkyX61LZ8HI3BaqtHZWgPTGKr6KQ= @@ -279,9 +287,11 @@ github.com/olekukonko/tablewriter v0.0.3/go.mod h1:YZeBtGzYYEsCHp2LST/u/0NDwGkRo github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.0 h1:Iw5WCbBcaAAd0fpRb1c9r5YCylv4XDoCSigm1zLevwU= github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= github.com/onsi/gomega v1.4.2/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.1 h1:K0jcRCwNQM3vFGh1ppMtDh/+7ApJrjldlX8fA0jDTLQ= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= github.com/oracle/oci-go-sdk v7.0.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888= @@ -473,6 +483,7 @@ golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208 h1:qwRHBd0NqMbJxfbotnDhm2ByMI1Shq4Y6oRJo21SGJA= golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180622082034-63fc586f45fe/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -568,6 +579,7 @@ golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= @@ -592,6 +604,7 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= @@ -640,6 +653,7 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlba gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= @@ -660,6 +674,7 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ= diff --git a/twitter/.gitignore b/twitter/.gitignore new file mode 100644 index 0000000..7c6ce7c --- /dev/null +++ b/twitter/.gitignore @@ -0,0 +1,2 @@ + +twitter diff --git a/twitter/Dockerfile b/twitter/Dockerfile new file mode 100644 index 0000000..b77dc0f --- /dev/null +++ b/twitter/Dockerfile @@ -0,0 +1,3 @@ +FROM alpine +ADD twitter /twitter +ENTRYPOINT [ "/twitter" ] diff --git a/twitter/Makefile b/twitter/Makefile new file mode 100644 index 0000000..c52d028 --- /dev/null +++ b/twitter/Makefile @@ -0,0 +1,22 @@ + +GOPATH:=$(shell go env GOPATH) +.PHONY: init +init: + go get -u github.com/golang/protobuf/proto + go get -u github.com/golang/protobuf/protoc-gen-go + go get github.com/micro/micro/v3/cmd/protoc-gen-micro +.PHONY: proto +proto: + protoc --proto_path=. --micro_out=. --go_out=:. proto/twitter.proto + +.PHONY: build +build: + go build -o twitter *.go + +.PHONY: test +test: + go test -v ./... -cover + +.PHONY: docker +docker: + docker build . -t twitter:latest diff --git a/twitter/README.md b/twitter/README.md new file mode 100644 index 0000000..4aa1b9a --- /dev/null +++ b/twitter/README.md @@ -0,0 +1,30 @@ +# Twitter Service + +This is the Twitter service + +Generated with + +``` +micro new twitter +``` + +## Usage + +Create a new app in the twitter [developer portal](https://developer.twitter.com/en/apps). + +Then set the config for the api token, secret, consumer key and consumer secret + +``` +micro config set twitter.api_token xxxx +micro config set twitter.api_token_secret xxxx +micro config set twitter.consumer_key xxxx +micro config set twitter consumer_secret xxxx +``` + +Now tweet stuff + +``` +micro twitter api tweet --status "Tweeting via a microservice" +``` + + diff --git a/twitter/api/api.go b/twitter/api/api.go new file mode 100644 index 0000000..db5937e --- /dev/null +++ b/twitter/api/api.go @@ -0,0 +1,38 @@ +// Package api is a simple twitter api client +package api + +import ( + "encoding/json" + "net/url" + + "github.com/ChimeraCoder/anaconda" +) + +var ( + Token string + TokenSecret string + ConsumerKey string + ConsumerSecret string + + api *anaconda.TwitterApi +) + +func Init() { + anaconda.SetConsumerKey(ConsumerKey) + anaconda.SetConsumerSecret(ConsumerSecret) + api = anaconda.NewTwitterApi(Token, TokenSecret) +} + +func Tweet(status string, args url.Values, rsp interface{}) error { + tweet, err := api.PostTweet(status, args) + if err != nil { + return err + } + + b, err := json.Marshal(tweet) + if err != nil { + return err + } + + return json.Unmarshal(b, rsp) +} diff --git a/twitter/generate.go b/twitter/generate.go new file mode 100644 index 0000000..96f431a --- /dev/null +++ b/twitter/generate.go @@ -0,0 +1,2 @@ +package main +//go:generate make proto diff --git a/twitter/go.mod b/twitter/go.mod new file mode 100644 index 0000000..8a3f0a5 --- /dev/null +++ b/twitter/go.mod @@ -0,0 +1,20 @@ +module github.com/micro/services/twitter + +go 1.15 + +require ( + github.com/ChimeraCoder/anaconda v2.0.0+incompatible + github.com/ChimeraCoder/tokenbucket v0.0.0-20131201223612-c5a927568de7 // indirect + github.com/azr/backoff v0.0.0-20160115115103-53511d3c7330 // indirect + github.com/dustin/go-jsonpointer v0.0.0-20160814072949-ba0abeacc3dc // indirect + github.com/dustin/gojson v0.0.0-20160307161227-2e71ec9dd5ad // indirect + github.com/garyburd/go-oauth v0.0.0-20180319155456-bca2e7f09a17 // indirect + github.com/golang/protobuf v1.4.3 + github.com/micro/micro v1.18.0 + github.com/micro/micro/v3 v3.0.0 + golang.org/x/net v0.0.0-20200707034311-ab3426394381 +) + +// This can be removed once etcd becomes go gettable, version 3.4 and 3.5 is not, +// see https://github.com/etcd-io/etcd/issues/11154 and https://github.com/etcd-io/etcd/issues/11931. +replace google.golang.org/grpc => google.golang.org/grpc v1.26.0 diff --git a/twitter/go.sum b/twitter/go.sum new file mode 100644 index 0000000..daf8d30 --- /dev/null +++ b/twitter/go.sum @@ -0,0 +1,728 @@ +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +contrib.go.opencensus.io/exporter/ocagent v0.4.12/go.mod h1:450APlNTSR6FrvC3CTRqYosuDstRB9un7SOx2k/9ckA= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/Azure/azure-sdk-for-go v32.4.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-autorest/autorest v0.1.0/go.mod h1:AKyIcETwSUFxIcs/Wnq/C+kwCtlEYGUVd7FPNb2slmg= +github.com/Azure/go-autorest/autorest v0.5.0/go.mod h1:9HLKlQjVBH6U3oDfsXOeVc56THsLPw1L03yban4xThw= +github.com/Azure/go-autorest/autorest/adal v0.1.0/go.mod h1:MeS4XhScH55IST095THyTxElntu7WqB7pNbZo8Q5G3E= +github.com/Azure/go-autorest/autorest/adal v0.2.0/go.mod h1:MeS4XhScH55IST095THyTxElntu7WqB7pNbZo8Q5G3E= +github.com/Azure/go-autorest/autorest/azure/auth v0.1.0/go.mod h1:Gf7/i2FUpyb/sGBLIFxTBzrNzBo7aPXXE3ZVeDRwdpM= +github.com/Azure/go-autorest/autorest/azure/cli v0.1.0/go.mod h1:Dk8CUAt/b/PzkfeRsWzVG9Yj3ps8mS8ECztu43rdU8U= +github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= +github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= +github.com/Azure/go-autorest/autorest/to v0.2.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc= +github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= +github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= +github.com/Azure/go-autorest/tracing v0.1.0/go.mod h1:ROEEAFwXycQw7Sn3DXNtEedEvdeRAgDr0izn4z5Ij88= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/ChimeraCoder/anaconda v1.0.0 h1:B7KZV+CE2iwbC15sh+rh5vaWs4+XJx1XC4iHvHtsZrQ= +github.com/ChimeraCoder/anaconda v2.0.0+incompatible h1:F0eD7CHXieZ+VLboCD5UAqCeAzJZxcr90zSCcuJopJs= +github.com/ChimeraCoder/anaconda v2.0.0+incompatible/go.mod h1:TCt3MijIq3Qqo9SBtuW/rrM4x7rDfWqYWHj8T7hLcLg= +github.com/ChimeraCoder/tokenbucket v0.0.0-20131201223612-c5a927568de7 h1:r+EmXjfPosKO4wfiMLe1XQictsIlhErTufbWUsjOTZs= +github.com/ChimeraCoder/tokenbucket v0.0.0-20131201223612-c5a927568de7/go.mod h1:b2EuEMLSG9q3bZ95ql1+8oVqzzrTNSiOQqSXWFBzxeI= +github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= +github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= +github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg= +github.com/Microsoft/hcsshim v0.8.7-0.20191101173118-65519b62243c/go.mod h1:7xhjOwRV2+0HXGmM0jxaEu+ZiXJFoVZOTfL/dmqbrD8= +github.com/OpenDNS/vegadns2client v0.0.0-20180418235048-a3fa4a771d87/go.mod h1:iGLljf5n9GjT6kc0HBvyI1nOKnGQbNB66VzSNbK5iks= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/akamai/AkamaiOPEN-edgegrid-golang v0.9.0/go.mod h1:zpDJeKyp9ScW4NNrbdr+Eyxvry3ilGPewKoXw3XGN1k= +github.com/alangpierce/go-forceexport v0.0.0-20160317203124-8f1d6941cd75/go.mod h1:uAXEEpARkRhCZfEvy/y0Jcc888f9tHCc1W7/UeEtreE= +github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190808125512-07798873deee/go.mod h1:myCDvQSzCW+wB1WAlocEru4wMGJxy+vlxHdhegi1CDQ= +github.com/aliyun/aliyun-oss-go-sdk v0.0.0-20190307165228-86c17b95fcd5/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= +github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/aws/aws-sdk-go v1.23.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/azr/backoff v0.0.0-20160115115103-53511d3c7330 h1:ekDALXAVvY/Ub1UtNta3inKQwZ/jMB/zpOtD8rAYh78= +github.com/azr/backoff v0.0.0-20160115115103-53511d3c7330/go.mod h1:nH+k0SvAt3HeiYyOlJpLLv1HG1p7KWP7qU9QPp2/pCo= +github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod h1:AuiFmCCPBSrqvVMvuqFuk0qogytodnVFVSN5CeJB8Gc= +github.com/beevik/ntp v0.2.0/go.mod h1:hIHWr+l3+/clUnF44zdK+CWW7fO8dR5cIylAQ76NRpg= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bitly/go-simplejson v0.5.0 h1:6IH+V8/tVMab511d5bn4M7EwGXZf9Hj6i2xSwkNEM+Y= +github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA= +github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= +github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= +github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= +github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/bwmarrin/discordgo v0.19.0/go.mod h1:O9S4p+ofTFwB02em7jkpkV8M3R0/PUVOwN61zSZ0r4Q= +github.com/bwmarrin/discordgo v0.20.1/go.mod h1:O9S4p+ofTFwB02em7jkpkV8M3R0/PUVOwN61zSZ0r4Q= +github.com/caddyserver/certmagic v0.10.6/go.mod h1:Y8jcUBctgk/IhpAzlHKfimZNyXCkfGgRTC0orl8gROQ= +github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= +github.com/cenkalti/backoff/v4 v4.0.0/go.mod h1:eEew/i+1Q6OrCDZh3WiXYv3+nJwBASZ8Bog/87DQnVg= +github.com/census-instrumentation/opencensus-proto v0.2.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cheekybits/genny v1.0.0 h1:uGGa4nei+j20rOSeDeP5Of12XVm7TGUd4dJA9RDitfE= +github.com/cheekybits/genny v1.0.0/go.mod h1:+tQajlRqAUrPI7DOSpB0XAqZYtQakVtB7wXkRAgjxjQ= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/cloudflare/cloudflare-go v0.10.2/go.mod h1:qhVI5MKwBGhdNU89ZRz2plgYutcJ5PCekLxXn56w6SY= +github.com/cloudflare/cloudflare-go v0.10.8/go.mod h1:+LCrBrz3ssRmKHnlTwQOUmi3tMcNi0H5UqpMUgKkwcg= +github.com/cloudflare/cloudflare-go v0.10.9/go.mod h1:5TrsWH+3f4NV6WjtS5QFp+DifH81rph40gU374Sh0dQ= +github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko= +github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= +github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/continuity v0.0.0-20181203112020-004b46473808/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI= +github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0= +github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o= +github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= +github.com/coreos/bbolt v1.3.3/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/coreos/etcd v3.3.17+incompatible h1:f/Z3EoDSx1yjaIjLQGo1diYUlQYSBrrAQ5vP8NjwXwo= +github.com/coreos/etcd v3.3.17+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f h1:JOrtw2xFKzlg+cbHpyrpLDmnN1HqhBfnX7WDiW7eG2c= +github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg= +github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpu/goacmedns v0.0.1/go.mod h1:sesf/pNnCYwUevQEQfEwY0Y3DydlQWSGZbaMElOWxok= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM= +github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/decker502/dnspod-go v0.2.0/go.mod h1:qsurYu1FgxcDwfSwXJdLt4kRsBLZeosEb9uq4Sy+08g= +github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f h1:U5y3Y5UE0w7amNe7Z5G/twsBW0KEalRQXZzf8ufSh9I= +github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f/go.mod h1:xH/i4TFMt8koVQZ6WFms69WAsDWr2XsYL3Hkl7jkoLE= +github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= +github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= +github.com/dnaeon/go-vcr v0.0.0-20180814043457-aafff18a5cc2/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= +github.com/dnsimple/dnsimple-go v0.30.0/go.mod h1:O5TJ0/U6r7AfT8niYNlmohpLbCSG+c71tQlGr9SeGrg= +github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/docker v1.4.2-0.20190710153559-aa8249ae1b8b/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v1.4.2-0.20191101170500-ac7306503d23/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= +github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-jsonpointer v0.0.0-20160814072949-ba0abeacc3dc h1:tP7tkU+vIsEOKiK+l/NSLN4uUtkyuxc6hgYpQeCWAeI= +github.com/dustin/go-jsonpointer v0.0.0-20160814072949-ba0abeacc3dc/go.mod h1:ORH5Qp2bskd9NzSfKqAF7tKfONsEkCarTE5ESr/RVBw= +github.com/dustin/gojson v0.0.0-20160307161227-2e71ec9dd5ad h1:Qk76DOWdOp+GlyDKBAG3Klr9cn7N+LcYc82AZ2S7+cA= +github.com/dustin/gojson v0.0.0-20160307161227-2e71ec9dd5ad/go.mod h1:mPKfmRa823oBIgl2r20LeMSpTAteW5j7FLkc0vjmzyQ= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/eknkc/basex v1.0.0/go.mod h1:k/F/exNEHFdbs3ZHuasoP2E7zeWwZblG84Y7Z59vQRo= +github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/evanphx/json-patch/v5 v5.0.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= +github.com/exoscale/egoscale v0.18.1/go.mod h1:Z7OOdzzTOz1Q1PjQXumlz9Wn/CddH0zSYdCF3rnBKXE= +github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= +github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/forestgiant/sliceutil v0.0.0-20160425183142-94783f95db6c/go.mod h1:pFdJbAhRf7rh6YYMUdIQGyzne6zYL1tCUW8QV2B3UfY= +github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/fsouza/go-dockerclient v1.4.4/go.mod h1:PrwszSL5fbmsESocROrOGq/NULMXRw+bajY0ltzD6MA= +github.com/fsouza/go-dockerclient v1.6.0/go.mod h1:YWwtNPuL4XTX1SKJQk86cWPmmqwx+4np9qfPbb+znGc= +github.com/garyburd/go-oauth v0.0.0-20180319155456-bca2e7f09a17 h1:GOfMz6cRgTJ9jWV0qAezv642OhPnKEG7gtUjJSdStHE= +github.com/garyburd/go-oauth v0.0.0-20180319155456-bca2e7f09a17/go.mod h1:HfkOCN6fkKKaPSAeNq/er3xObxTW4VLeY6UUK895gLQ= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/go-acme/lego/v3 v3.1.0/go.mod h1:074uqt+JS6plx+c9Xaiz6+L+GBb+7itGtzfcDM2AhEE= +github.com/go-acme/lego/v3 v3.2.0/go.mod h1:074uqt+JS6plx+c9Xaiz6+L+GBb+7itGtzfcDM2AhEE= +github.com/go-acme/lego/v3 v3.4.0/go.mod h1:xYbLDuxq3Hy4bMUT1t9JIuz6GWIWb3m5X+TeTHYaT7M= +github.com/go-cmd/cmd v1.0.5/go.mod h1:y8q8qlK5wQibcw63djSl/ntiHUHXHGdCkPk0j4QeW4s= +github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-ini/ini v1.44.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-log/log v0.1.0 h1:wudGTNsiGzrD5ZjgIkVZ517ugi2XRe9Q/xRCzwEO4/U= +github.com/go-log/log v0.1.0/go.mod h1:4mBwpdRMFLiuXZDCwU2lKQFsoSCo72j3HqBK9d81N2M= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-playground/locales v0.12.1/go.mod h1:IUMDtCfWo/w/mtMfIE/IG2K+Ey3ygWanZIBtBW0W2TM= +github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= +github.com/go-playground/universal-translator v0.16.0/go.mod h1:1AnU7NaIRDWWzGEKwgtJRd2xk99HeFyHw3yid4rvQIY= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible/go.mod h1:qf9acutJ8cwBUhm1bqgz6Bei9/C/c93FPDljKWwsOgM= +github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= +github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= +github.com/gobwas/ws v1.0.3/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= +github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= +github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/goji/httpauth v0.0.0-20160601135302-2da839ab0f4d/go.mod h1:nnjvkQ9ptGaCkuDUx6wNykzzlUixGxvkme+H/lnzb+A= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20191002201903-404acd9df4cc/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.0/go.mod h1:Qd/q+1AKNOZr9uGQzbzCmRO6sUih6GTPZv6a1/R87v0= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY= +github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= +github.com/google/go-github/v30 v30.1.0 h1:VLDx+UolQICEOKu2m4uAoMti1SxuEBAl7RSEG16L+Oo= +github.com/google/go-github/v30 v30.1.0/go.mod h1:n8jBpHl45a/rlBUtRJMOG4GhNADUQFEufcolZ95JfU8= +github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= +github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/gophercloud/gophercloud v0.3.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/websocket v1.2.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= +github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/grpc-ecosystem/go-grpc-middleware v1.1.0/go.mod h1:f5nM7jw/oeRSadq3xCzHAvxcr8HZnzsqU6ILg/0NiiE= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542/go.mod h1:Ow0tF8D4Kplbc8s8sSb3V2oUCygFHVp8gC3Dn6U4MNI= +github.com/hako/branca v0.0.0-20180808000428-10b799466ada/go.mod h1:tOPn4gvKEUWqIJNE+zpTeTALaRAXnrRqqSnPlO3VpEo= +github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= +github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= +github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I= +github.com/hashicorp/go-retryablehttp v0.6.4/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= +github.com/hashicorp/go-version v1.2.1 h1:zEfKbn2+PDgroKdiOzqiE8rsmLqU2uwi5PB5pBJ3TkI= +github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/iij/doapi v0.0.0-20190504054126-0bbf12d6d7df/go.mod h1:QMZY7/J/KSQEhKWFeDesPjMj+wCHReeknARU3wqlyN4= +github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= +github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/improbable-eng/grpc-web v0.13.0 h1:7XqtaBWaOCH0cVGKHyvhtcuo6fgW32Y10yRKrDHFHOc= +github.com/improbable-eng/grpc-web v0.13.0/go.mod h1:6hRR09jOEG81ADP5wCQju1z71g6OL4eEvELdran/3cs= +github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf h1:WfD7VjIE6z8dIvMsI4/s+1qr5EL+zoIGev1BQj1eoJ8= +github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf/go.mod h1:hyb9oH7vZsitZCiBt0ZvifOrB+qc8PS5IiilCIb87rg= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/joncalhoun/qson v0.0.0-20170526102502-8a9cab3a62b1/go.mod h1:DFXrEwSRX0p/aSvxE21319menCBFeQO0jXpRj7LEZUA= +github.com/json-iterator/go v1.1.5/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.10 h1:Kz6Cvnvv2wGdaG/V8yMvfkmNiXq9Ya2KUv4rouJJr68= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b h1:FQ7+9fxhyp82ks9vAuyPzG0/vVbWwMwLJ+P6yJI5FN8= +github.com/juju/fslock v0.0.0-20160525022230-4d5c94c67b4b/go.mod h1:HMcgvsgd0Fjj4XXDkbjdmlbI505rUPBs6WBMYg2pXks= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= +github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= +github.com/klauspost/cpuid v1.3.1/go.mod h1:bYW4mA6ZgKPob1/Dlai2LviZJO7KGI3uoWLd42rAQw4= +github.com/kolo/xmlrpc v0.0.0-20190717152603-07c4ee3fd181/go.mod h1:o03bZfuBwAXHetKXuInt4S7omeXUu62/A845kiycsSQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/labbsr0x/bindman-dns-webhook v1.0.2/go.mod h1:p6b+VCXIR8NYKpDr8/dg1HKfQoRHCdcsROXKvmoehKA= +github.com/labbsr0x/goh v1.0.1/go.mod h1:8K2UhVoaWXcCU7Lxoa2omWnC8gyW8px7/lmO61c027w= +github.com/leodido/go-urn v1.1.0/go.mod h1:+cyI34gQWZcE1eQU7NVgKkkzdXDQHr1dBMtdAPozLkw= +github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= +github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= +github.com/linode/linodego v0.10.0/go.mod h1:cziNP7pbvE3mXIPneHj0oRY8L1WtGEIKlZ8LANE4eXA= +github.com/liquidweb/liquidweb-go v1.6.0/go.mod h1:UDcVnAMDkZxpw4Y7NOHkqoeiGacVLEIG/i5J9cyixzQ= +github.com/lucas-clemente/quic-go v0.12.1/go.mod h1:UXJJPE4RfFef/xPO5wQm0tITK8gNfqwTxjbE7s3Vb8s= +github.com/lucas-clemente/quic-go v0.13.1 h1:CxtJTXQIh2aboCPk0M6vf530XOov6DZjVBiSE3nSj8s= +github.com/lucas-clemente/quic-go v0.13.1/go.mod h1:Vn3/Fb0/77b02SGhQk36KzOUmXgVpFfizUfW5WMaqyU= +github.com/mailru/easyjson v0.0.0-20180730094502-03f2033d19d5/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/marten-seemann/chacha20 v0.2.0 h1:f40vqzzx+3GdOmzQoItkLX5WLvHgPgyYqFFIO5Gh4hQ= +github.com/marten-seemann/chacha20 v0.2.0/go.mod h1:HSdjFau7GzYRj+ahFNwsO3ouVJr1HFkWoEwNDb4TMtE= +github.com/marten-seemann/qpack v0.1.0/go.mod h1:LFt1NU/Ptjip0C2CPkhimBz5CGE3WGDAUWqna+CNTrI= +github.com/marten-seemann/qtls v0.3.2/go.mod h1:xzjG7avBwGGbdZ8dTGxlBnLArsVKLvwmjgmPuiQEcYk= +github.com/marten-seemann/qtls v0.4.1 h1:YlT8QP3WCCvvok7MGEZkMldXbyqgr8oFg5/n8Gtbkks= +github.com/marten-seemann/qtls v0.4.1/go.mod h1:pxVXcHHw1pNIt8Qo0pwSYQEoZ8yYOOPXTCZLQQunvRc= +github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mattn/go-runewidth v0.0.6/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-tty v0.0.0-20180219170247-931426f7535a/go.mod h1:XPvLUNfbS4fJH25nqRHfWLMa1ONC8Amw+mIA639KxkE= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/mholt/certmagic v0.7.5/go.mod h1:91uJzK5K8IWtYQqTi5R2tsxV1pCde+wdGfaRaOZi6aQ= +github.com/mholt/certmagic v0.8.3/go.mod h1:91uJzK5K8IWtYQqTi5R2tsxV1pCde+wdGfaRaOZi6aQ= +github.com/micro/cli v0.2.0 h1:ut3rV5JWqZjsXIa2MvGF+qMUP8DAUTvHX9Br5gO4afA= +github.com/micro/cli v0.2.0/go.mod h1:jRT9gmfVKWSS6pkKcXQ8YhUyj6bzwxK8Fp5b0Y7qNnk= +github.com/micro/go-micro v1.16.0/go.mod h1:A0F58bHLh2m0LAI9QyhvmbN8c1cxhAZo3cM6s+iDsrM= +github.com/micro/go-micro v1.18.0 h1:gP70EZVHpJuUIT0YWth192JmlIci+qMOEByHm83XE9E= +github.com/micro/go-micro v1.18.0/go.mod h1:klwUJL1gkdY1MHFyz+fFJXn52dKcty4hoe95Mp571AA= +github.com/micro/mdns v0.3.0 h1:bYycYe+98AXR3s8Nq5qvt6C573uFTDPIYzJemWON0QE= +github.com/micro/mdns v0.3.0/go.mod h1:KJ0dW7KmicXU2BV++qkLlmHYcVv7/hHnbtguSWt9Aoc= +github.com/micro/micro v1.18.0 h1:v+xiQOXbT9xxotLwu1nJM81t4FbruBxZSSyIdhUfujM= +github.com/micro/micro v1.18.0/go.mod h1:F7X6NCpW9Jh5w/qQJhh9/aLfcY+oMO/oWeLg3yrURbI= +github.com/micro/micro/v3 v3.0.0 h1:Of7EcMXNW71nMn19jL4DrNQwDQuevj30qZQZD80Xr0Q= +github.com/micro/micro/v3 v3.0.0/go.mod h1:ElF7TY9n7dy6Fk66X/KsW8J75/fCsp1u3S303EBEMRA= +github.com/micro/protoc-gen-micro v1.0.0/go.mod h1:C8ij4DJhapBmypcT00AXdb0cZ675/3PqUO02buWWqbE= +github.com/micro/services v0.16.0 h1:mWiv68uBrV4Z/TiE6ImLcmHJmOLM4XHI4/E82SNj5mA= +github.com/miekg/dns v1.1.3/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/miekg/dns v1.1.15/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= +github.com/miekg/dns v1.1.22/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= +github.com/miekg/dns v1.1.27 h1:aEH/kqUzUxGJ/UHcEKdJY+ugH6WEzsEBBSPa8zuy1aM= +github.com/miekg/dns v1.1.27/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= +github.com/minio/md5-simd v1.1.0/go.mod h1:XpBqgZULrMYD3R+M28PcmP0CkI7PEMzB3U77ZrKZ0Gw= +github.com/minio/minio-go/v7 v7.0.5/go.mod h1:TA0CQCjJZHM5SJj9IjqR0NmpmQJ6bCbXifAJ3mUU6Hw= +github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed/go.mod h1:3rdaFaCv4AyBgu5ALFM0+tSuHrBh6v692nyQe3ikrq0= +github.com/mitchellh/hashstructure v1.0.0 h1:ZkRJX1CyOoTkar7p/mLS5TZU4nJ1Rn/F8u9dGS02Q3Y= +github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1DutKwClXU/ABz6AQ= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/namedotcom/go v0.0.0-20180403034216-08470befbe04/go.mod h1:5sN+Lt1CaY4wsPvgQH/jsuJi4XO2ssZbdsIizr4CVC8= +github.com/nats-io/jwt v0.3.0 h1:xdnzwFETV++jNc4W1mw//qFyJGb2ABOombmZJQS4+Qo= +github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= +github.com/nats-io/nats-server/v2 v2.1.0/go.mod h1:r5y0WgCag0dTj/qiHkHrXAcKQ/f5GMOZaEGdoxxnJ4I= +github.com/nats-io/nats.go v1.8.1/go.mod h1:BrFz9vVn0fU3AcH9Vn4Kd7W0NpJ651tD5omQ3M8LwxM= +github.com/nats-io/nats.go v1.9.1 h1:ik3HbLhZ0YABLto7iX80pZLPw/6dx3T+++MZJwLnMrQ= +github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= +github.com/nats-io/nkeys v0.0.2/go.mod h1:dab7URMsZm6Z/jp9Z5UGa87Uutgc2mVpXLC4B7TDb/4= +github.com/nats-io/nkeys v0.1.0 h1:qMd4+pRHgdr1nAClu+2h/2a5F2TmKcCzjCDazVgRoX4= +github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= +github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= +github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32/go.mod h1:9wM+0iRr9ahx58uYLpLIr5fm8diHn0JbqRycJi6w0Ms= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/nlopes/slack v0.6.0/go.mod h1:JzQ9m3PMAqcpeCam7UaHSuBuupz7CmpjehYMayT6YOk= +github.com/nrdcg/auroradns v1.0.0/go.mod h1:6JPXKzIRzZzMqtTDgueIhTi6rFf1QvYE/HzqidhOhjw= +github.com/nrdcg/dnspod-go v0.4.0/go.mod h1:vZSoFSFeQVm2gWLMkyX61LZ8HI3BaqtHZWgPTGKr6KQ= +github.com/nrdcg/goinwx v0.6.1/go.mod h1:XPiut7enlbEdntAqalBIqcYcTEVhpv/dKWgDCX2SwKQ= +github.com/nrdcg/namesilo v0.2.1/go.mod h1:lwMvfQTyYq+BbjJd30ylEG4GPSS6PII0Tia4rRpRiyw= +github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ= +github.com/olekukonko/tablewriter v0.0.3/go.mod h1:YZeBtGzYYEsCHp2LST/u/0NDwGkRoBtmn1cIWCJiS6M= +github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= +github.com/onsi/gomega v1.4.2/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= +github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/oracle/oci-go-sdk v7.0.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888= +github.com/ovh/go-ovh v0.0.0-20181109152953-ba5adb4cf014/go.mod h1:joRatxRJaZBsY3JAOEMcoOp05CnZzsx4scTxi95DHyQ= +github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw= +github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0= +github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= +github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= +github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= +github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= +github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pquerna/otp v1.2.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1AEg= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/rainycape/memcache v0.0.0-20150622160815-1031fa0ce2f2/go.mod h1:7tZKcyumwBO6qip7RNQ5r77yrssm9bfCowcLEBcU5IA= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rhysd/go-github-selfupdate v1.2.2 h1:G+mNzkc1wEtpmM6sFS/Ghkeq+ad4Yp6EZEHyp//wGEo= +github.com/rhysd/go-github-selfupdate v1.2.2/go.mod h1:khesvSyKcXDUxeySCedFh621iawCks0dS/QnHPcpCws= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= +github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= +github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= +github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= +github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sacloud/libsacloud v1.26.1/go.mod h1:79ZwATmHLIFZIMd7sxA3LwzVy/B77uj3LDoToVTxDoQ= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516/go.mod h1:Yow6lPLSAXx2ifx470yD/nUe22Dv5vBvxK/UK9UUTVs= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= +github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/skratchdot/open-golang v0.0.0-20160302144031-75fb7ed4208c/go.mod h1:sUM3LWHvSMaG192sy56D9F7CNvL7jUJVXoqM1QKLnog= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= +github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM= +github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4 h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/tcnksm/go-gitconfig v0.1.2 h1:iiDhRitByXAEyjgBqsKi9QU4o2TNtv9kPP3RgPgXBPw= +github.com/tcnksm/go-gitconfig v0.1.2/go.mod h1:/8EhP4H7oJZdIPyT+/UIsG87kTzrzM4UsLGSItWYCpE= +github.com/technoweenie/multipartstreamer v1.0.1/go.mod h1:jNVxdtShOxzAsukZwTSw6MDx5eUJoiEBsSvzDU9uzog= +github.com/teris-io/shortid v0.0.0-20171029131806-771a37caa5cf/go.mod h1:M8agBzgqHIhgj7wEn9/0hJUZcrvt9VY+Ln+S1I5Mha0= +github.com/timewasted/linode v0.0.0-20160829202747-37e84520dcf7/go.mod h1:imsgLplxEC/etjIhdr3dNzV3JeT27LbVu5pYWm0JCBY= +github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/transip/gotransip v0.0.0-20190812104329-6d8d9179b66f/go.mod h1:i0f4R4o2HM0m3DZYQWsj6/MEowD57VzoH0v3d7igeFY= +github.com/uber-go/atomic v1.3.2/go.mod h1:/Ct5t2lcmbJ4OSe/waGBoaVvVqtO0bmtfVNex1PFV8g= +github.com/ulikunitz/xz v0.5.5 h1:pFrO0lVpTBXLpYw+pnLj6TbvHuyjXMfjGeCwSqCVwok= +github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= +github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/urfave/cli v1.22.2 h1:gsqYFH8bb9ekPA12kRo0hfjngWQjkJPlN9R0N78BoUo= +github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= +github.com/urfave/cli/v2 v2.2.0 h1:JTTnM6wKzdA0Jqodd966MVj4vWbbquZykeX1sKbe2C4= +github.com/urfave/cli/v2 v2.2.0/go.mod h1:SE9GqnLQmjVa0iPEY0f1w3ygNIYcIJ0OKPMoW2caLfQ= +github.com/vultr/govultr v0.1.4/go.mod h1:9H008Uxr/C4vFNGLqKx232C206GL0PBHzOP0809bGNA= +github.com/xanzy/go-gitlab v0.35.1/go.mod h1:sPLojNBn68fMUWSxIJtdVVIP8uSBYqesTfDUseX11Ug= +github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= +github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= +github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= +github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= +github.com/xeipuuv/gojsonschema v1.1.0/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= +go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= +go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0 h1:OI5t8sDa1Or+q8AeE+yKeB/SDYioSHAgcVljj9JIETY= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.2.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0 h1:sFPn2GLc3poCkfrpIXGhBD2X0CMIo4Q/zSULXrj/+uc= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/ratelimit v0.0.0-20180316092928-c15da0234277/go.mod h1:2X8KaoNd1J0lZV+PxJk/5+DGbO/tpwLR1m++a7FnB/Y= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.12.0 h1:dySoUQPFBGj6xwjmBzageVL8jGi8uxc6bEmJQjA06bw= +go.uber.org/zap v1.12.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +golang.org/x/crypto v0.0.0-20180621125126-a49355c7e3f8/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190130090550-b01c7a725664/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190418165655-df01cb2cc480/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190829043050-9756ffdc2472/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY= +golang.org/x/crypto v0.0.0-20190927123631-a832865fa7ad/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191108234033-bd318be0434a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 h1:DZhuSZLsGlFL4CmhA8BcRA0mnthyA/nZ00AqCUo7vHg= +golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/net v0.0.0-20180611182652-db08ff08e862/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181108082009-03003ca0c849/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190228165749-92fc7df08ae7/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190930134127-c5a3c61f89f3/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191011234655-491137f69257/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191027093000-83d349e8ac1a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191109021931-daa7c04131f5/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200707034311-ab3426394381 h1:VXak5I6aEWmAXeQjA+QSZzlgNrpq9mjcfDemuexIKsU= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180622082034-63fc586f45fe/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190129075346-302c3dd5f1cc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190710143415-6ec70d6a5542/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191110163157-d32e6e3b99c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae h1:Ih9Yo4hSPImZOpfGuA4bR/ORKTAbhZo2AbWNRCnevdo= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190921001708-c4c64cad1fd0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216052735-49a3e744a425/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/grpc v1.26.0 h1:2dTRdpdFEEhJYQD8EMLB61nnrzSCTbG38PhqdhvOltg= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc/go.mod h1:m7x9LTH6d71AHyAX77c9yqWCCa3UKHcVEj9y7hAtKDk= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE= +gopkg.in/go-playground/validator.v9 v9.30.0/go.mod h1:+c9/zcJMFNgbLvly1L1V+PpxWdVbfP1avr/N00E2vyQ= +gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df/go.mod h1:LRQQ+SO6ZHR7tOkpBDuZnXENFzX8qRjMDMyPD6BRkCw= +gopkg.in/h2non/gock.v1 v1.0.15/go.mod h1:sX4zAkdYX1TRGJ2JY156cFspQn4yRWn6p9EMdODlynE= +gopkg.in/ini.v1 v1.42.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/ini.v1 v1.44.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/ini.v1 v1.57.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= +gopkg.in/ns1/ns1-go.v2 v2.0.0-20190730140822-b51389932cbc/go.mod h1:VV+3haRsgDiVLxyifmMBrBIuCWFBPYKbRssXB9z67Hw= +gopkg.in/olivere/elastic.v5 v5.0.82/go.mod h1:uhHoB4o3bvX5sorxBU29rPcmBQdV2Qfg0FBrx5D6pV0= +gopkg.in/resty.v1 v1.9.1/go.mod h1:vo52Hzryw9PnPHcJfPsBiFW62XhNx5OczbV9y+IMpgc= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/square/go-jose.v2 v2.4.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98= +gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g= +gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8= +gopkg.in/telegram-bot-api.v4 v4.6.4/go.mod h1:5DpGO5dbumb40px+dXcwCpcjmeHNYLpk0bp3XRNvWDM= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= diff --git a/twitter/handler/handler.go b/twitter/handler/handler.go new file mode 100644 index 0000000..eea9282 --- /dev/null +++ b/twitter/handler/handler.go @@ -0,0 +1,59 @@ +package handler + +import ( + "context" + "fmt" + "net/url" + + "github.com/micro/micro/v3/service/errors" + pb "github.com/micro/services/twitter/proto" + "github.com/micro/services/twitter/api" +) + +type Api struct{} + +func (a *Api) Tweet(ctx context.Context, req *pb.TweetRequest, rsp *pb.TweetResponse) error { + if len(req.Status) == 0 { + return errors.BadRequest("twitter.Api.Tweet", "Status cannot be blank") + } + if len(req.Status) > 140 { + return errors.BadRequest("twitter.Api.Tweet", "Status cannot be longer than 140 chars") + } + + u := url.Values{} + + if req.InReplyToStatusId > 0 { + u.Set("in_reply_to_status_id", fmt.Sprintf("%d", req.InReplyToStatusId)) + } + + if req.PossiblySensitive { + u.Set("possibly_sensitive", "true") + } + + if req.LatLng != nil { + u.Set("lat", fmt.Sprintf("%.6f", req.LatLng.Lat)) + u.Set("long", fmt.Sprintf("%.6f", req.LatLng.Lng)) + } + + if len(req.PlaceId) > 0 { + u.Set("place_id", req.PlaceId) + } + + if req.DisplayCoordinates { + u.Set("display_coordinates", "true") + } + + if req.TrimUser { + u.Set("trim_user", "true") + } + + for _, id := range req.MediaIds { + u.Set("media_ids", fmt.Sprintf("%d", id)) + } + + if err := api.Tweet(req.Status, u, rsp); err != nil { + return errors.InternalServerError("twitter.Api.Tweet", err.Error()) + } + + return nil +} diff --git a/twitter/main.go b/twitter/main.go new file mode 100644 index 0000000..1d6d444 --- /dev/null +++ b/twitter/main.go @@ -0,0 +1,44 @@ +package main + +import ( + "github.com/micro/micro/v3/service/logger" + "github.com/micro/micro/v3/service/config" + "github.com/micro/micro/v3/service" + "github.com/micro/services/twitter/handler" + pb "github.com/micro/services/twitter/proto" + "github.com/micro/services/twitter/api" +) + +func getVal(v string) string { + val, err := config.Get(v) + if err != nil { + return "" + } + return val.String("") +} + +func configure() { + api.Token = getVal("twitter.access_token") + api.TokenSecret = getVal("twitter.access_token_secret") + api.ConsumerKey = getVal("twitter.consumer_key") + api.ConsumerSecret = getVal("twitter.consumer_secret") + api.Init() +} + +func init() { + configure() +} + +func main() { + service := service.New( + service.Name("twitter"), + ) + + service.Init() + + pb.RegisterApiHandler(service.Server(), &handler.Api{}) + + if err := service.Run(); err != nil { + logger.Fatal(err) + } +} diff --git a/twitter/micro.mu b/twitter/micro.mu new file mode 100644 index 0000000..698d2bd --- /dev/null +++ b/twitter/micro.mu @@ -0,0 +1 @@ +service twitter diff --git a/twitter/proto/twitter.pb.go b/twitter/proto/twitter.pb.go new file mode 100644 index 0000000..533f875 --- /dev/null +++ b/twitter/proto/twitter.pb.go @@ -0,0 +1,2235 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: proto/twitter.proto + +package twitter + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type Point struct { + Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"` + Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Point) Reset() { *m = Point{} } +func (m *Point) String() string { return proto.CompactTextString(m) } +func (*Point) ProtoMessage() {} +func (*Point) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{0} +} + +func (m *Point) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Point.Unmarshal(m, b) +} +func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Point.Marshal(b, m, deterministic) +} +func (m *Point) XXX_Merge(src proto.Message) { + xxx_messageInfo_Point.Merge(m, src) +} +func (m *Point) XXX_Size() int { + return xxx_messageInfo_Point.Size(m) +} +func (m *Point) XXX_DiscardUnknown() { + xxx_messageInfo_Point.DiscardUnknown(m) +} + +var xxx_messageInfo_Point proto.InternalMessageInfo + +func (m *Point) GetLat() float64 { + if m != nil { + return m.Lat + } + return 0 +} + +func (m *Point) GetLng() float64 { + if m != nil { + return m.Lng + } + return 0 +} + +type Contributor struct { + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + IdStr string `protobuf:"bytes,2,opt,name=id_str,json=idStr,proto3" json:"id_str,omitempty"` + ScreenName string `protobuf:"bytes,3,opt,name=screen_name,json=screenName,proto3" json:"screen_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Contributor) Reset() { *m = Contributor{} } +func (m *Contributor) String() string { return proto.CompactTextString(m) } +func (*Contributor) ProtoMessage() {} +func (*Contributor) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{1} +} + +func (m *Contributor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Contributor.Unmarshal(m, b) +} +func (m *Contributor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Contributor.Marshal(b, m, deterministic) +} +func (m *Contributor) XXX_Merge(src proto.Message) { + xxx_messageInfo_Contributor.Merge(m, src) +} +func (m *Contributor) XXX_Size() int { + return xxx_messageInfo_Contributor.Size(m) +} +func (m *Contributor) XXX_DiscardUnknown() { + xxx_messageInfo_Contributor.DiscardUnknown(m) +} + +var xxx_messageInfo_Contributor proto.InternalMessageInfo + +func (m *Contributor) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *Contributor) GetIdStr() string { + if m != nil { + return m.IdStr + } + return "" +} + +func (m *Contributor) GetScreenName() string { + if m != nil { + return m.ScreenName + } + return "" +} + +type Coordinates struct { + Coordinates []float64 `protobuf:"fixed64,1,rep,packed,name=coordinates,proto3" json:"coordinates,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Coordinates) Reset() { *m = Coordinates{} } +func (m *Coordinates) String() string { return proto.CompactTextString(m) } +func (*Coordinates) ProtoMessage() {} +func (*Coordinates) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{2} +} + +func (m *Coordinates) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Coordinates.Unmarshal(m, b) +} +func (m *Coordinates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Coordinates.Marshal(b, m, deterministic) +} +func (m *Coordinates) XXX_Merge(src proto.Message) { + xxx_messageInfo_Coordinates.Merge(m, src) +} +func (m *Coordinates) XXX_Size() int { + return xxx_messageInfo_Coordinates.Size(m) +} +func (m *Coordinates) XXX_DiscardUnknown() { + xxx_messageInfo_Coordinates.DiscardUnknown(m) +} + +var xxx_messageInfo_Coordinates proto.InternalMessageInfo + +func (m *Coordinates) GetCoordinates() []float64 { + if m != nil { + return m.Coordinates + } + return nil +} + +func (m *Coordinates) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +type Hashtag struct { + Indices []int64 `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Hashtag) Reset() { *m = Hashtag{} } +func (m *Hashtag) String() string { return proto.CompactTextString(m) } +func (*Hashtag) ProtoMessage() {} +func (*Hashtag) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{3} +} + +func (m *Hashtag) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Hashtag.Unmarshal(m, b) +} +func (m *Hashtag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Hashtag.Marshal(b, m, deterministic) +} +func (m *Hashtag) XXX_Merge(src proto.Message) { + xxx_messageInfo_Hashtag.Merge(m, src) +} +func (m *Hashtag) XXX_Size() int { + return xxx_messageInfo_Hashtag.Size(m) +} +func (m *Hashtag) XXX_DiscardUnknown() { + xxx_messageInfo_Hashtag.DiscardUnknown(m) +} + +var xxx_messageInfo_Hashtag proto.InternalMessageInfo + +func (m *Hashtag) GetIndices() []int64 { + if m != nil { + return m.Indices + } + return nil +} + +func (m *Hashtag) GetText() string { + if m != nil { + return m.Text + } + return "" +} + +type Url struct { + Indices []int64 `protobuf:"varint,1,rep,packed,name=indices,proto3" json:"indices,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + DisplayUrl string `protobuf:"bytes,3,opt,name=display_url,json=displayUrl,proto3" json:"display_url,omitempty"` + ExpandedUrl string `protobuf:"bytes,4,opt,name=expanded_url,json=expandedUrl,proto3" json:"expanded_url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Url) Reset() { *m = Url{} } +func (m *Url) String() string { return proto.CompactTextString(m) } +func (*Url) ProtoMessage() {} +func (*Url) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{4} +} + +func (m *Url) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Url.Unmarshal(m, b) +} +func (m *Url) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Url.Marshal(b, m, deterministic) +} +func (m *Url) XXX_Merge(src proto.Message) { + xxx_messageInfo_Url.Merge(m, src) +} +func (m *Url) XXX_Size() int { + return xxx_messageInfo_Url.Size(m) +} +func (m *Url) XXX_DiscardUnknown() { + xxx_messageInfo_Url.DiscardUnknown(m) +} + +var xxx_messageInfo_Url proto.InternalMessageInfo + +func (m *Url) GetIndices() []int64 { + if m != nil { + return m.Indices + } + return nil +} + +func (m *Url) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *Url) GetDisplayUrl() string { + if m != nil { + return m.DisplayUrl + } + return "" +} + +func (m *Url) GetExpandedUrl() string { + if m != nil { + return m.ExpandedUrl + } + return "" +} + +type Mention struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Indices []int64 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"` + ScreenName string `protobuf:"bytes,3,opt,name=screen_name,json=screenName,proto3" json:"screen_name,omitempty"` + Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"` + IdStr string `protobuf:"bytes,5,opt,name=id_str,json=idStr,proto3" json:"id_str,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Mention) Reset() { *m = Mention{} } +func (m *Mention) String() string { return proto.CompactTextString(m) } +func (*Mention) ProtoMessage() {} +func (*Mention) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{5} +} + +func (m *Mention) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Mention.Unmarshal(m, b) +} +func (m *Mention) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Mention.Marshal(b, m, deterministic) +} +func (m *Mention) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mention.Merge(m, src) +} +func (m *Mention) XXX_Size() int { + return xxx_messageInfo_Mention.Size(m) +} +func (m *Mention) XXX_DiscardUnknown() { + xxx_messageInfo_Mention.DiscardUnknown(m) +} + +var xxx_messageInfo_Mention proto.InternalMessageInfo + +func (m *Mention) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Mention) GetIndices() []int64 { + if m != nil { + return m.Indices + } + return nil +} + +func (m *Mention) GetScreenName() string { + if m != nil { + return m.ScreenName + } + return "" +} + +func (m *Mention) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *Mention) GetIdStr() string { + if m != nil { + return m.IdStr + } + return "" +} + +type MediaSize struct { + W int64 `protobuf:"varint,1,opt,name=w,proto3" json:"w,omitempty"` + H int64 `protobuf:"varint,2,opt,name=h,proto3" json:"h,omitempty"` + Resize string `protobuf:"bytes,3,opt,name=resize,proto3" json:"resize,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MediaSize) Reset() { *m = MediaSize{} } +func (m *MediaSize) String() string { return proto.CompactTextString(m) } +func (*MediaSize) ProtoMessage() {} +func (*MediaSize) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{6} +} + +func (m *MediaSize) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MediaSize.Unmarshal(m, b) +} +func (m *MediaSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MediaSize.Marshal(b, m, deterministic) +} +func (m *MediaSize) XXX_Merge(src proto.Message) { + xxx_messageInfo_MediaSize.Merge(m, src) +} +func (m *MediaSize) XXX_Size() int { + return xxx_messageInfo_MediaSize.Size(m) +} +func (m *MediaSize) XXX_DiscardUnknown() { + xxx_messageInfo_MediaSize.DiscardUnknown(m) +} + +var xxx_messageInfo_MediaSize proto.InternalMessageInfo + +func (m *MediaSize) GetW() int64 { + if m != nil { + return m.W + } + return 0 +} + +func (m *MediaSize) GetH() int64 { + if m != nil { + return m.H + } + return 0 +} + +func (m *MediaSize) GetResize() string { + if m != nil { + return m.Resize + } + return "" +} + +type Sizes struct { + Medium *MediaSize `protobuf:"bytes,1,opt,name=medium,proto3" json:"medium,omitempty"` + Thumb *MediaSize `protobuf:"bytes,2,opt,name=thumb,proto3" json:"thumb,omitempty"` + Small *MediaSize `protobuf:"bytes,3,opt,name=small,proto3" json:"small,omitempty"` + Large *MediaSize `protobuf:"bytes,4,opt,name=large,proto3" json:"large,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Sizes) Reset() { *m = Sizes{} } +func (m *Sizes) String() string { return proto.CompactTextString(m) } +func (*Sizes) ProtoMessage() {} +func (*Sizes) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{7} +} + +func (m *Sizes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Sizes.Unmarshal(m, b) +} +func (m *Sizes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Sizes.Marshal(b, m, deterministic) +} +func (m *Sizes) XXX_Merge(src proto.Message) { + xxx_messageInfo_Sizes.Merge(m, src) +} +func (m *Sizes) XXX_Size() int { + return xxx_messageInfo_Sizes.Size(m) +} +func (m *Sizes) XXX_DiscardUnknown() { + xxx_messageInfo_Sizes.DiscardUnknown(m) +} + +var xxx_messageInfo_Sizes proto.InternalMessageInfo + +func (m *Sizes) GetMedium() *MediaSize { + if m != nil { + return m.Medium + } + return nil +} + +func (m *Sizes) GetThumb() *MediaSize { + if m != nil { + return m.Thumb + } + return nil +} + +func (m *Sizes) GetSmall() *MediaSize { + if m != nil { + return m.Small + } + return nil +} + +func (m *Sizes) GetLarge() *MediaSize { + if m != nil { + return m.Large + } + return nil +} + +type Variant struct { + Bitrate int64 `protobuf:"varint,1,opt,name=bitrate,proto3" json:"bitrate,omitempty"` + ContentType string `protobuf:"bytes,2,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` + Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Variant) Reset() { *m = Variant{} } +func (m *Variant) String() string { return proto.CompactTextString(m) } +func (*Variant) ProtoMessage() {} +func (*Variant) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{8} +} + +func (m *Variant) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Variant.Unmarshal(m, b) +} +func (m *Variant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Variant.Marshal(b, m, deterministic) +} +func (m *Variant) XXX_Merge(src proto.Message) { + xxx_messageInfo_Variant.Merge(m, src) +} +func (m *Variant) XXX_Size() int { + return xxx_messageInfo_Variant.Size(m) +} +func (m *Variant) XXX_DiscardUnknown() { + xxx_messageInfo_Variant.DiscardUnknown(m) +} + +var xxx_messageInfo_Variant proto.InternalMessageInfo + +func (m *Variant) GetBitrate() int64 { + if m != nil { + return m.Bitrate + } + return 0 +} + +func (m *Variant) GetContentType() string { + if m != nil { + return m.ContentType + } + return "" +} + +func (m *Variant) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +type VideoInfo struct { + AspectRatio []int64 `protobuf:"varint,1,rep,packed,name=aspect_ratio,json=aspectRatio,proto3" json:"aspect_ratio,omitempty"` + DurationMillis int64 `protobuf:"varint,2,opt,name=duration_millis,json=durationMillis,proto3" json:"duration_millis,omitempty"` + Variants []*Variant `protobuf:"bytes,3,rep,name=variants,proto3" json:"variants,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *VideoInfo) Reset() { *m = VideoInfo{} } +func (m *VideoInfo) String() string { return proto.CompactTextString(m) } +func (*VideoInfo) ProtoMessage() {} +func (*VideoInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{9} +} + +func (m *VideoInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_VideoInfo.Unmarshal(m, b) +} +func (m *VideoInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_VideoInfo.Marshal(b, m, deterministic) +} +func (m *VideoInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_VideoInfo.Merge(m, src) +} +func (m *VideoInfo) XXX_Size() int { + return xxx_messageInfo_VideoInfo.Size(m) +} +func (m *VideoInfo) XXX_DiscardUnknown() { + xxx_messageInfo_VideoInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_VideoInfo proto.InternalMessageInfo + +func (m *VideoInfo) GetAspectRatio() []int64 { + if m != nil { + return m.AspectRatio + } + return nil +} + +func (m *VideoInfo) GetDurationMillis() int64 { + if m != nil { + return m.DurationMillis + } + return 0 +} + +func (m *VideoInfo) GetVariants() []*Variant { + if m != nil { + return m.Variants + } + return nil +} + +type Media struct { + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + IdStr string `protobuf:"bytes,2,opt,name=id_str,json=idStr,proto3" json:"id_str,omitempty"` + MediaUrl string `protobuf:"bytes,3,opt,name=media_url,json=mediaUrl,proto3" json:"media_url,omitempty"` + MediaUrlHttps string `protobuf:"bytes,4,opt,name=media_url_https,json=mediaUrlHttps,proto3" json:"media_url_https,omitempty"` + Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` + DisplayUrl string `protobuf:"bytes,6,opt,name=display_url,json=displayUrl,proto3" json:"display_url,omitempty"` + ExpandedUrl string `protobuf:"bytes,7,opt,name=expanded_url,json=expandedUrl,proto3" json:"expanded_url,omitempty"` + Sizes *Sizes `protobuf:"bytes,8,opt,name=sizes,proto3" json:"sizes,omitempty"` + SourceStatusId int64 `protobuf:"varint,9,opt,name=source_status_id,json=sourceStatusId,proto3" json:"source_status_id,omitempty"` + SourceStatusIdStr string `protobuf:"bytes,10,opt,name=source_status_id_str,json=sourceStatusIdStr,proto3" json:"source_status_id_str,omitempty"` + Type string `protobuf:"bytes,11,opt,name=type,proto3" json:"type,omitempty"` + Indices []int64 `protobuf:"varint,12,rep,packed,name=indices,proto3" json:"indices,omitempty"` + VideoInfo *VideoInfo `protobuf:"bytes,13,opt,name=video_info,json=videoInfo,proto3" json:"video_info,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Media) Reset() { *m = Media{} } +func (m *Media) String() string { return proto.CompactTextString(m) } +func (*Media) ProtoMessage() {} +func (*Media) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{10} +} + +func (m *Media) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Media.Unmarshal(m, b) +} +func (m *Media) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Media.Marshal(b, m, deterministic) +} +func (m *Media) XXX_Merge(src proto.Message) { + xxx_messageInfo_Media.Merge(m, src) +} +func (m *Media) XXX_Size() int { + return xxx_messageInfo_Media.Size(m) +} +func (m *Media) XXX_DiscardUnknown() { + xxx_messageInfo_Media.DiscardUnknown(m) +} + +var xxx_messageInfo_Media proto.InternalMessageInfo + +func (m *Media) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *Media) GetIdStr() string { + if m != nil { + return m.IdStr + } + return "" +} + +func (m *Media) GetMediaUrl() string { + if m != nil { + return m.MediaUrl + } + return "" +} + +func (m *Media) GetMediaUrlHttps() string { + if m != nil { + return m.MediaUrlHttps + } + return "" +} + +func (m *Media) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *Media) GetDisplayUrl() string { + if m != nil { + return m.DisplayUrl + } + return "" +} + +func (m *Media) GetExpandedUrl() string { + if m != nil { + return m.ExpandedUrl + } + return "" +} + +func (m *Media) GetSizes() *Sizes { + if m != nil { + return m.Sizes + } + return nil +} + +func (m *Media) GetSourceStatusId() int64 { + if m != nil { + return m.SourceStatusId + } + return 0 +} + +func (m *Media) GetSourceStatusIdStr() string { + if m != nil { + return m.SourceStatusIdStr + } + return "" +} + +func (m *Media) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +func (m *Media) GetIndices() []int64 { + if m != nil { + return m.Indices + } + return nil +} + +func (m *Media) GetVideoInfo() *VideoInfo { + if m != nil { + return m.VideoInfo + } + return nil +} + +type Entities struct { + Hashtags []*Hashtag `protobuf:"bytes,1,rep,name=hashtags,proto3" json:"hashtags,omitempty"` + Urls []*Url `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"` + Url *Url `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + UserMentions []*Mention `protobuf:"bytes,4,rep,name=user_mentions,json=userMentions,proto3" json:"user_mentions,omitempty"` + Media []*Media `protobuf:"bytes,5,rep,name=media,proto3" json:"media,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Entities) Reset() { *m = Entities{} } +func (m *Entities) String() string { return proto.CompactTextString(m) } +func (*Entities) ProtoMessage() {} +func (*Entities) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{11} +} + +func (m *Entities) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Entities.Unmarshal(m, b) +} +func (m *Entities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Entities.Marshal(b, m, deterministic) +} +func (m *Entities) XXX_Merge(src proto.Message) { + xxx_messageInfo_Entities.Merge(m, src) +} +func (m *Entities) XXX_Size() int { + return xxx_messageInfo_Entities.Size(m) +} +func (m *Entities) XXX_DiscardUnknown() { + xxx_messageInfo_Entities.DiscardUnknown(m) +} + +var xxx_messageInfo_Entities proto.InternalMessageInfo + +func (m *Entities) GetHashtags() []*Hashtag { + if m != nil { + return m.Hashtags + } + return nil +} + +func (m *Entities) GetUrls() []*Url { + if m != nil { + return m.Urls + } + return nil +} + +func (m *Entities) GetUrl() *Url { + if m != nil { + return m.Url + } + return nil +} + +func (m *Entities) GetUserMentions() []*Mention { + if m != nil { + return m.UserMentions + } + return nil +} + +func (m *Entities) GetMedia() []*Media { + if m != nil { + return m.Media + } + return nil +} + +type BoundingBox struct { + Coordinates []*Coordinates `protobuf:"bytes,1,rep,name=coordinates,proto3" json:"coordinates,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BoundingBox) Reset() { *m = BoundingBox{} } +func (m *BoundingBox) String() string { return proto.CompactTextString(m) } +func (*BoundingBox) ProtoMessage() {} +func (*BoundingBox) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{12} +} + +func (m *BoundingBox) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BoundingBox.Unmarshal(m, b) +} +func (m *BoundingBox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BoundingBox.Marshal(b, m, deterministic) +} +func (m *BoundingBox) XXX_Merge(src proto.Message) { + xxx_messageInfo_BoundingBox.Merge(m, src) +} +func (m *BoundingBox) XXX_Size() int { + return xxx_messageInfo_BoundingBox.Size(m) +} +func (m *BoundingBox) XXX_DiscardUnknown() { + xxx_messageInfo_BoundingBox.DiscardUnknown(m) +} + +var xxx_messageInfo_BoundingBox proto.InternalMessageInfo + +func (m *BoundingBox) GetCoordinates() []*Coordinates { + if m != nil { + return m.Coordinates + } + return nil +} + +func (m *BoundingBox) GetType() string { + if m != nil { + return m.Type + } + return "" +} + +type ContainedWithin struct { + Attributes map[string]string `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + BoundingBox *BoundingBox `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` + Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"` + CountryCode string `protobuf:"bytes,4,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + FullName string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` + PlaceType string `protobuf:"bytes,8,opt,name=place_type,json=placeType,proto3" json:"place_type,omitempty"` + Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContainedWithin) Reset() { *m = ContainedWithin{} } +func (m *ContainedWithin) String() string { return proto.CompactTextString(m) } +func (*ContainedWithin) ProtoMessage() {} +func (*ContainedWithin) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{13} +} + +func (m *ContainedWithin) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ContainedWithin.Unmarshal(m, b) +} +func (m *ContainedWithin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ContainedWithin.Marshal(b, m, deterministic) +} +func (m *ContainedWithin) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainedWithin.Merge(m, src) +} +func (m *ContainedWithin) XXX_Size() int { + return xxx_messageInfo_ContainedWithin.Size(m) +} +func (m *ContainedWithin) XXX_DiscardUnknown() { + xxx_messageInfo_ContainedWithin.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainedWithin proto.InternalMessageInfo + +func (m *ContainedWithin) GetAttributes() map[string]string { + if m != nil { + return m.Attributes + } + return nil +} + +func (m *ContainedWithin) GetBoundingBox() *BoundingBox { + if m != nil { + return m.BoundingBox + } + return nil +} + +func (m *ContainedWithin) GetCountry() string { + if m != nil { + return m.Country + } + return "" +} + +func (m *ContainedWithin) GetCountryCode() string { + if m != nil { + return m.CountryCode + } + return "" +} + +func (m *ContainedWithin) GetFullName() string { + if m != nil { + return m.FullName + } + return "" +} + +func (m *ContainedWithin) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *ContainedWithin) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ContainedWithin) GetPlaceType() string { + if m != nil { + return m.PlaceType + } + return "" +} + +func (m *ContainedWithin) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +type Place struct { + Attributes map[string]string `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + BoundingBox *BoundingBox `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` + ContainedWithin []*ContainedWithin `protobuf:"bytes,3,rep,name=contained_within,json=containedWithin,proto3" json:"contained_within,omitempty"` + Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"` + CountryCode string `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` + FullName string `protobuf:"bytes,6,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` + Geometry *BoundingBox `protobuf:"bytes,7,opt,name=geometry,proto3" json:"geometry,omitempty"` + Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` + PlaceType string `protobuf:"bytes,10,opt,name=place_type,json=placeType,proto3" json:"place_type,omitempty"` + Polylines []string `protobuf:"bytes,11,rep,name=polylines,proto3" json:"polylines,omitempty"` + Url string `protobuf:"bytes,12,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Place) Reset() { *m = Place{} } +func (m *Place) String() string { return proto.CompactTextString(m) } +func (*Place) ProtoMessage() {} +func (*Place) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{14} +} + +func (m *Place) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Place.Unmarshal(m, b) +} +func (m *Place) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Place.Marshal(b, m, deterministic) +} +func (m *Place) XXX_Merge(src proto.Message) { + xxx_messageInfo_Place.Merge(m, src) +} +func (m *Place) XXX_Size() int { + return xxx_messageInfo_Place.Size(m) +} +func (m *Place) XXX_DiscardUnknown() { + xxx_messageInfo_Place.DiscardUnknown(m) +} + +var xxx_messageInfo_Place proto.InternalMessageInfo + +func (m *Place) GetAttributes() map[string]string { + if m != nil { + return m.Attributes + } + return nil +} + +func (m *Place) GetBoundingBox() *BoundingBox { + if m != nil { + return m.BoundingBox + } + return nil +} + +func (m *Place) GetContainedWithin() []*ContainedWithin { + if m != nil { + return m.ContainedWithin + } + return nil +} + +func (m *Place) GetCountry() string { + if m != nil { + return m.Country + } + return "" +} + +func (m *Place) GetCountryCode() string { + if m != nil { + return m.CountryCode + } + return "" +} + +func (m *Place) GetFullName() string { + if m != nil { + return m.FullName + } + return "" +} + +func (m *Place) GetGeometry() *BoundingBox { + if m != nil { + return m.Geometry + } + return nil +} + +func (m *Place) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Place) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Place) GetPlaceType() string { + if m != nil { + return m.PlaceType + } + return "" +} + +func (m *Place) GetPolylines() []string { + if m != nil { + return m.Polylines + } + return nil +} + +func (m *Place) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +type Tweet struct { + Contributors []*Contributor `protobuf:"bytes,1,rep,name=contributors,proto3" json:"contributors,omitempty"` + Coordinates *Coordinates `protobuf:"bytes,2,opt,name=coordinates,proto3" json:"coordinates,omitempty"` + CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Entities *Entities `protobuf:"bytes,4,opt,name=entities,proto3" json:"entities,omitempty"` + ExtendedEntities *Entities `protobuf:"bytes,5,opt,name=extended_entities,json=extendedEntities,proto3" json:"extended_entities,omitempty"` + FavoriteCount int64 `protobuf:"varint,6,opt,name=favorite_count,json=favoriteCount,proto3" json:"favorite_count,omitempty"` + Favorited bool `protobuf:"varint,7,opt,name=favorited,proto3" json:"favorited,omitempty"` + FilterLevel string `protobuf:"bytes,8,opt,name=filter_level,json=filterLevel,proto3" json:"filter_level,omitempty"` + Id int64 `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"` + IdStr string `protobuf:"bytes,10,opt,name=id_str,json=idStr,proto3" json:"id_str,omitempty"` + InReplyToScreenName string `protobuf:"bytes,11,opt,name=in_reply_to_screen_name,json=inReplyToScreenName,proto3" json:"in_reply_to_screen_name,omitempty"` + InReplyToStatusId int64 `protobuf:"varint,12,opt,name=in_reply_to_status_id,json=inReplyToStatusId,proto3" json:"in_reply_to_status_id,omitempty"` + InReplyToStatusIdStr string `protobuf:"bytes,13,opt,name=in_reply_to_status_id_str,json=inReplyToStatusIdStr,proto3" json:"in_reply_to_status_id_str,omitempty"` + InReplyToUserId int64 `protobuf:"varint,14,opt,name=in_reply_to_user_id,json=inReplyToUserId,proto3" json:"in_reply_to_user_id,omitempty"` + InReplyToUserIdStr string `protobuf:"bytes,15,opt,name=in_reply_to_user_id_str,json=inReplyToUserIdStr,proto3" json:"in_reply_to_user_id_str,omitempty"` + Lang string `protobuf:"bytes,16,opt,name=lang,proto3" json:"lang,omitempty"` + Place *Place `protobuf:"bytes,17,opt,name=place,proto3" json:"place,omitempty"` + PossiblySensitive bool `protobuf:"varint,18,opt,name=possibly_sensitive,json=possiblySensitive,proto3" json:"possibly_sensitive,omitempty"` + RetweetCount int64 `protobuf:"varint,19,opt,name=retweet_count,json=retweetCount,proto3" json:"retweet_count,omitempty"` + Retweeted bool `protobuf:"varint,20,opt,name=retweeted,proto3" json:"retweeted,omitempty"` + RetweetedStatus *Tweet `protobuf:"bytes,21,opt,name=retweeted_status,json=retweetedStatus,proto3" json:"retweeted_status,omitempty"` + Source string `protobuf:"bytes,22,opt,name=source,proto3" json:"source,omitempty"` + Scopes map[string]string `protobuf:"bytes,23,rep,name=scopes,proto3" json:"scopes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Text string `protobuf:"bytes,24,opt,name=text,proto3" json:"text,omitempty"` + Truncated bool `protobuf:"varint,25,opt,name=truncated,proto3" json:"truncated,omitempty"` + User *User `protobuf:"bytes,26,opt,name=user,proto3" json:"user,omitempty"` + WithheldCopyright bool `protobuf:"varint,27,opt,name=withheld_copyright,json=withheldCopyright,proto3" json:"withheld_copyright,omitempty"` + WithheldInCountries []string `protobuf:"bytes,28,rep,name=withheld_in_countries,json=withheldInCountries,proto3" json:"withheld_in_countries,omitempty"` + WithheldScope string `protobuf:"bytes,29,opt,name=withheld_scope,json=withheldScope,proto3" json:"withheld_scope,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tweet) Reset() { *m = Tweet{} } +func (m *Tweet) String() string { return proto.CompactTextString(m) } +func (*Tweet) ProtoMessage() {} +func (*Tweet) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{15} +} + +func (m *Tweet) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Tweet.Unmarshal(m, b) +} +func (m *Tweet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Tweet.Marshal(b, m, deterministic) +} +func (m *Tweet) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tweet.Merge(m, src) +} +func (m *Tweet) XXX_Size() int { + return xxx_messageInfo_Tweet.Size(m) +} +func (m *Tweet) XXX_DiscardUnknown() { + xxx_messageInfo_Tweet.DiscardUnknown(m) +} + +var xxx_messageInfo_Tweet proto.InternalMessageInfo + +func (m *Tweet) GetContributors() []*Contributor { + if m != nil { + return m.Contributors + } + return nil +} + +func (m *Tweet) GetCoordinates() *Coordinates { + if m != nil { + return m.Coordinates + } + return nil +} + +func (m *Tweet) GetCreatedAt() string { + if m != nil { + return m.CreatedAt + } + return "" +} + +func (m *Tweet) GetEntities() *Entities { + if m != nil { + return m.Entities + } + return nil +} + +func (m *Tweet) GetExtendedEntities() *Entities { + if m != nil { + return m.ExtendedEntities + } + return nil +} + +func (m *Tweet) GetFavoriteCount() int64 { + if m != nil { + return m.FavoriteCount + } + return 0 +} + +func (m *Tweet) GetFavorited() bool { + if m != nil { + return m.Favorited + } + return false +} + +func (m *Tweet) GetFilterLevel() string { + if m != nil { + return m.FilterLevel + } + return "" +} + +func (m *Tweet) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *Tweet) GetIdStr() string { + if m != nil { + return m.IdStr + } + return "" +} + +func (m *Tweet) GetInReplyToScreenName() string { + if m != nil { + return m.InReplyToScreenName + } + return "" +} + +func (m *Tweet) GetInReplyToStatusId() int64 { + if m != nil { + return m.InReplyToStatusId + } + return 0 +} + +func (m *Tweet) GetInReplyToStatusIdStr() string { + if m != nil { + return m.InReplyToStatusIdStr + } + return "" +} + +func (m *Tweet) GetInReplyToUserId() int64 { + if m != nil { + return m.InReplyToUserId + } + return 0 +} + +func (m *Tweet) GetInReplyToUserIdStr() string { + if m != nil { + return m.InReplyToUserIdStr + } + return "" +} + +func (m *Tweet) GetLang() string { + if m != nil { + return m.Lang + } + return "" +} + +func (m *Tweet) GetPlace() *Place { + if m != nil { + return m.Place + } + return nil +} + +func (m *Tweet) GetPossiblySensitive() bool { + if m != nil { + return m.PossiblySensitive + } + return false +} + +func (m *Tweet) GetRetweetCount() int64 { + if m != nil { + return m.RetweetCount + } + return 0 +} + +func (m *Tweet) GetRetweeted() bool { + if m != nil { + return m.Retweeted + } + return false +} + +func (m *Tweet) GetRetweetedStatus() *Tweet { + if m != nil { + return m.RetweetedStatus + } + return nil +} + +func (m *Tweet) GetSource() string { + if m != nil { + return m.Source + } + return "" +} + +func (m *Tweet) GetScopes() map[string]string { + if m != nil { + return m.Scopes + } + return nil +} + +func (m *Tweet) GetText() string { + if m != nil { + return m.Text + } + return "" +} + +func (m *Tweet) GetTruncated() bool { + if m != nil { + return m.Truncated + } + return false +} + +func (m *Tweet) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *Tweet) GetWithheldCopyright() bool { + if m != nil { + return m.WithheldCopyright + } + return false +} + +func (m *Tweet) GetWithheldInCountries() []string { + if m != nil { + return m.WithheldInCountries + } + return nil +} + +func (m *Tweet) GetWithheldScope() string { + if m != nil { + return m.WithheldScope + } + return "" +} + +type User struct { + ContributorsEnabled bool `protobuf:"varint,1,opt,name=contributors_enabled,json=contributorsEnabled,proto3" json:"contributors_enabled,omitempty"` + CreatedAt string `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + DefaultProfile bool `protobuf:"varint,3,opt,name=default_profile,json=defaultProfile,proto3" json:"default_profile,omitempty"` + DefaultProfileImage bool `protobuf:"varint,4,opt,name=default_profile_image,json=defaultProfileImage,proto3" json:"default_profile_image,omitempty"` + Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` + Entities *Entities `protobuf:"bytes,6,opt,name=entities,proto3" json:"entities,omitempty"` + FavouritesCount int64 `protobuf:"varint,7,opt,name=favourites_count,json=favouritesCount,proto3" json:"favourites_count,omitempty"` + FollowRequestSent bool `protobuf:"varint,8,opt,name=follow_request_sent,json=followRequestSent,proto3" json:"follow_request_sent,omitempty"` + FollowersCount int64 `protobuf:"varint,9,opt,name=followers_count,json=followersCount,proto3" json:"followers_count,omitempty"` + Following bool `protobuf:"varint,10,opt,name=following,proto3" json:"following,omitempty"` + FriendsCount int64 `protobuf:"varint,11,opt,name=friends_count,json=friendsCount,proto3" json:"friends_count,omitempty"` + GeoEnabled bool `protobuf:"varint,12,opt,name=geo_enabled,json=geoEnabled,proto3" json:"geo_enabled,omitempty"` + Id int64 `protobuf:"varint,13,opt,name=id,proto3" json:"id,omitempty"` + IdStr string `protobuf:"bytes,14,opt,name=id_str,json=idStr,proto3" json:"id_str,omitempty"` + IsTranslator bool `protobuf:"varint,15,opt,name=is_translator,json=isTranslator,proto3" json:"is_translator,omitempty"` + Lang string `protobuf:"bytes,16,opt,name=lang,proto3" json:"lang,omitempty"` + ListedCount int64 `protobuf:"varint,17,opt,name=listed_count,json=listedCount,proto3" json:"listed_count,omitempty"` + Location string `protobuf:"bytes,18,opt,name=location,proto3" json:"location,omitempty"` + Name string `protobuf:"bytes,19,opt,name=name,proto3" json:"name,omitempty"` + Notifications bool `protobuf:"varint,20,opt,name=notifications,proto3" json:"notifications,omitempty"` + ProfileBackgroundColor string `protobuf:"bytes,21,opt,name=profile_background_color,json=profileBackgroundColor,proto3" json:"profile_background_color,omitempty"` + ProfileBackgroundImageUrl string `protobuf:"bytes,22,opt,name=profile_background_image_url,json=profileBackgroundImageUrl,proto3" json:"profile_background_image_url,omitempty"` + ProfileBackgroundImageUrlHttps string `protobuf:"bytes,23,opt,name=profile_background_image_url_https,json=profileBackgroundImageUrlHttps,proto3" json:"profile_background_image_url_https,omitempty"` + ProfileBackgroundTile bool `protobuf:"varint,24,opt,name=profile_background_tile,json=profileBackgroundTile,proto3" json:"profile_background_tile,omitempty"` + ProfileBannerUrl string `protobuf:"bytes,25,opt,name=profile_banner_url,json=profileBannerUrl,proto3" json:"profile_banner_url,omitempty"` + ProfileImageUrl string `protobuf:"bytes,26,opt,name=profile_image_url,json=profileImageUrl,proto3" json:"profile_image_url,omitempty"` + ProfileImageUrlHttps string `protobuf:"bytes,27,opt,name=profile_image_url_https,json=profileImageUrlHttps,proto3" json:"profile_image_url_https,omitempty"` + ProfileLinkColor string `protobuf:"bytes,28,opt,name=profile_link_color,json=profileLinkColor,proto3" json:"profile_link_color,omitempty"` + ProfileSidebarBorderColor string `protobuf:"bytes,29,opt,name=profile_sidebar_border_color,json=profileSidebarBorderColor,proto3" json:"profile_sidebar_border_color,omitempty"` + ProfileSidebarFillColor string `protobuf:"bytes,30,opt,name=profile_sidebar_fill_color,json=profileSidebarFillColor,proto3" json:"profile_sidebar_fill_color,omitempty"` + ProfileTextColor string `protobuf:"bytes,31,opt,name=profile_text_color,json=profileTextColor,proto3" json:"profile_text_color,omitempty"` + ProfileUseBackgroundImage bool `protobuf:"varint,32,opt,name=profile_use_background_image,json=profileUseBackgroundImage,proto3" json:"profile_use_background_image,omitempty"` + Protected bool `protobuf:"varint,33,opt,name=protected,proto3" json:"protected,omitempty"` + ScreenName string `protobuf:"bytes,34,opt,name=screen_name,json=screenName,proto3" json:"screen_name,omitempty"` + ShowAllInlineMedia bool `protobuf:"varint,35,opt,name=show_all_inline_media,json=showAllInlineMedia,proto3" json:"show_all_inline_media,omitempty"` + Status *Tweet `protobuf:"bytes,36,opt,name=status,proto3" json:"status,omitempty"` + StatusesCount int64 `protobuf:"varint,37,opt,name=statuses_count,json=statusesCount,proto3" json:"statuses_count,omitempty"` + TimeZone string `protobuf:"bytes,38,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` + Url string `protobuf:"bytes,39,opt,name=url,proto3" json:"url,omitempty"` + UtcOffset int64 `protobuf:"varint,40,opt,name=utc_offset,json=utcOffset,proto3" json:"utc_offset,omitempty"` + Verified bool `protobuf:"varint,41,opt,name=verified,proto3" json:"verified,omitempty"` + WithheldInCountries []string `protobuf:"bytes,42,rep,name=withheld_in_countries,json=withheldInCountries,proto3" json:"withheld_in_countries,omitempty"` + WithheldScope string `protobuf:"bytes,43,opt,name=withheld_scope,json=withheldScope,proto3" json:"withheld_scope,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *User) Reset() { *m = User{} } +func (m *User) String() string { return proto.CompactTextString(m) } +func (*User) ProtoMessage() {} +func (*User) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{16} +} + +func (m *User) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_User.Unmarshal(m, b) +} +func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_User.Marshal(b, m, deterministic) +} +func (m *User) XXX_Merge(src proto.Message) { + xxx_messageInfo_User.Merge(m, src) +} +func (m *User) XXX_Size() int { + return xxx_messageInfo_User.Size(m) +} +func (m *User) XXX_DiscardUnknown() { + xxx_messageInfo_User.DiscardUnknown(m) +} + +var xxx_messageInfo_User proto.InternalMessageInfo + +func (m *User) GetContributorsEnabled() bool { + if m != nil { + return m.ContributorsEnabled + } + return false +} + +func (m *User) GetCreatedAt() string { + if m != nil { + return m.CreatedAt + } + return "" +} + +func (m *User) GetDefaultProfile() bool { + if m != nil { + return m.DefaultProfile + } + return false +} + +func (m *User) GetDefaultProfileImage() bool { + if m != nil { + return m.DefaultProfileImage + } + return false +} + +func (m *User) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *User) GetEntities() *Entities { + if m != nil { + return m.Entities + } + return nil +} + +func (m *User) GetFavouritesCount() int64 { + if m != nil { + return m.FavouritesCount + } + return 0 +} + +func (m *User) GetFollowRequestSent() bool { + if m != nil { + return m.FollowRequestSent + } + return false +} + +func (m *User) GetFollowersCount() int64 { + if m != nil { + return m.FollowersCount + } + return 0 +} + +func (m *User) GetFollowing() bool { + if m != nil { + return m.Following + } + return false +} + +func (m *User) GetFriendsCount() int64 { + if m != nil { + return m.FriendsCount + } + return 0 +} + +func (m *User) GetGeoEnabled() bool { + if m != nil { + return m.GeoEnabled + } + return false +} + +func (m *User) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *User) GetIdStr() string { + if m != nil { + return m.IdStr + } + return "" +} + +func (m *User) GetIsTranslator() bool { + if m != nil { + return m.IsTranslator + } + return false +} + +func (m *User) GetLang() string { + if m != nil { + return m.Lang + } + return "" +} + +func (m *User) GetListedCount() int64 { + if m != nil { + return m.ListedCount + } + return 0 +} + +func (m *User) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + +func (m *User) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *User) GetNotifications() bool { + if m != nil { + return m.Notifications + } + return false +} + +func (m *User) GetProfileBackgroundColor() string { + if m != nil { + return m.ProfileBackgroundColor + } + return "" +} + +func (m *User) GetProfileBackgroundImageUrl() string { + if m != nil { + return m.ProfileBackgroundImageUrl + } + return "" +} + +func (m *User) GetProfileBackgroundImageUrlHttps() string { + if m != nil { + return m.ProfileBackgroundImageUrlHttps + } + return "" +} + +func (m *User) GetProfileBackgroundTile() bool { + if m != nil { + return m.ProfileBackgroundTile + } + return false +} + +func (m *User) GetProfileBannerUrl() string { + if m != nil { + return m.ProfileBannerUrl + } + return "" +} + +func (m *User) GetProfileImageUrl() string { + if m != nil { + return m.ProfileImageUrl + } + return "" +} + +func (m *User) GetProfileImageUrlHttps() string { + if m != nil { + return m.ProfileImageUrlHttps + } + return "" +} + +func (m *User) GetProfileLinkColor() string { + if m != nil { + return m.ProfileLinkColor + } + return "" +} + +func (m *User) GetProfileSidebarBorderColor() string { + if m != nil { + return m.ProfileSidebarBorderColor + } + return "" +} + +func (m *User) GetProfileSidebarFillColor() string { + if m != nil { + return m.ProfileSidebarFillColor + } + return "" +} + +func (m *User) GetProfileTextColor() string { + if m != nil { + return m.ProfileTextColor + } + return "" +} + +func (m *User) GetProfileUseBackgroundImage() bool { + if m != nil { + return m.ProfileUseBackgroundImage + } + return false +} + +func (m *User) GetProtected() bool { + if m != nil { + return m.Protected + } + return false +} + +func (m *User) GetScreenName() string { + if m != nil { + return m.ScreenName + } + return "" +} + +func (m *User) GetShowAllInlineMedia() bool { + if m != nil { + return m.ShowAllInlineMedia + } + return false +} + +func (m *User) GetStatus() *Tweet { + if m != nil { + return m.Status + } + return nil +} + +func (m *User) GetStatusesCount() int64 { + if m != nil { + return m.StatusesCount + } + return 0 +} + +func (m *User) GetTimeZone() string { + if m != nil { + return m.TimeZone + } + return "" +} + +func (m *User) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *User) GetUtcOffset() int64 { + if m != nil { + return m.UtcOffset + } + return 0 +} + +func (m *User) GetVerified() bool { + if m != nil { + return m.Verified + } + return false +} + +func (m *User) GetWithheldInCountries() []string { + if m != nil { + return m.WithheldInCountries + } + return nil +} + +func (m *User) GetWithheldScope() string { + if m != nil { + return m.WithheldScope + } + return "" +} + +type TweetRequest struct { + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + InReplyToStatusId uint64 `protobuf:"varint,2,opt,name=in_reply_to_status_id,json=inReplyToStatusId,proto3" json:"in_reply_to_status_id,omitempty"` + PossiblySensitive bool `protobuf:"varint,3,opt,name=possibly_sensitive,json=possiblySensitive,proto3" json:"possibly_sensitive,omitempty"` + LatLng *Point `protobuf:"bytes,4,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"` + PlaceId string `protobuf:"bytes,5,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"` + DisplayCoordinates bool `protobuf:"varint,6,opt,name=display_coordinates,json=displayCoordinates,proto3" json:"display_coordinates,omitempty"` + TrimUser bool `protobuf:"varint,7,opt,name=trim_user,json=trimUser,proto3" json:"trim_user,omitempty"` + MediaIds []uint64 `protobuf:"varint,8,rep,packed,name=media_ids,json=mediaIds,proto3" json:"media_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TweetRequest) Reset() { *m = TweetRequest{} } +func (m *TweetRequest) String() string { return proto.CompactTextString(m) } +func (*TweetRequest) ProtoMessage() {} +func (*TweetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{17} +} + +func (m *TweetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TweetRequest.Unmarshal(m, b) +} +func (m *TweetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TweetRequest.Marshal(b, m, deterministic) +} +func (m *TweetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TweetRequest.Merge(m, src) +} +func (m *TweetRequest) XXX_Size() int { + return xxx_messageInfo_TweetRequest.Size(m) +} +func (m *TweetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TweetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TweetRequest proto.InternalMessageInfo + +func (m *TweetRequest) GetStatus() string { + if m != nil { + return m.Status + } + return "" +} + +func (m *TweetRequest) GetInReplyToStatusId() uint64 { + if m != nil { + return m.InReplyToStatusId + } + return 0 +} + +func (m *TweetRequest) GetPossiblySensitive() bool { + if m != nil { + return m.PossiblySensitive + } + return false +} + +func (m *TweetRequest) GetLatLng() *Point { + if m != nil { + return m.LatLng + } + return nil +} + +func (m *TweetRequest) GetPlaceId() string { + if m != nil { + return m.PlaceId + } + return "" +} + +func (m *TweetRequest) GetDisplayCoordinates() bool { + if m != nil { + return m.DisplayCoordinates + } + return false +} + +func (m *TweetRequest) GetTrimUser() bool { + if m != nil { + return m.TrimUser + } + return false +} + +func (m *TweetRequest) GetMediaIds() []uint64 { + if m != nil { + return m.MediaIds + } + return nil +} + +type TweetResponse struct { + Contributors []*Contributor `protobuf:"bytes,1,rep,name=contributors,proto3" json:"contributors,omitempty"` + Coordinates *Coordinates `protobuf:"bytes,2,opt,name=coordinates,proto3" json:"coordinates,omitempty"` + CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + Entities *Entities `protobuf:"bytes,4,opt,name=entities,proto3" json:"entities,omitempty"` + ExtendedEntities *Entities `protobuf:"bytes,5,opt,name=extended_entities,json=extendedEntities,proto3" json:"extended_entities,omitempty"` + FavoriteCount int64 `protobuf:"varint,6,opt,name=favorite_count,json=favoriteCount,proto3" json:"favorite_count,omitempty"` + Favorited bool `protobuf:"varint,7,opt,name=favorited,proto3" json:"favorited,omitempty"` + FilterLevel string `protobuf:"bytes,8,opt,name=filter_level,json=filterLevel,proto3" json:"filter_level,omitempty"` + Id int64 `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"` + IdStr string `protobuf:"bytes,10,opt,name=id_str,json=idStr,proto3" json:"id_str,omitempty"` + InReplyToScreenName string `protobuf:"bytes,11,opt,name=in_reply_to_screen_name,json=inReplyToScreenName,proto3" json:"in_reply_to_screen_name,omitempty"` + InReplyToStatusId int64 `protobuf:"varint,12,opt,name=in_reply_to_status_id,json=inReplyToStatusId,proto3" json:"in_reply_to_status_id,omitempty"` + InReplyToStatusIdStr string `protobuf:"bytes,13,opt,name=in_reply_to_status_id_str,json=inReplyToStatusIdStr,proto3" json:"in_reply_to_status_id_str,omitempty"` + InReplyToUserId int64 `protobuf:"varint,14,opt,name=in_reply_to_user_id,json=inReplyToUserId,proto3" json:"in_reply_to_user_id,omitempty"` + InReplyToUserIdStr string `protobuf:"bytes,15,opt,name=in_reply_to_user_id_str,json=inReplyToUserIdStr,proto3" json:"in_reply_to_user_id_str,omitempty"` + Lang string `protobuf:"bytes,16,opt,name=lang,proto3" json:"lang,omitempty"` + Place *Place `protobuf:"bytes,17,opt,name=place,proto3" json:"place,omitempty"` + PossiblySensitive bool `protobuf:"varint,18,opt,name=possibly_sensitive,json=possiblySensitive,proto3" json:"possibly_sensitive,omitempty"` + RetweetCount int64 `protobuf:"varint,19,opt,name=retweet_count,json=retweetCount,proto3" json:"retweet_count,omitempty"` + Retweeted bool `protobuf:"varint,20,opt,name=retweeted,proto3" json:"retweeted,omitempty"` + RetweetedStatus *Tweet `protobuf:"bytes,21,opt,name=retweeted_status,json=retweetedStatus,proto3" json:"retweeted_status,omitempty"` + Source string `protobuf:"bytes,22,opt,name=source,proto3" json:"source,omitempty"` + Scopes map[string]string `protobuf:"bytes,23,rep,name=scopes,proto3" json:"scopes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Text string `protobuf:"bytes,24,opt,name=text,proto3" json:"text,omitempty"` + Truncated bool `protobuf:"varint,25,opt,name=truncated,proto3" json:"truncated,omitempty"` + User *User `protobuf:"bytes,26,opt,name=user,proto3" json:"user,omitempty"` + WithheldCopyright bool `protobuf:"varint,27,opt,name=withheld_copyright,json=withheldCopyright,proto3" json:"withheld_copyright,omitempty"` + WithheldInCountries []string `protobuf:"bytes,28,rep,name=withheld_in_countries,json=withheldInCountries,proto3" json:"withheld_in_countries,omitempty"` + WithheldScope string `protobuf:"bytes,29,opt,name=withheld_scope,json=withheldScope,proto3" json:"withheld_scope,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TweetResponse) Reset() { *m = TweetResponse{} } +func (m *TweetResponse) String() string { return proto.CompactTextString(m) } +func (*TweetResponse) ProtoMessage() {} +func (*TweetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f4bb3ad4b1d45de3, []int{18} +} + +func (m *TweetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TweetResponse.Unmarshal(m, b) +} +func (m *TweetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TweetResponse.Marshal(b, m, deterministic) +} +func (m *TweetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_TweetResponse.Merge(m, src) +} +func (m *TweetResponse) XXX_Size() int { + return xxx_messageInfo_TweetResponse.Size(m) +} +func (m *TweetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_TweetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_TweetResponse proto.InternalMessageInfo + +func (m *TweetResponse) GetContributors() []*Contributor { + if m != nil { + return m.Contributors + } + return nil +} + +func (m *TweetResponse) GetCoordinates() *Coordinates { + if m != nil { + return m.Coordinates + } + return nil +} + +func (m *TweetResponse) GetCreatedAt() string { + if m != nil { + return m.CreatedAt + } + return "" +} + +func (m *TweetResponse) GetEntities() *Entities { + if m != nil { + return m.Entities + } + return nil +} + +func (m *TweetResponse) GetExtendedEntities() *Entities { + if m != nil { + return m.ExtendedEntities + } + return nil +} + +func (m *TweetResponse) GetFavoriteCount() int64 { + if m != nil { + return m.FavoriteCount + } + return 0 +} + +func (m *TweetResponse) GetFavorited() bool { + if m != nil { + return m.Favorited + } + return false +} + +func (m *TweetResponse) GetFilterLevel() string { + if m != nil { + return m.FilterLevel + } + return "" +} + +func (m *TweetResponse) GetId() int64 { + if m != nil { + return m.Id + } + return 0 +} + +func (m *TweetResponse) GetIdStr() string { + if m != nil { + return m.IdStr + } + return "" +} + +func (m *TweetResponse) GetInReplyToScreenName() string { + if m != nil { + return m.InReplyToScreenName + } + return "" +} + +func (m *TweetResponse) GetInReplyToStatusId() int64 { + if m != nil { + return m.InReplyToStatusId + } + return 0 +} + +func (m *TweetResponse) GetInReplyToStatusIdStr() string { + if m != nil { + return m.InReplyToStatusIdStr + } + return "" +} + +func (m *TweetResponse) GetInReplyToUserId() int64 { + if m != nil { + return m.InReplyToUserId + } + return 0 +} + +func (m *TweetResponse) GetInReplyToUserIdStr() string { + if m != nil { + return m.InReplyToUserIdStr + } + return "" +} + +func (m *TweetResponse) GetLang() string { + if m != nil { + return m.Lang + } + return "" +} + +func (m *TweetResponse) GetPlace() *Place { + if m != nil { + return m.Place + } + return nil +} + +func (m *TweetResponse) GetPossiblySensitive() bool { + if m != nil { + return m.PossiblySensitive + } + return false +} + +func (m *TweetResponse) GetRetweetCount() int64 { + if m != nil { + return m.RetweetCount + } + return 0 +} + +func (m *TweetResponse) GetRetweeted() bool { + if m != nil { + return m.Retweeted + } + return false +} + +func (m *TweetResponse) GetRetweetedStatus() *Tweet { + if m != nil { + return m.RetweetedStatus + } + return nil +} + +func (m *TweetResponse) GetSource() string { + if m != nil { + return m.Source + } + return "" +} + +func (m *TweetResponse) GetScopes() map[string]string { + if m != nil { + return m.Scopes + } + return nil +} + +func (m *TweetResponse) GetText() string { + if m != nil { + return m.Text + } + return "" +} + +func (m *TweetResponse) GetTruncated() bool { + if m != nil { + return m.Truncated + } + return false +} + +func (m *TweetResponse) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *TweetResponse) GetWithheldCopyright() bool { + if m != nil { + return m.WithheldCopyright + } + return false +} + +func (m *TweetResponse) GetWithheldInCountries() []string { + if m != nil { + return m.WithheldInCountries + } + return nil +} + +func (m *TweetResponse) GetWithheldScope() string { + if m != nil { + return m.WithheldScope + } + return "" +} + +func init() { + proto.RegisterType((*Point)(nil), "twitter.Point") + proto.RegisterType((*Contributor)(nil), "twitter.Contributor") + proto.RegisterType((*Coordinates)(nil), "twitter.Coordinates") + proto.RegisterType((*Hashtag)(nil), "twitter.Hashtag") + proto.RegisterType((*Url)(nil), "twitter.Url") + proto.RegisterType((*Mention)(nil), "twitter.Mention") + proto.RegisterType((*MediaSize)(nil), "twitter.MediaSize") + proto.RegisterType((*Sizes)(nil), "twitter.Sizes") + proto.RegisterType((*Variant)(nil), "twitter.Variant") + proto.RegisterType((*VideoInfo)(nil), "twitter.VideoInfo") + proto.RegisterType((*Media)(nil), "twitter.Media") + proto.RegisterType((*Entities)(nil), "twitter.Entities") + proto.RegisterType((*BoundingBox)(nil), "twitter.BoundingBox") + proto.RegisterType((*ContainedWithin)(nil), "twitter.ContainedWithin") + proto.RegisterMapType((map[string]string)(nil), "twitter.ContainedWithin.AttributesEntry") + proto.RegisterType((*Place)(nil), "twitter.Place") + proto.RegisterMapType((map[string]string)(nil), "twitter.Place.AttributesEntry") + proto.RegisterType((*Tweet)(nil), "twitter.Tweet") + proto.RegisterMapType((map[string]string)(nil), "twitter.Tweet.ScopesEntry") + proto.RegisterType((*User)(nil), "twitter.User") + proto.RegisterType((*TweetRequest)(nil), "twitter.TweetRequest") + proto.RegisterType((*TweetResponse)(nil), "twitter.TweetResponse") + proto.RegisterMapType((map[string]string)(nil), "twitter.TweetResponse.ScopesEntry") +} + +func init() { proto.RegisterFile("proto/twitter.proto", fileDescriptor_f4bb3ad4b1d45de3) } + +var fileDescriptor_f4bb3ad4b1d45de3 = []byte{ + // 2307 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x5b, 0x6f, 0x1b, 0xb9, + 0x15, 0xae, 0x2c, 0xcb, 0x92, 0x8e, 0x24, 0x5f, 0x68, 0x3b, 0x9e, 0x38, 0x37, 0x47, 0xc9, 0x26, + 0xde, 0x6c, 0x36, 0xbb, 0xf1, 0xb6, 0x9b, 0xec, 0x2e, 0xba, 0x41, 0x62, 0xa4, 0x88, 0x8b, 0xa4, + 0x0d, 0xc6, 0xf6, 0xb6, 0xdd, 0x97, 0xc1, 0x68, 0x86, 0x92, 0x89, 0x50, 0xa4, 0x4a, 0x52, 0xbe, + 0xe4, 0xa5, 0x40, 0x8b, 0xfe, 0x9a, 0x3e, 0xf5, 0xa5, 0x7f, 0xa5, 0x3f, 0xa1, 0x3f, 0xa1, 0x7d, + 0x2c, 0x78, 0xc8, 0x19, 0x8d, 0xc6, 0x72, 0xd2, 0x00, 0x2d, 0xd0, 0x87, 0xbc, 0x89, 0xe7, 0x46, + 0xf2, 0x5c, 0xbe, 0x73, 0x38, 0x82, 0xd5, 0x91, 0x92, 0x46, 0x7e, 0x61, 0x4e, 0x98, 0x31, 0x54, + 0x3d, 0xc0, 0x15, 0xa9, 0xfb, 0x65, 0xf7, 0x33, 0xa8, 0xbd, 0x96, 0x4c, 0x18, 0xb2, 0x0c, 0x55, + 0x1e, 0x9b, 0xa0, 0xb2, 0x55, 0xd9, 0xae, 0x84, 0xf6, 0x27, 0x52, 0xc4, 0x20, 0x98, 0xf3, 0x14, + 0x31, 0xe8, 0x1e, 0x42, 0x6b, 0x57, 0x0a, 0xa3, 0x58, 0x6f, 0x6c, 0xa4, 0x22, 0x8b, 0x30, 0xc7, + 0x52, 0xd4, 0xa8, 0x86, 0x73, 0x2c, 0x25, 0xeb, 0xb0, 0xc0, 0xd2, 0x48, 0x1b, 0x85, 0x3a, 0xcd, + 0xb0, 0xc6, 0xd2, 0x7d, 0xa3, 0xc8, 0x0d, 0x68, 0xe9, 0x44, 0x51, 0x2a, 0x22, 0x11, 0x0f, 0x69, + 0x50, 0x45, 0x1e, 0x38, 0xd2, 0xaf, 0xe2, 0x21, 0xed, 0xee, 0x5a, 0xb3, 0x52, 0xa5, 0x4c, 0xc4, + 0x86, 0x6a, 0xb2, 0x05, 0xad, 0x64, 0xb2, 0x0c, 0x2a, 0x5b, 0xd5, 0xed, 0x4a, 0x58, 0x24, 0x11, + 0x02, 0xf3, 0xe6, 0x6c, 0x44, 0xfd, 0x36, 0xf8, 0xbb, 0xfb, 0x08, 0xea, 0x2f, 0x62, 0x7d, 0x64, + 0xe2, 0x01, 0x09, 0xa0, 0xce, 0x44, 0xca, 0x12, 0xaf, 0x5c, 0x0d, 0xb3, 0x25, 0x2a, 0xd2, 0x53, + 0x93, 0x2b, 0xd2, 0x53, 0xd3, 0x1d, 0x43, 0xf5, 0x50, 0xf1, 0x77, 0x28, 0x2d, 0x43, 0x75, 0xac, + 0xb8, 0xd7, 0xb1, 0x3f, 0xed, 0x8d, 0x52, 0xa6, 0x47, 0x3c, 0x3e, 0x8b, 0x2c, 0xc7, 0xdf, 0xc8, + 0x93, 0xac, 0xb1, 0x9b, 0xd0, 0xa6, 0xa7, 0xa3, 0x58, 0xa4, 0x34, 0x45, 0x89, 0x79, 0x94, 0x68, + 0x65, 0xb4, 0x43, 0xc5, 0xbb, 0x7f, 0x80, 0xfa, 0x2b, 0x2a, 0x0c, 0x93, 0xc2, 0x9e, 0x0a, 0x3d, + 0x53, 0x71, 0xa7, 0xb2, 0xbf, 0x8b, 0xc7, 0x99, 0x9b, 0x3e, 0xce, 0xfb, 0xdc, 0xe9, 0xc3, 0x32, + 0x3f, 0x23, 0x2c, 0xb5, 0x42, 0x58, 0xba, 0x4f, 0xa0, 0xf9, 0x8a, 0xa6, 0x2c, 0xde, 0x67, 0x6f, + 0x29, 0x69, 0x43, 0xe5, 0xc4, 0x47, 0xb2, 0x72, 0x62, 0x57, 0x47, 0x78, 0xdf, 0x6a, 0x58, 0x39, + 0x22, 0x97, 0x60, 0x41, 0x51, 0xcd, 0xde, 0x66, 0x7b, 0xf9, 0x55, 0xf7, 0xaf, 0x15, 0xa8, 0x59, + 0x65, 0x4d, 0xee, 0xc1, 0xc2, 0x90, 0xa6, 0x6c, 0x3c, 0x44, 0x13, 0xad, 0x1d, 0xf2, 0x20, 0xcb, + 0xb6, 0x7c, 0x87, 0xd0, 0x4b, 0x90, 0x6d, 0xa8, 0x99, 0xa3, 0xf1, 0xb0, 0x87, 0xf6, 0x67, 0x8b, + 0x3a, 0x01, 0x2b, 0xa9, 0x87, 0x31, 0x77, 0xfe, 0xbd, 0x40, 0x12, 0x05, 0xac, 0x24, 0x8f, 0xd5, + 0x80, 0xe2, 0xa5, 0x2f, 0x90, 0x44, 0x81, 0xee, 0x6f, 0xa1, 0xfe, 0x43, 0xac, 0x58, 0x2c, 0x8c, + 0xf5, 0x70, 0x8f, 0x19, 0x15, 0x1b, 0xea, 0x2f, 0x9e, 0x2d, 0x6d, 0xf4, 0x12, 0x29, 0x0c, 0x15, + 0x26, 0x2a, 0xa4, 0x59, 0xcb, 0xd3, 0x0e, 0xce, 0x46, 0x34, 0xcb, 0x89, 0x6a, 0x9e, 0x13, 0xdd, + 0x3f, 0x57, 0xa0, 0xf9, 0x03, 0x4b, 0xa9, 0xdc, 0x13, 0x7d, 0x69, 0x4d, 0xc4, 0x7a, 0x44, 0x13, + 0x13, 0xa9, 0xd8, 0x30, 0xe9, 0x53, 0xaa, 0xe5, 0x68, 0xa1, 0x25, 0x91, 0xbb, 0xb0, 0x94, 0x8e, + 0x91, 0x2b, 0xa2, 0x21, 0xe3, 0x9c, 0x69, 0xef, 0xf2, 0xc5, 0x8c, 0xfc, 0x0a, 0xa9, 0xe4, 0x3e, + 0x34, 0x8e, 0xdd, 0x99, 0x75, 0x50, 0xdd, 0xaa, 0x6e, 0xb7, 0x76, 0x96, 0xf3, 0x0b, 0xfa, 0xcb, + 0x84, 0xb9, 0x44, 0xf7, 0x2f, 0x55, 0xa8, 0xe1, 0xb5, 0xff, 0xd3, 0xf2, 0xbc, 0x02, 0x4d, 0x1b, + 0x9a, 0xb8, 0x90, 0xca, 0x0d, 0x24, 0xd8, 0x44, 0xbe, 0x03, 0x4b, 0x39, 0x33, 0x3a, 0x32, 0x66, + 0xa4, 0x7d, 0x2e, 0x77, 0x32, 0x91, 0x17, 0x96, 0x98, 0xf9, 0xa3, 0x76, 0x61, 0x8d, 0x2c, 0xbc, + 0xb7, 0x46, 0xea, 0xe7, 0x6a, 0x84, 0xdc, 0x86, 0x9a, 0xcd, 0x34, 0x1d, 0x34, 0x30, 0xae, 0x8b, + 0xf9, 0xb5, 0x31, 0xed, 0x42, 0xc7, 0x24, 0xdb, 0xb0, 0xac, 0xe5, 0x58, 0x25, 0x34, 0xd2, 0x26, + 0x36, 0x63, 0x1d, 0xb1, 0x34, 0x68, 0x3a, 0x4f, 0x3a, 0xfa, 0x3e, 0x92, 0xf7, 0x52, 0xf2, 0x05, + 0xac, 0x95, 0x25, 0xd1, 0x1f, 0x80, 0x5b, 0xaf, 0x4c, 0x4b, 0x5b, 0xdf, 0x64, 0x40, 0xd3, 0x9a, + 0x00, 0x4d, 0xb1, 0x32, 0xdb, 0xd3, 0x95, 0xf9, 0x10, 0xe0, 0xd8, 0x66, 0x40, 0xc4, 0x44, 0x5f, + 0x06, 0x9d, 0x52, 0x2e, 0xe6, 0xc9, 0x11, 0x36, 0x8f, 0xb3, 0x9f, 0xdd, 0xbf, 0x57, 0xa0, 0xf1, + 0x5c, 0x18, 0x66, 0x18, 0xc5, 0x40, 0x1f, 0x39, 0x08, 0x73, 0x18, 0x54, 0x0c, 0xb4, 0xc7, 0xb6, + 0x30, 0x97, 0x20, 0x5b, 0x30, 0x3f, 0x56, 0xdc, 0xc1, 0x43, 0x6b, 0xa7, 0x9d, 0x4b, 0x1e, 0x2a, + 0x1e, 0x22, 0x87, 0x5c, 0x9f, 0x24, 0x69, 0x59, 0x00, 0x43, 0xf4, 0x33, 0xe8, 0x8c, 0x35, 0x55, + 0xd1, 0xd0, 0xe1, 0x90, 0x0d, 0xed, 0xf4, 0xa6, 0x1e, 0xa0, 0xc2, 0xb6, 0x15, 0xf3, 0x0b, 0x6d, + 0xa3, 0x82, 0xc1, 0x0f, 0x6a, 0x28, 0xbe, 0x38, 0x5d, 0x6d, 0xa1, 0x63, 0x76, 0x7f, 0x07, 0xad, + 0x67, 0x72, 0x2c, 0x52, 0x26, 0x06, 0xcf, 0xe4, 0x29, 0xf9, 0xfa, 0x3c, 0xa8, 0xb7, 0x76, 0xd6, + 0x72, 0xd5, 0x02, 0xfe, 0xbf, 0x1f, 0xea, 0xff, 0x58, 0x85, 0x25, 0xdb, 0x87, 0x62, 0x26, 0x68, + 0xfa, 0x1b, 0x66, 0x8e, 0x98, 0x20, 0x2f, 0x00, 0x62, 0xe3, 0x3a, 0x53, 0x6e, 0x7e, 0xbb, 0x60, + 0x7e, 0x4a, 0xfa, 0xc1, 0xd3, 0x5c, 0xf4, 0xb9, 0x30, 0xea, 0x2c, 0x2c, 0xe8, 0x92, 0x47, 0xd0, + 0xee, 0xf9, 0x83, 0x47, 0x3d, 0x79, 0xea, 0x71, 0x6a, 0x72, 0xd4, 0xc2, 0xad, 0xc2, 0x56, 0xaf, + 0x70, 0xc5, 0x00, 0xea, 0x89, 0x1c, 0x5b, 0x7b, 0xbe, 0x8c, 0xb2, 0xa5, 0x03, 0x14, 0xfc, 0x19, + 0x25, 0x32, 0xa5, 0x59, 0x3b, 0xf0, 0xb4, 0x5d, 0x99, 0x52, 0x5b, 0x85, 0xfd, 0x31, 0xe7, 0x0e, + 0xd3, 0x5d, 0x19, 0x35, 0x2c, 0xa1, 0x80, 0xe8, 0xae, 0x84, 0x6c, 0x25, 0x67, 0x0d, 0xa3, 0x5e, + 0x68, 0x18, 0xd7, 0x00, 0x46, 0x3c, 0x4e, 0xa8, 0x83, 0xac, 0x06, 0x72, 0x9a, 0x48, 0x29, 0x02, + 0x56, 0x33, 0x2f, 0xd0, 0xcd, 0x9f, 0xc3, 0x52, 0xc9, 0x0d, 0x56, 0xe8, 0x0d, 0x3d, 0xf3, 0x7d, + 0xc8, 0xfe, 0x24, 0x6b, 0x50, 0x3b, 0x8e, 0xf9, 0x38, 0xf3, 0xbf, 0x5b, 0x7c, 0x3b, 0xf7, 0xb8, + 0xd2, 0xfd, 0xd3, 0x3c, 0xd4, 0x5e, 0x5b, 0xf3, 0xe4, 0xfb, 0x19, 0xae, 0xbf, 0x9e, 0xbb, 0x0b, + 0x65, 0xfe, 0x37, 0x0e, 0xdf, 0x85, 0xe5, 0x24, 0x0b, 0x6c, 0x74, 0x82, 0x91, 0xf5, 0x00, 0x19, + 0x5c, 0x14, 0xf9, 0x70, 0x29, 0x29, 0x25, 0x4e, 0x21, 0x6a, 0xf3, 0xef, 0x8e, 0x5a, 0xed, 0x3d, + 0x51, 0x5b, 0x28, 0x45, 0xed, 0x4b, 0x68, 0x0c, 0xa8, 0x1c, 0x52, 0x6b, 0xba, 0xfe, 0x8e, 0x3b, + 0xe5, 0x52, 0x3e, 0xce, 0x8d, 0x73, 0x71, 0x6e, 0x5e, 0x18, 0x67, 0x28, 0xc7, 0xf9, 0x2a, 0x34, + 0x47, 0x92, 0x9f, 0x71, 0x26, 0xa8, 0x0e, 0x5a, 0x5b, 0x55, 0xe4, 0x66, 0x84, 0x2c, 0x0b, 0xda, + 0xff, 0xb5, 0x2c, 0xf8, 0x47, 0x13, 0x6a, 0x07, 0x27, 0x94, 0x1a, 0xf2, 0xd8, 0x35, 0x4d, 0x3f, + 0x1b, 0xce, 0xaa, 0xf0, 0x9c, 0x19, 0x4e, 0x49, 0x96, 0xa1, 0xa1, 0x1c, 0xfe, 0x0b, 0xa1, 0xe1, + 0x1a, 0x40, 0xa2, 0x68, 0x6c, 0x68, 0x1a, 0xc5, 0xc6, 0x97, 0x5c, 0xd3, 0x53, 0x9e, 0x1a, 0xf2, + 0x39, 0x34, 0xa8, 0x47, 0x56, 0x3f, 0x17, 0xac, 0xe4, 0x36, 0x33, 0xc8, 0x0d, 0x73, 0x11, 0xf2, + 0x3d, 0xac, 0xd0, 0x53, 0x43, 0xb1, 0x1d, 0xe5, 0x7a, 0xb5, 0x8b, 0xf4, 0x96, 0x33, 0xd9, 0x1c, + 0xbc, 0x3f, 0x81, 0xc5, 0x7e, 0x7c, 0x2c, 0x15, 0x33, 0x34, 0xc2, 0x14, 0xc1, 0x7c, 0xa8, 0x86, + 0x9d, 0x8c, 0xba, 0x6b, 0x89, 0x36, 0x3e, 0x19, 0x21, 0xc5, 0xac, 0x68, 0x84, 0x13, 0x82, 0x4d, + 0xb9, 0x3e, 0xe3, 0x86, 0xaa, 0x88, 0xd3, 0x63, 0xca, 0x7d, 0x2a, 0xb4, 0x1c, 0xed, 0xa5, 0x25, + 0xf9, 0x1c, 0x69, 0xce, 0xe8, 0xea, 0x50, 0xec, 0xea, 0x3f, 0x85, 0x0d, 0x26, 0x22, 0x45, 0x47, + 0xfc, 0x2c, 0x32, 0x32, 0x2a, 0x4e, 0x8c, 0xae, 0x99, 0xad, 0x32, 0x11, 0x5a, 0xee, 0x81, 0xdc, + 0x9f, 0x8c, 0x8e, 0x5f, 0xc2, 0xfa, 0x94, 0x56, 0xde, 0x4f, 0xdb, 0xb8, 0xdf, 0xca, 0x44, 0x27, + 0x6b, 0xa9, 0x8f, 0xe0, 0xf2, 0x4c, 0x0d, 0x3c, 0x51, 0x07, 0x77, 0x5a, 0x3b, 0xa7, 0x65, 0x0f, + 0x78, 0x1f, 0x56, 0x8b, 0x8a, 0xd8, 0x88, 0x58, 0x1a, 0x2c, 0xe2, 0x46, 0x4b, 0xb9, 0xca, 0xa1, + 0xa6, 0x6a, 0x2f, 0x25, 0x5f, 0x4d, 0x5f, 0xc7, 0x4b, 0xe3, 0x26, 0x4b, 0xb8, 0x09, 0x29, 0x69, + 0xf8, 0xee, 0xcd, 0x63, 0x31, 0x08, 0x96, 0x5d, 0xf9, 0xd8, 0xdf, 0xb6, 0x79, 0x61, 0xb1, 0x04, + 0x2b, 0xa5, 0x91, 0x02, 0x71, 0x2a, 0x74, 0x4c, 0xf2, 0x39, 0x90, 0x91, 0xd4, 0x9a, 0xf5, 0xf8, + 0x59, 0xa4, 0xa9, 0xd0, 0xcc, 0xb0, 0x63, 0x1a, 0x10, 0x0c, 0xd7, 0x4a, 0xc6, 0xd9, 0xcf, 0x18, + 0xe4, 0x16, 0x74, 0x14, 0x35, 0xb6, 0x0c, 0x7c, 0xe8, 0x57, 0xf1, 0x16, 0x6d, 0x4f, 0xcc, 0x23, + 0xef, 0xd7, 0x34, 0x0d, 0xd6, 0x5c, 0xe4, 0x73, 0x02, 0xf9, 0x06, 0x96, 0xf3, 0x85, 0xf7, 0x62, + 0xb0, 0x5e, 0x3a, 0x22, 0x16, 0x5a, 0xb8, 0x94, 0xcb, 0x39, 0x77, 0xda, 0xf9, 0xdc, 0x4d, 0x2e, + 0xc1, 0x25, 0x37, 0x9f, 0xbb, 0x15, 0xd9, 0x81, 0x05, 0x9d, 0xc8, 0x11, 0xd5, 0xc1, 0x06, 0xd6, + 0xe2, 0xe6, 0xb4, 0xa1, 0x07, 0xfb, 0xc8, 0x74, 0x78, 0xec, 0x25, 0xf3, 0x07, 0x52, 0x30, 0x79, + 0x20, 0xd9, 0x83, 0x1b, 0x35, 0x16, 0x89, 0xad, 0xab, 0xe0, 0xb2, 0x3b, 0x78, 0x4e, 0x20, 0x37, + 0x61, 0xde, 0x46, 0x23, 0xd8, 0xc4, 0xc3, 0x76, 0x26, 0x53, 0x86, 0xa6, 0x2a, 0x44, 0x96, 0xf5, + 0xa6, 0x45, 0xe7, 0x23, 0xca, 0xd3, 0x28, 0x91, 0xa3, 0x33, 0xc5, 0x06, 0x47, 0x26, 0xb8, 0xe2, + 0xbc, 0x99, 0x71, 0x76, 0x33, 0x06, 0xd9, 0x81, 0xf5, 0x5c, 0x9c, 0x09, 0xe7, 0x51, 0x65, 0xab, + 0xf1, 0x2a, 0xc2, 0xd9, 0x6a, 0xc6, 0xdc, 0x13, 0xbb, 0x19, 0xcb, 0x56, 0x5f, 0xae, 0x83, 0x57, + 0x09, 0xae, 0xb9, 0x31, 0x35, 0xa3, 0xe2, 0x65, 0x37, 0xbf, 0x81, 0x56, 0xe1, 0xd6, 0x1f, 0x84, + 0x74, 0xff, 0xea, 0xc0, 0xbc, 0xbd, 0x13, 0x79, 0x08, 0x6b, 0x45, 0xf8, 0x8a, 0xa8, 0x88, 0x7b, + 0x9c, 0xba, 0x41, 0xbb, 0x11, 0xae, 0x16, 0x79, 0xcf, 0x1d, 0xab, 0x84, 0x54, 0x73, 0x65, 0xa4, + 0xb2, 0x2f, 0x01, 0xda, 0x8f, 0xc7, 0xdc, 0x44, 0x23, 0x25, 0xfb, 0x8c, 0xbb, 0x97, 0x56, 0x23, + 0x5c, 0xf4, 0xe4, 0xd7, 0x8e, 0x6a, 0x3d, 0x53, 0x12, 0x8c, 0xd8, 0x30, 0xf6, 0xef, 0x9e, 0x46, + 0xb8, 0x3a, 0x2d, 0xbe, 0x67, 0x59, 0xf6, 0x35, 0x9d, 0x52, 0x9d, 0x28, 0x36, 0xb2, 0xd3, 0x5b, + 0xd6, 0xc4, 0x0a, 0xa4, 0x29, 0xa0, 0x5c, 0x78, 0x3f, 0x50, 0x7e, 0x0a, 0xcb, 0x16, 0xb0, 0xc6, + 0x16, 0xb1, 0xb4, 0xcf, 0xf7, 0xba, 0xab, 0xda, 0x09, 0xdd, 0xa5, 0xfc, 0x03, 0x58, 0xed, 0x4b, + 0xce, 0xe5, 0x49, 0xa4, 0xe8, 0xef, 0xc7, 0x54, 0x1b, 0x5b, 0x4c, 0x06, 0x51, 0xad, 0x11, 0xae, + 0x38, 0x56, 0xe8, 0x38, 0xfb, 0x54, 0xa0, 0x23, 0x1c, 0x91, 0xaa, 0xcc, 0xb2, 0x1f, 0xe4, 0x73, + 0xf2, 0x04, 0x45, 0x91, 0xc2, 0xc4, 0x00, 0x71, 0xcf, 0xa2, 0x68, 0x46, 0xb0, 0xe5, 0xd8, 0x57, + 0x8c, 0x8a, 0x34, 0x33, 0xd2, 0x72, 0xe5, 0xe8, 0x89, 0xce, 0xc4, 0x0d, 0x68, 0x0d, 0xa8, 0xcc, + 0xa3, 0xd7, 0x46, 0x23, 0x30, 0xa0, 0x32, 0x0b, 0x9a, 0x03, 0xda, 0xce, 0x0c, 0xa0, 0x5d, 0x2c, + 0x02, 0xed, 0x2d, 0xe8, 0x30, 0x1d, 0x19, 0x15, 0x0b, 0xcd, 0x63, 0x23, 0x1d, 0x1e, 0x35, 0xc2, + 0x36, 0xd3, 0x07, 0x39, 0x6d, 0x26, 0x12, 0xdd, 0x84, 0x36, 0x67, 0xda, 0xe6, 0x84, 0x3b, 0xe4, + 0x0a, 0xee, 0xd4, 0x72, 0x34, 0x77, 0xc6, 0x4d, 0x68, 0x70, 0x99, 0xe0, 0x5b, 0x10, 0xc1, 0xa7, + 0x19, 0xe6, 0xeb, 0x7c, 0x36, 0x58, 0x2d, 0xcc, 0x06, 0xb7, 0xa1, 0x23, 0xa4, 0x61, 0x7d, 0xe6, + 0x64, 0xb4, 0x87, 0x99, 0x69, 0x22, 0x79, 0x0c, 0x41, 0x96, 0x3d, 0xbd, 0x38, 0x79, 0x33, 0x50, + 0x76, 0x16, 0x89, 0x12, 0xc9, 0xa5, 0x42, 0xc8, 0x69, 0x86, 0x97, 0x3c, 0xff, 0x59, 0xce, 0xde, + 0xb5, 0x5c, 0xf2, 0x04, 0xae, 0xce, 0xd0, 0xc4, 0x14, 0xc4, 0x27, 0x9c, 0xc3, 0x9f, 0xcb, 0xe7, + 0xb4, 0x31, 0x13, 0xed, 0x83, 0xee, 0x97, 0xd0, 0x7d, 0x97, 0x01, 0xff, 0xc2, 0xdc, 0x40, 0x33, + 0xd7, 0x2f, 0x34, 0xe3, 0x9e, 0x9c, 0x5f, 0xc3, 0xc6, 0x0c, 0x5b, 0xc6, 0x56, 0x4f, 0x80, 0xd7, + 0x5e, 0x3f, 0x67, 0xe0, 0xc0, 0x16, 0xd1, 0x7d, 0x20, 0x13, 0x3d, 0x21, 0xa8, 0xc2, 0xa3, 0x5f, + 0xc6, 0x3d, 0x97, 0x73, 0x15, 0xcb, 0xb0, 0x27, 0xbe, 0x07, 0x2b, 0x53, 0xa5, 0x86, 0xc2, 0x9b, + 0x28, 0xbc, 0x34, 0x2a, 0xd4, 0xd9, 0x21, 0xbe, 0xa7, 0x36, 0xce, 0xc9, 0xfa, 0x2b, 0x5d, 0x71, + 0x9d, 0xb0, 0xa4, 0xe1, 0x2e, 0x52, 0x38, 0x10, 0x67, 0xe2, 0x8d, 0x8f, 0xc4, 0xd5, 0xa9, 0x03, + 0xbd, 0x64, 0xe2, 0xcd, 0xb9, 0x18, 0x68, 0x96, 0xd2, 0x5e, 0xac, 0xa2, 0x9e, 0x54, 0x29, 0x55, + 0x5e, 0xef, 0xda, 0x54, 0x0c, 0xf6, 0x9d, 0xc8, 0x33, 0x94, 0x70, 0x06, 0xbe, 0x83, 0xcd, 0xb2, + 0x81, 0x3e, 0xe3, 0xdc, 0xab, 0x5f, 0x47, 0xf5, 0x8d, 0x69, 0xf5, 0x5f, 0x30, 0xce, 0x9d, 0x72, + 0xe1, 0xac, 0xb6, 0x37, 0x78, 0xa5, 0x1b, 0x53, 0x67, 0x3d, 0xa0, 0xa7, 0xe6, 0xdc, 0x59, 0xc7, + 0xfa, 0x7c, 0xc8, 0x83, 0x2d, 0x8c, 0x53, 0x76, 0xd6, 0x43, 0x5d, 0x8e, 0x35, 0x4e, 0xb3, 0x4a, + 0x1a, 0x9a, 0xd8, 0xd6, 0x73, 0xd3, 0xd5, 0x79, 0x4e, 0x28, 0x7f, 0x09, 0xeb, 0x9e, 0xfb, 0x12, + 0xf6, 0x10, 0xd6, 0xf5, 0x91, 0x3c, 0x89, 0x62, 0xce, 0x23, 0x26, 0xec, 0x08, 0x1c, 0xb9, 0x97, + 0xeb, 0x2d, 0x34, 0x45, 0x2c, 0xf3, 0x29, 0xe7, 0x7b, 0xc8, 0x72, 0x1f, 0x4d, 0xee, 0xc0, 0x82, + 0xef, 0xbe, 0xb7, 0x67, 0x76, 0x5f, 0xcf, 0xb5, 0x0d, 0xc7, 0xfd, 0xca, 0x31, 0xf0, 0x13, 0x37, + 0xee, 0x65, 0x54, 0x57, 0xc1, 0x57, 0xa0, 0x69, 0xd8, 0x90, 0x46, 0x6f, 0xa5, 0xa0, 0xc1, 0x1d, + 0x57, 0xc2, 0x96, 0xf0, 0xa3, 0x14, 0xf9, 0x9b, 0xec, 0xee, 0xe4, 0xa3, 0xc9, 0x35, 0x80, 0xb1, + 0x49, 0x22, 0xd9, 0xef, 0x6b, 0x6a, 0x82, 0x6d, 0xb4, 0xd8, 0x1c, 0x9b, 0xe4, 0xd7, 0x48, 0xb0, + 0x78, 0x70, 0x4c, 0x15, 0xeb, 0x33, 0x9a, 0x06, 0x9f, 0xe2, 0x15, 0xf2, 0xf5, 0xc5, 0x5d, 0xf3, + 0xde, 0x87, 0x74, 0xcd, 0xcf, 0x66, 0x74, 0xcd, 0xee, 0xdf, 0xe6, 0xa0, 0xed, 0x6e, 0xef, 0xb0, + 0x1a, 0x27, 0x0e, 0xe7, 0xa4, 0x8a, 0x9f, 0x38, 0x9c, 0x53, 0x2e, 0x1c, 0x1f, 0x6d, 0xcb, 0x9b, + 0x9f, 0x35, 0x3e, 0xce, 0x1e, 0xb4, 0xaa, 0x17, 0x0d, 0x5a, 0x77, 0xa1, 0xce, 0x63, 0x13, 0x71, + 0x31, 0xf0, 0x23, 0x7d, 0x61, 0x7e, 0x93, 0x4c, 0x98, 0x70, 0x81, 0xc7, 0xe6, 0xa5, 0x18, 0x90, + 0xcb, 0xd0, 0x70, 0xaf, 0x24, 0x96, 0xfa, 0x96, 0x57, 0xc7, 0x35, 0x7e, 0x04, 0x5a, 0xcd, 0x3e, + 0x4c, 0x15, 0x9f, 0x1d, 0x0b, 0x2e, 0x25, 0x3c, 0xab, 0xf8, 0x3d, 0xda, 0xc6, 0x50, 0xb1, 0x21, + 0x0e, 0x9d, 0x7e, 0x64, 0x6f, 0x58, 0x02, 0x4e, 0x03, 0xf9, 0xd7, 0x33, 0x96, 0xea, 0xa0, 0xb1, + 0x55, 0xdd, 0x9e, 0xf7, 0x5f, 0xcf, 0xf6, 0x52, 0xdd, 0xfd, 0x67, 0x13, 0x3a, 0xde, 0x71, 0x7a, + 0x24, 0x85, 0xa6, 0x1f, 0x5f, 0x49, 0x1f, 0x5f, 0x49, 0x1f, 0x5f, 0x49, 0xff, 0x57, 0xaf, 0xa4, + 0x6f, 0x4b, 0xaf, 0xa4, 0x6e, 0xc9, 0x90, 0xaf, 0xdc, 0x8f, 0xaf, 0xa5, 0x0f, 0x79, 0x2d, 0xed, + 0x3c, 0x81, 0xea, 0xd3, 0x11, 0x23, 0x8f, 0xb3, 0xaf, 0x43, 0xeb, 0x65, 0xaf, 0x62, 0x23, 0xd9, + 0xbc, 0x34, 0xdb, 0xd9, 0xdd, 0x9f, 0x3c, 0x5b, 0xfa, 0xb1, 0x83, 0xff, 0x54, 0x7e, 0xe7, 0x05, + 0x7a, 0x0b, 0xb8, 0xfc, 0xea, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x2c, 0xa9, 0x75, 0xe4, 0xcf, + 0x1c, 0x00, 0x00, +} diff --git a/twitter/proto/twitter.pb.micro.go b/twitter/proto/twitter.pb.micro.go new file mode 100644 index 0000000..adcbecc --- /dev/null +++ b/twitter/proto/twitter.pb.micro.go @@ -0,0 +1,93 @@ +// Code generated by protoc-gen-micro. DO NOT EDIT. +// source: proto/twitter.proto + +package twitter + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) + +import ( + context "context" + api "github.com/micro/micro/v3/service/api" + client "github.com/micro/micro/v3/service/client" + server "github.com/micro/micro/v3/service/server" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// Reference imports to suppress errors if they are not otherwise used. +var _ api.Endpoint +var _ context.Context +var _ client.Option +var _ server.Option + +// Api Endpoints for Api service + +func NewApiEndpoints() []*api.Endpoint { + return []*api.Endpoint{} +} + +// Client API for Api service + +type ApiService interface { + Tweet(ctx context.Context, in *TweetRequest, opts ...client.CallOption) (*TweetResponse, error) +} + +type apiService struct { + c client.Client + name string +} + +func NewApiService(name string, c client.Client) ApiService { + return &apiService{ + c: c, + name: name, + } +} + +func (c *apiService) Tweet(ctx context.Context, in *TweetRequest, opts ...client.CallOption) (*TweetResponse, error) { + req := c.c.NewRequest(c.name, "Api.Tweet", in) + out := new(TweetResponse) + err := c.c.Call(ctx, req, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Server API for Api service + +type ApiHandler interface { + Tweet(context.Context, *TweetRequest, *TweetResponse) error +} + +func RegisterApiHandler(s server.Server, hdlr ApiHandler, opts ...server.HandlerOption) error { + type api interface { + Tweet(ctx context.Context, in *TweetRequest, out *TweetResponse) error + } + type Api struct { + api + } + h := &apiHandler{hdlr} + return s.Handle(s.NewHandler(&Api{h}, opts...)) +} + +type apiHandler struct { + ApiHandler +} + +func (h *apiHandler) Tweet(ctx context.Context, in *TweetRequest, out *TweetResponse) error { + return h.ApiHandler.Tweet(ctx, in, out) +} diff --git a/twitter/proto/twitter.proto b/twitter/proto/twitter.proto new file mode 100644 index 0000000..6d1689f --- /dev/null +++ b/twitter/proto/twitter.proto @@ -0,0 +1,247 @@ +syntax = "proto3"; + +package twitter; + +option go_package = "proto;twitter"; + +service Api { + rpc Tweet(TweetRequest) returns (TweetResponse) {} +} + +message Point { + double lat = 1; + double lng = 2; +} + +message Contributor { + int64 id = 1; + string id_str = 2; + string screen_name = 3; +} + +message Coordinates { + repeated double coordinates = 1; + string type = 2; +} + +message Hashtag { + repeated int64 indices = 1; + string text = 2; +} + +message Url { + repeated int64 indices = 1; + string url = 2; + string display_url = 3; + string expanded_url = 4; +} + +message Mention { + string name = 1; + repeated int64 indices = 2; + string screen_name = 3; + int64 id = 4; + string id_str = 5; +} + +message MediaSize { + int64 w = 1; + int64 h = 2; + string resize = 3; +} + +message Sizes { + MediaSize medium = 1; + MediaSize thumb = 2; + MediaSize small = 3; + MediaSize large = 4; +} + +message Variant { + int64 bitrate = 1; + string content_type = 2; + string url = 3; +} + +message VideoInfo { + repeated int64 aspect_ratio = 1; + int64 duration_millis = 2; + repeated Variant variants = 3; +} + +message Media { + int64 id = 1; + string id_str = 2; + string media_url = 3; + string media_url_https = 4; + string url = 5; + string display_url = 6; + string expanded_url = 7; + Sizes sizes = 8; + int64 source_status_id = 9; + string source_status_id_str = 10; + string type = 11; + repeated int64 indices = 12; + VideoInfo video_info = 13; +} + +message Entities { + repeated Hashtag hashtags = 1; + repeated Url urls = 2; + Url url = 3; + repeated Mention user_mentions = 4; + repeated Media media = 5; +} + +message BoundingBox { + repeated Coordinates coordinates = 1; + string type = 2; +} + +message ContainedWithin { + map attributes = 1; + BoundingBox bounding_box = 2; + string country = 3; + string country_code = 4; + string full_name = 5; + string id = 6; + string name = 7; + string place_type = 8; + string url = 9; +} + +message Place { + map attributes = 1; + BoundingBox bounding_box = 2; + repeated ContainedWithin contained_within = 3; + string country = 4; + string country_code = 5; + string full_name = 6; + BoundingBox geometry = 7; + string id = 8; + string name = 9; + string place_type = 10; + repeated string polylines = 11; + string url = 12; +} + +message Tweet { + repeated Contributor contributors = 1; + Coordinates coordinates = 2; + string created_at = 3; + Entities entities = 4; + Entities extended_entities = 5; + int64 favorite_count = 6; + bool favorited = 7; + string filter_level = 8; + int64 id = 9; + string id_str = 10; + string in_reply_to_screen_name = 11; + int64 in_reply_to_status_id = 12; + string in_reply_to_status_id_str = 13; + int64 in_reply_to_user_id = 14; + string in_reply_to_user_id_str = 15; + string lang = 16; + Place place = 17; + bool possibly_sensitive = 18; + int64 retweet_count = 19; + bool retweeted = 20; + Tweet retweeted_status = 21; + string source = 22; + map scopes = 23; + string text = 24; + bool truncated = 25; + User user = 26; + bool withheld_copyright = 27; + repeated string withheld_in_countries = 28; + string withheld_scope = 29; +} + +message User { + bool contributors_enabled = 1; + string created_at = 2; + bool default_profile = 3; + bool default_profile_image = 4; + string description = 5; + Entities entities = 6; + int64 favourites_count = 7; + bool follow_request_sent = 8; + int64 followers_count = 9; + bool following = 10; + int64 friends_count = 11; + bool geo_enabled = 12; + int64 id = 13; + string id_str = 14; + bool is_translator = 15; + string lang = 16; + int64 listed_count = 17; + string location = 18; + string name = 19; + bool notifications = 20; + string profile_background_color = 21; + string profile_background_image_url = 22; + string profile_background_image_url_https = 23; + bool profile_background_tile = 24; + string profile_banner_url = 25; + string profile_image_url = 26; + string profile_image_url_https = 27; + string profile_link_color = 28; + string profile_sidebar_border_color = 29; + string profile_sidebar_fill_color = 30; + string profile_text_color = 31; + bool profile_use_background_image = 32; + bool protected = 33; + string screen_name = 34; + bool show_all_inline_media = 35; + Tweet status = 36; + int64 statuses_count = 37; + string time_zone = 38; + string url = 39; + int64 utc_offset = 40; + bool verified = 41; + repeated string withheld_in_countries = 42; + string withheld_scope = 43; +} + +message TweetRequest { + string status = 1; + uint64 in_reply_to_status_id = 2; + bool possibly_sensitive = 3; + Point lat_lng = 4; + string place_id = 5; + bool display_coordinates = 6; + bool trim_user = 7; + repeated uint64 media_ids = 8; +} + +message TweetResponse { + repeated Contributor contributors = 1; + Coordinates coordinates = 2; + string created_at = 3; + Entities entities = 4; + Entities extended_entities = 5; + int64 favorite_count = 6; + bool favorited = 7; + string filter_level = 8; + int64 id = 9; + string id_str = 10; + string in_reply_to_screen_name = 11; + int64 in_reply_to_status_id = 12; + string in_reply_to_status_id_str = 13; + int64 in_reply_to_user_id = 14; + string in_reply_to_user_id_str = 15; + string lang = 16; + Place place = 17; + bool possibly_sensitive = 18; + int64 retweet_count = 19; + bool retweeted = 20; + Tweet retweeted_status = 21; + string source = 22; + map scopes = 23; + string text = 24; + bool truncated = 25; + User user = 26; + bool withheld_copyright = 27; + repeated string withheld_in_countries = 28; + string withheld_scope = 29; +}