From 6dae06b5999a59e998342912bab3a3049fc12e64 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Sat, 30 Nov 2019 18:52:15 +0100 Subject: [PATCH] feat: add generic API calls --- .gitignore | 1 + api/calcapi.proto | 146 +- cmd/calcbiz/main.go | 10 +- data/.gitkeep | 0 docker-compose.yml | 2 + gen.sum | 2 +- go.mod | 1 + go.sum | 93 + pkg/calcapi/api_calc.go | 230 + pkg/calcapi/api_dev.go | 89 + pkg/calcapi/calcapi.pb.go | 9505 ++++++++++++++++++++++------------ pkg/calcapi/calcapi.pb.gw.go | 657 +++ pkg/calcapi/db.go | 25 + pkg/calcapi/svc.go | 236 +- pkg/dashboard/dashboard.go | 2 +- 15 files changed, 7444 insertions(+), 3555 deletions(-) create mode 100644 data/.gitkeep create mode 100644 pkg/calcapi/api_calc.go create mode 100644 pkg/calcapi/api_dev.go create mode 100644 pkg/calcapi/db.go diff --git a/.gitignore b/.gitignore index 70842b8d..1a957985 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +data/db.sqlite coverage.txt static/img/cache diff --git a/api/calcapi.proto b/api/calcapi.proto index 46e673ff..f40626d4 100644 --- a/api/calcapi.proto +++ b/api/calcapi.proto @@ -33,7 +33,13 @@ service Service { rpc SoundcloudPlaylist(SoundcloudPlaylist.Input) returns (SoundcloudPlaylist.Output) { option (google.api.http) = {get: "/api/soundcloud/playlists/{playlist_id}"}; } rpc SoundcloudTracks(SoundcloudTracks.Input) returns (SoundcloudTracks.Output) { option (google.api.http) = {get: "/api/soundcloud/tracks"}; } rpc SoundcloudTrack(SoundcloudTrack.Input) returns (SoundcloudTrack.Output) { option (google.api.http) = {get: "/api/soundcloud/tracks/{track_id}"}; } - rpc Metrics(Metrics.Input) returns (Metrics.Output) {option (google.api.http) = {get: "/api/metrics"};} + rpc Metrics(Metrics.Input) returns (Metrics.Output) { option (google.api.http) = {get: "/api/metrics"};} + rpc CounterInc(CounterInc.Input) returns (CounterInc.Output) { option (google.api.http) = {get: "/api/counter-inc/{key}"}; }; + rpc NumberSetIfBigger(NumberSetIfBigger.Input) returns (NumberSetIfBigger.Output) { option (google.api.http) = {get: "/api/number-set-if-bigger/{key}/{value}"}; }; + rpc KeyValueStringSet(KeyValueStringSet.Input) returns (KeyValueStringSet.Output) { option (google.api.http) = { post: "/api/key-value-string-set/{key}"; body: "*" }; }; + rpc KeyValueStringGet(KeyValueStringGet.Input) returns (KeyValueStringGet.Output) { option (google.api.http) = { get: "/api/key-value-string-get/{key}"}; }; + rpc KeyValueFloatSet(KeyValueFloatSet.Input) returns (KeyValueFloatSet.Output) { option (google.api.http) = { post: "/api/key-value-float-set/{key}"; body: "*" }; }; + rpc KeyValueFloatGet(KeyValueFloatGet.Input) returns (KeyValueFloatGet.Output) { option (google.api.http) = { get: "/api/key-value-float-get/{key}"}; }; // SoundcloudAlbums // Airtable... @@ -44,68 +50,78 @@ service Service { // Genius... } +message CounterInc { + message Input { string key = 1; double gap = 2; } + message Output { double value = 2; } +} + +message NumberSetIfBigger { + message Input { string key = 1; double value = 2; } + message Output { double value = 2; } +} + +message KeyValueStringSet { + message Input { string key = 1; string value = 2; } + message Output {} +} + +message KeyValueStringGet { + message Input { string key = 1; } + message Output { string value = 2; } +} + +message KeyValueFloatSet { + message Input { string key = 1; double value = 2; } + message Output {} +} + +message KeyValueFloatGet { + message Input { string key = 1; } + message Output { double value = 2; } +} + message Dashboard { - message Input {} - message Output { - calcbiz.dashboard.Entries entries = 1; - } + message Input {} + message Output { calcbiz.dashboard.Entries entries = 1; } } message Hackz { - message Input {} - message Output { - calcbiz.dashboard.Entries entries = 1; - } + message Input {} + message Output { calcbiz.dashboard.Entries entries = 1; } } message Crew { - message Input {} - message Output { - calcbiz.crew.Crew crew = 1; - } + message Input {} + message Output { calcbiz.crew.Crew crew = 1; } } message SoundcloudMe { - message Input {} - message Output { - calcbiz.soundcloud.User me = 1; - } + message Input {} + message Output { calcbiz.soundcloud.User me = 1; } } message SoundcloudPlaylists { - message Input {} - message Output { - calcbiz.soundcloud.Playlists playlists = 1; - } + message Input {} + message Output { calcbiz.soundcloud.Playlists playlists = 1; } } message SoundcloudPlaylist { - message Input { - uint64 playlist_id = 1; - } - message Output { - calcbiz.soundcloud.Playlist playlist = 1; - } + message Input { uint64 playlist_id = 1; } + message Output { calcbiz.soundcloud.Playlist playlist = 1; } } message SoundcloudTracks { - message Input {} - message Output { - calcbiz.soundcloud.Tracks tracks = 1; - } + message Input {} + message Output { calcbiz.soundcloud.Tracks tracks = 1; } } message SoundcloudTrack { - message Input { - uint64 track_id = 1; - } - message Output { - calcbiz.soundcloud.Track track = 1; - } + message Input { uint64 track_id = 1; } + message Output { calcbiz.soundcloud.Track track = 1; } } message Metrics { - message Input {} + message Input {} message Output { int32 static_box_size = 1; string server_start_time = 2; @@ -116,72 +132,52 @@ message Metrics { } message Ping { - message Input {} - message Output { - string pong = 1; - } + message Input {} + message Output { string pong = 1; } } message Kryptos { - message Input { - string from = 1; - } - message Output { - string to = 1; - } + message Input { string from = 1; } + message Output { string to = 1; } } message TpyoEnocde { - message Ipunt { - string form = 1; - } - message Ouptut { - string to = 1; - } + message Ipunt { string form = 1; } + message Ouptut { string to = 1; } } message Numberinfo { - message Input { - float number = 1; - } - message Output { - map facts = 1; - } + message Input { float number = 1; } + message Output { map facts = 1; } } message Moijaime { - message Input {} - message Output { - repeated string kiffs = 1; - } + message Input {} + message Output { repeated string kiffs = 1; } } message Wotd { - message Input {} - message Output { - string word = 1; - } + message Input {} + message Output { string word = 1; } } message AlternateLogo { - message Input {} - message Output { - string path = 1; - } + message Input {} + message Output { string path = 1; } } message SpreadshirtRandom { - message Input {} + message Input {} message Output { /* TODO */ } } message SpreadshirtAll { - message Input {} + message Input {} message Output { /* TODO */ } } message Recettator { - message Input { + message Input { int64 seed = 1; uint64 main_ingredients = 2; uint64 secondary_ingredients = 3; diff --git a/cmd/calcbiz/main.go b/cmd/calcbiz/main.go index f4d73123..579fecff 100644 --- a/cmd/calcbiz/main.go +++ b/cmd/calcbiz/main.go @@ -18,6 +18,8 @@ import ( grpc_recovery "github.com/grpc-ecosystem/go-grpc-middleware/recovery" grpc_ctxtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/jinzhu/gorm" + _ "github.com/jinzhu/gorm/dialects/sqlite" // db driver "github.com/pkg/errors" minify "github.com/tdewolff/minify/v2" "github.com/tdewolff/minify/v2/html" @@ -141,7 +143,13 @@ func server(c *cli.Context) error { opts := serverOptionsFromCliContext(c) - svc, err := calcapi.New(opts.APIOptions) + db, err := gorm.Open("sqlite3", "./data/db.sqlite") + if err != nil { + return errors.Wrap(err, "init gorm") + } + defer db.Close() + + svc, err := calcapi.New(db, opts.APIOptions) if err != nil { return errors.Wrap(err, "failed to initialize service") } diff --git a/data/.gitkeep b/data/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/docker-compose.yml b/docker-compose.yml index 6436e9db..99e82637 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,8 @@ services: networks: - default - service-proxy + volumes: + - ./data:/data networks: service-proxy: diff --git a/gen.sum b/gen.sum index 599698a1..b0b068ce 100644 --- a/gen.sum +++ b/gen.sum @@ -1,5 +1,5 @@ +01de06cfe2c7566d9894afbf15ac8dd904623f90 ./api/calcapi.proto 431b63cd908588e398bbb94d1e642e585441099c ./api/dashboard.proto 5c613daf5318661d709f8766163ef986d885b72d Makefile a0415fc5002d339337b03fe97801376ff3be3bbd ./api/crew.proto -ee9a45d94f6e289cd401af8714514f678de7f314 ./api/calcapi.proto ffa8325482af5c58dd816e9404f0226db0a1d7de ./api/soundcloud.proto diff --git a/go.mod b/go.mod index abec03d4..4a6a62e2 100644 --- a/go.mod +++ b/go.mod @@ -20,6 +20,7 @@ require ( github.com/grpc-ecosystem/grpc-gateway v1.12.1 github.com/huandu/xstrings v1.2.1 // indirect github.com/imdario/mergo v0.3.8 // indirect + github.com/jinzhu/gorm v1.9.11 github.com/jtolds/gls v4.2.1+incompatible // indirect github.com/mitchellh/copystructure v1.0.0 // indirect github.com/mitchellh/reflectwalk v1.0.1 // indirect diff --git a/go.sum b/go.sum index e4cd60a0..a400fc63 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,7 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.37.4 h1:glPeL3BQJsbF6aIIYfZizMwc5LTYz250bDMjttbBGAU= +cloud.google.com/go v0.37.4/go.mod h1:NHPJ89PdicEuT9hdPXMROBD91xc5uRDxsMtSB16k7hw= github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/Masterminds/goutils v1.1.0 h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg= @@ -7,8 +10,14 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3Q github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= +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/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/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927/go.mod h1:h/aW8ynjgkuj+NQRlZcDbAbM1ORAbXjXX77sX7T289U= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= @@ -24,13 +33,25 @@ github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsr 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/denisenkom/go-mssqldb v0.0.0-20190515213511-eb9f6a1743f3 h1:tkum0XDgfR0jcVVXuTsYv/erY2NnEDqwRojbxR1rBYA= +github.com/denisenkom/go-mssqldb v0.0.0-20190515213511-eb9f6a1743f3/go.mod h1:zAg7JM8CkOJ43xKXIj7eRO9kmWm/TW578qo+oDO6tuM= github.com/disintegration/imaging v1.6.2 h1:w1LecBlG2Lnp8B3jk5zSuNqd7b4DXhcjwek1ei82L+c= github.com/disintegration/imaging v1.6.2/go.mod h1:44/5580QXChDfwIclfc/PCwrr44amcmDAg8hxG0Ewe4= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +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/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5 h1:Yzb9+7DPaBjB8zlTR87/ElzFsnQfuHnVUVqpZZIcV5Y= +github.com/erikstmartin/go-testdb v0.0.0-20160219214506-8d10e4a1bae5/go.mod h1:a2zkGnVExMxdzMo3M0Hi/3sEU+cWnZpSni0O6/Yb/P0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +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-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZpNwpA= +github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gobuffalo/envy v1.7.0/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI= github.com/gobuffalo/envy v1.8.1 h1:RUr68liRvs0TS1D5qdW3mQv2SjAsu1QWMCx1tG4kDjs= github.com/gobuffalo/envy v1.8.1/go.mod h1:FurDp9+EDPE4aIUS3ZLyD+7/9fpx7YRt/ukY6jIHf0w= @@ -42,6 +63,7 @@ github.com/gobuffalo/packr v1.30.1/go.mod h1:ljMyFO2EcrnzsHsN99cvbq055Y9OhRrIavi github.com/gobuffalo/packr/v2 v2.5.1/go.mod h1:8f9c96ITobJlPzI44jj+4tHnEKNt0xXWSVlXRN9X1Iw= github.com/gogo/gateway v1.1.0 h1:u0SuhL9+Il+UbjM9VIE3ntfRujKbvVpFvNB4HbjeVQ0= github.com/gogo/gateway v1.1.0/go.mod h1:S7rR8FRQyG3QFESeSv4l2WnsyzlCLG0CzBbUUo/mbic= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.0 h1:xU6/SpYbvkNYiptHJYEDRseDLvYE7wSqhYYNy0QSUzI= github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= @@ -50,18 +72,27 @@ github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP 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/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/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +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/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +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/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e h1:JKmoR8x90Iww1ks85zJ1lfDGgIiMDuIptTOhJq+zKyg= github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/handlers v1.4.2 h1:0QniY0USkHQ1RGCLfKxeNHK9bkDHGRYGNDFBCS+YARg= 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 h1:gnP5JzjVOuiZD07fKKToCAOjS0yOpj/qPETTXCCS6hw= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 h1:THDBEeQ9xZ8JEaCLyLQqXMMdRqNr0QAUJTIkQAUtFjg= @@ -69,16 +100,26 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.1.0/go.mod h1:f5nM7jw/oeRSadq3xC github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.12.1 h1:zCy2xE9ablevUOrUZc3Dl72Dt+ya2FNAvC2yLYMHzi4= github.com/grpc-ecosystem/grpc-gateway v1.12.1/go.mod h1:8XEsbTttt/W+VvjtQhLACqCisSPWTxCZ7sBRjU6iH9c= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.2.1 h1:v6IdmkCnDhJG/S0ivr58PeIfg+tyhqQYy4YsCsQ0Pdc= github.com/huandu/xstrings v1.2.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/imdario/mergo v0.3.8 h1:CGgOkSJeqMRmt0D9XLWExdT4m4F1vd3FV3VPt+0VxkQ= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/jinzhu/gorm v1.9.11 h1:gaHGvE+UnWGlbWG4Y3FUwY1EcZ5n6S9WtqBA/uySMLE= +github.com/jinzhu/gorm v1.9.11/go.mod h1:bu/pK8szGZ2puuErfU0RwyeNdsf3e6nCX/noXaVxkfw= +github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= +github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= +github.com/jinzhu/now v1.0.1 h1:HjfetcXq097iXP0uoPCdnM4Efp5/9MsM0/M+XOTeR3M= +github.com/jinzhu/now v1.0.1/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jtolds/gls v4.2.1+incompatible h1:fSuqC+Gmlu6l/ZYAoZzx2pyucC8Xza35fpRVWLVmUEE= github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/karrick/godirwalk v1.10.12/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= @@ -86,13 +127,19 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= 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 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/lib/pq v1.1.1 h1:sJZmqHoEaY7f+NPP8pgLB/WxulyR3fewgCM2qaSlBb4= +github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod h1:0KeJpeMD6o+O4hW7qJOT7vyQPKrWmj26uf5wMc/IiIs= +github.com/mattn/go-sqlite3 v1.11.0 h1:LDdKkqtYlom37fkvqs8rMPFKAMe8+SgjbwZ6ex1/A/Q= +github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/mitchellh/copystructure v1.0.0 h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= @@ -103,15 +150,30 @@ github.com/mitchellh/reflectwalk v1.0.1 h1:FVzMWA5RllMAKIdUSC8mdWo3XtwoecrH79BY7 github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/moul/numberinfo v0.0.0-20160903151149-753f372df509 h1:I9dq1rfaqOuM/cdoYtHeAK/nJxU2iRJAx9MPwHjoJic= github.com/moul/numberinfo v0.0.0-20160903151149-753f372df509/go.mod h1:9J61gswx3x7Sv1flRnwrSJv0jIksuHecefKXOnjMBpI= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +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/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= 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/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/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +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 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.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/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_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-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +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/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= @@ -127,6 +189,7 @@ github.com/shazow/memoizer v0.0.0-20130904030615-74fc48eaeadc h1:uSeTSeeORwncCP2 github.com/shazow/memoizer v0.0.0-20130904030615-74fc48eaeadc/go.mod h1:MSsSkysG88MjF7tQjinyfOtTjQojXMJF4Ts8MDbV7/o= 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.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= @@ -162,6 +225,7 @@ github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtX github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/yanatan16/golang-soundcloud v0.0.0-20161013200625-a182dd459b66 h1:Yb+kCRTXEQh5j5ifICcwCcpS399CvWLeo3vUj7g3k8c= github.com/yanatan16/golang-soundcloud v0.0.0-20161013200625-a182dd459b66/go.mod h1:O8c2uEu4wGmxSTy5w3LOeBAsHBYJS9X/YK6vjZiZc2g= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.5.1 h1:rsqfU5vBkVknbhUGbAUwQKR2H4ItV8tjJ+6kJX4cxHM= @@ -176,9 +240,11 @@ go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9E go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0 h1:nR6NoDBgAf67s68NhaXbsojM+2gxp3S1hWkHDl27pVU= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9 h1:mKdxBk7AujPs8kU4m80U72y/zjbZ3UcXC7dClwKbUI0= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191128160524-b544559bb6d1 h1:anGSYQpPhQwXlwsu5wmfq0nWkCNaMEMUwAv13Y92hd8= @@ -188,6 +254,7 @@ golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 h1:hVwzHzIUGRjiF7EcUjqNxk3 golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= 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-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -196,7 +263,11 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= 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-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-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= @@ -205,14 +276,21 @@ golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933 h1:e6HwijUxhDe+hPNjZQQn9bA5PW3vNmnN64U2ZW759Lk= golang.org/x/net v0.0.0-20191126235420-ef20fe5d7933/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f h1:Bl/8QSvNqXvPGPGXa2z5xUTmV7VDcZyvRZ+QQXkXTZQ= 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/sys v0.0.0-20180830151530-49385e6e1522/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-20181031143558-9b800f95dbbc/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-20181205085412-a5c9d58dba9a h1:1n5lsVfiQW3yfsRGu98756EH1YthsFqr/5mxHduZW2A= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -223,14 +301,18 @@ golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9 h1:ZBzSG/7F4eNKz2L3GE9o300RX golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= 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 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/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-20180828015842-6cd1fcedba52/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-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/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-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190624180213-70d37148ca0c/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= @@ -241,30 +323,41 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d h1:/iIZNFGxc/a7C3yWjGcnboV+Tkc7mxr+p6fDztwoxuM= golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= 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= +google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= google.golang.org/genproto v0.0.0-20191115221424-83cc0476cb11 h1:51D++eCgOHufw5VfDE9Uzqyyc+OyQIjb9hkYy9LN5Fk= google.golang.org/genproto v0.0.0-20191115221424-83cc0476cb11/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= google.golang.org/grpc v1.25.1 h1:wdKvqQk7IttEw92GoRyKG2IDrUIpgpj6H6m81yfeMW0= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +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 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= 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 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3 h1:fvjTMHxHEw/mxHbtzPi3JCcKXQRAnQTBRo6YCJSVHKI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 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-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= diff --git a/pkg/calcapi/api_calc.go b/pkg/calcapi/api_calc.go new file mode 100644 index 00000000..7b917796 --- /dev/null +++ b/pkg/calcapi/api_calc.go @@ -0,0 +1,230 @@ +package calcapi + +import ( + "context" + "fmt" + "math/rand" + "time" + + "github.com/gobuffalo/packd" + tpyo "github.com/tpyolang/tpyo-cli" + "go.uber.org/zap" + "ultre.me/calcbiz/pkg/crew" + "ultre.me/calcbiz/pkg/numberinfo" + "ultre.me/calcbiz/pkg/random" + "ultre.me/kryptos" + "ultre.me/recettator" +) + +func (svc *svc) Ping(_ context.Context, input *Ping_Input) (*Ping_Output, error) { + return &Ping_Output{Pong: "pong"}, nil +} + +func (svc *svc) KryptosEncrypt(_ context.Context, input *Kryptos_Input) (*Kryptos_Output, error) { + return &Kryptos_Output{To: kryptos.Encrypt(input.From)}, nil +} + +func (svc *svc) KryptosDecrypt(_ context.Context, input *Kryptos_Input) (*Kryptos_Output, error) { + return &Kryptos_Output{To: kryptos.Decrypt(input.From)}, nil +} + +func (svc *svc) TpyoEnocde(_ context.Context, input *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) { + enedocr := tpyo.NewTpyo() + return &TpyoEnocde_Ouptut{To: enedocr.Enocde(input.Form)}, nil +} + +func (svc *svc) Dashboard(_ context.Context, input *Dashboard_Input) (*Dashboard_Output, error) { + entries, err := svc.dashboard.Random() + if err != nil { + return nil, err + } + return &Dashboard_Output{Entries: entries}, nil +} + +func (svc *svc) Hackz(_ context.Context, input *Hackz_Input) (*Hackz_Output, error) { + entries, err := svc.dashboard.Hackz() + if err != nil { + return nil, err + } + return &Hackz_Output{Entries: entries}, nil +} + +func (svc *svc) Crew(_ context.Context, input *Crew_Input) (*Crew_Output, error) { + return &Crew_Output{Crew: &crew.CALC}, nil +} + +func (svc *svc) Numberinfo(_ context.Context, input *Numberinfo_Input) (*Numberinfo_Output, error) { + // FIXME: validate: input.Number is mandatory + facts := map[string]string{} + for k, v := range numberinfo.New(float64(input.Number)).All() { + facts[k] = fmt.Sprintf("%v", v) + } + return &Numberinfo_Output{Facts: facts}, nil +} + +func (svc *svc) Recettator(_ context.Context, input *Recettator_Input) (*Recettator_Output, error) { + if input.Seed == 0 { + input.Seed = int64(rand.Intn(1000)) + } + if input.Steps == 0 { + input.Steps = uint64(rand.Intn(4) + 3) + } + if input.MainIngredients == 0 { + input.MainIngredients = uint64(rand.Intn(2) + 1) + } + if input.SecondaryIngredients == 0 { + input.SecondaryIngredients = uint64(rand.Intn(2) + 1) + } + rctt := recettator.New(input.Seed) + rctt.SetSettings(recettator.Settings{ + MainIngredients: input.MainIngredients, + SecondaryIngredients: input.SecondaryIngredients, + Steps: input.Steps, + }) + + markdown, err := rctt.Markdown() + if err != nil { + zap.L().Warn("failed to marshal recettator in markdown", zap.Error(err)) + } + output := &Recettator_Output{ + Title: rctt.Title(), + People: rctt.People(), + Markdown: markdown, + Steps: rctt.Steps(), + Seed: input.Seed, + MainIngredients: []*Recettator_Ingredient{}, + SecondaryIngredients: []*Recettator_Ingredient{}, + } + for _, ingredient := range rctt.Pool().MainIngredients.Picked { + output.MainIngredients = append(output.MainIngredients, &Recettator_Ingredient{ + Name: ingredient.Name(), + // Quantity: ingredient.Quantity(), + NameAndQuantity: ingredient.NameAndQuantity(), + Kind: ingredient.Kind(), + Method: ingredient.GetMethod().NameAndQuantity(), + Gender: ingredient.GetGender(), + Multiple: ingredient.IsMultiple(), + }) + } + + // fmt.Println(rctt.JSON()) + + return output, nil +} + +func (svc *svc) Moijaime(_ context.Context, input *Moijaime_Input) (*Moijaime_Output, error) { + /* + r.Get("/moijaime", func(w http.ResponseWriter, r *http.Request) { + phrases := []string{} + for i := 0; i < 20; i++ { + phrases = append(phrases, moijaime.Generate()) + } + c.JSON(http.StatusOK, gin.H{ + "result": phrases, + }) + }) + */ + return nil, fmt.Errorf("not implemented") +} + +func (svc *svc) SpreadshirtRandom(_ context.Context, input *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) { + /* + r.Get("/spreadshirt/random", func(w http.ResponseWriter, r *http.Request) { + c.JSON(http.StatusOK, gin.H{ + "result": calcspreadshirt.GetRandomProduct(250, 250), + }) + }) + */ + return nil, fmt.Errorf("not implemented") +} + +func (svc *svc) SpreadshirtAll(_ context.Context, input *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) { + /* + r.Get("/spreadshirt/all", func(w http.ResponseWriter, r *http.Request) { + c.JSON(http.StatusOK, gin.H{ + "result": calcspreadshirt.GetAllProducts(250, 250), + }) + }) + */ + return nil, fmt.Errorf("not implemented") +} + +func (svc *svc) Wotd(_ context.Context, input *Wotd_Input) (*Wotd_Output, error) { + return &Wotd_Output{Word: random.WOTD()}, nil +} + +func (svc *svc) AlternateLogo(_ context.Context, input *AlternateLogo_Input) (*AlternateLogo_Output, error) { + return &AlternateLogo_Output{Path: random.AlternateLogo()}, nil +} + +func (svc *svc) SoundcloudMe(_ context.Context, input *SoundcloudMe_Input) (*SoundcloudMe_Output, error) { + me, err := svc.soundcloud.Me() + if err != nil { + return nil, err + } + return &SoundcloudMe_Output{Me: me}, nil +} + +func (svc *svc) SoundcloudPlaylists(_ context.Context, input *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) { + playlists, err := svc.soundcloud.GetPlaylists() + if err != nil { + return nil, err + } + return &SoundcloudPlaylists_Output{Playlists: playlists}, nil +} + +func (svc *svc) SoundcloudPlaylist(_ context.Context, input *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) { + if input.PlaylistId < 1 { // pick random + playlist, err := svc.soundcloud.GetRandomPlaylist() + if err != nil { + return nil, err + } + return &SoundcloudPlaylist_Output{Playlist: playlist}, nil + } + playlist, err := svc.soundcloud.GetPlaylist(input.PlaylistId) + if err != nil { + return nil, err + } + return &SoundcloudPlaylist_Output{Playlist: playlist}, nil +} + +func (svc *svc) SoundcloudTracks(_ context.Context, input *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) { + tracks, err := svc.soundcloud.GetTracks() + if err != nil { + return nil, err + } + return &SoundcloudTracks_Output{Tracks: tracks}, nil +} + +func (svc *svc) SoundcloudTrack(_ context.Context, input *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) { + if input.TrackId < 1 { // pick random + track, err := svc.soundcloud.GetRandomTrack() + if err != nil { + return nil, err + } + return &SoundcloudTrack_Output{Track: track}, nil + } + track, err := svc.soundcloud.GetTrack(input.TrackId) + if err != nil { + return nil, err + } + return &SoundcloudTrack_Output{Track: track}, nil +} + +func (svc *svc) Metrics(_ context.Context, input *Metrics_Input) (*Metrics_Output, error) { + staticBoxSize := 0 + err := svc.opts.StaticBox.Walk(func(filepath string, file packd.File) error { + staticBoxSize++ + return nil + }) + if err != nil { + return nil, err + } + out := &Metrics_Output{ + StaticBoxSize: int32(staticBoxSize), + ServerStartTime: svc.startTime.Format(time.RFC3339), + ServerCurrentTime: time.Now().Format(time.RFC3339), + ServerUptime: time.Since(svc.startTime).String(), + } + return out, nil +} diff --git a/pkg/calcapi/api_dev.go b/pkg/calcapi/api_dev.go new file mode 100644 index 00000000..2ef508ca --- /dev/null +++ b/pkg/calcapi/api_dev.go @@ -0,0 +1,89 @@ +package calcapi + +import ( + "context" + + "github.com/jinzhu/gorm" +) + +func (svc *svc) CounterInc(ctx context.Context, in *CounterInc_Input) (*CounterInc_Output, error) { + gap := in.Gap + if gap == 0 { + gap = 1 + } + + ret, err := svc.KeyValueFloatGet(ctx, &KeyValueFloatGet_Input{Key: in.Key}) + if err != nil { + return nil, err + } + + val := ret.Value + gap + + _, err = svc.KeyValueFloatSet(ctx, &KeyValueFloatSet_Input{Key: in.Key, Value: val}) + if err != nil { + return nil, err + } + + return &CounterInc_Output{Value: val}, nil +} + +func (svc *svc) KeyValueStringGet(_ context.Context, in *KeyValueStringGet_Input) (*KeyValueStringGet_Output, error) { + kv := DevKeyValueString{Key: in.Key} + err := svc.db.Where(kv).First(&kv).Error + if err != nil && gorm.IsRecordNotFoundError(err) { + return &KeyValueStringGet_Output{Value: ""}, nil + } + if err != nil { + return nil, err + } + + return &KeyValueStringGet_Output{Value: kv.Value}, nil +} + +func (svc *svc) KeyValueStringSet(ctx context.Context, in *KeyValueStringSet_Input) (*KeyValueStringSet_Output, error) { + kv := DevKeyValueString{Key: in.Key, Value: in.Value} + err := svc.db.Save(&kv).Error + if err != nil { + return nil, err + } + return &KeyValueStringSet_Output{}, nil +} + +func (svc *svc) NumberSetIfBigger(ctx context.Context, in *NumberSetIfBigger_Input) (*NumberSetIfBigger_Output, error) { + ret, err := svc.KeyValueFloatGet(ctx, &KeyValueFloatGet_Input{Key: in.Key}) + if err != nil { + return nil, err + } + val := ret.Value + if in.Value > val { + val = in.Value + _, err = svc.KeyValueFloatSet(ctx, &KeyValueFloatSet_Input{Key: in.Key, Value: val}) + if err != nil { + return nil, err + } + } + + return &NumberSetIfBigger_Output{Value: val}, nil +} + +func (svc *svc) KeyValueFloatGet(ctx context.Context, in *KeyValueFloatGet_Input) (*KeyValueFloatGet_Output, error) { + kv := DevKeyValueFloat{Key: in.Key} + err := svc.db.Where(kv).First(&kv).Error + if err != nil && gorm.IsRecordNotFoundError(err) { + return &KeyValueFloatGet_Output{Value: 0}, nil + } + if err != nil { + return nil, err + } + + return &KeyValueFloatGet_Output{Value: kv.Value}, nil +} + +func (svc *svc) KeyValueFloatSet(ctx context.Context, in *KeyValueFloatSet_Input) (*KeyValueFloatSet_Output, error) { + kv := DevKeyValueFloat{Key: in.Key, Value: in.Value} + err := svc.db.Save(&kv).Error + if err != nil { + return nil, err + } + return &KeyValueFloatSet_Output{}, nil +} diff --git a/pkg/calcapi/calcapi.pb.go b/pkg/calcapi/calcapi.pb.go index 94320fbc..9dbd9a27 100644 --- a/pkg/calcapi/calcapi.pb.go +++ b/pkg/calcapi/calcapi.pb.go @@ -33,21 +33,21 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -type Dashboard struct { +type CounterInc struct { } -func (m *Dashboard) Reset() { *m = Dashboard{} } -func (m *Dashboard) String() string { return proto.CompactTextString(m) } -func (*Dashboard) ProtoMessage() {} -func (*Dashboard) Descriptor() ([]byte, []int) { +func (m *CounterInc) Reset() { *m = CounterInc{} } +func (m *CounterInc) String() string { return proto.CompactTextString(m) } +func (*CounterInc) ProtoMessage() {} +func (*CounterInc) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{0} } -func (m *Dashboard) XXX_Unmarshal(b []byte) error { +func (m *CounterInc) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Dashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CounterInc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Dashboard.Marshal(b, m, deterministic) + return xxx_messageInfo_CounterInc.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -57,33 +57,35 @@ func (m *Dashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Dashboard) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dashboard.Merge(m, src) +func (m *CounterInc) XXX_Merge(src proto.Message) { + xxx_messageInfo_CounterInc.Merge(m, src) } -func (m *Dashboard) XXX_Size() int { +func (m *CounterInc) XXX_Size() int { return m.Size() } -func (m *Dashboard) XXX_DiscardUnknown() { - xxx_messageInfo_Dashboard.DiscardUnknown(m) +func (m *CounterInc) XXX_DiscardUnknown() { + xxx_messageInfo_CounterInc.DiscardUnknown(m) } -var xxx_messageInfo_Dashboard proto.InternalMessageInfo +var xxx_messageInfo_CounterInc proto.InternalMessageInfo -type Dashboard_Input struct { +type CounterInc_Input struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Gap float64 `protobuf:"fixed64,2,opt,name=gap,proto3" json:"gap,omitempty"` } -func (m *Dashboard_Input) Reset() { *m = Dashboard_Input{} } -func (m *Dashboard_Input) String() string { return proto.CompactTextString(m) } -func (*Dashboard_Input) ProtoMessage() {} -func (*Dashboard_Input) Descriptor() ([]byte, []int) { +func (m *CounterInc_Input) Reset() { *m = CounterInc_Input{} } +func (m *CounterInc_Input) String() string { return proto.CompactTextString(m) } +func (*CounterInc_Input) ProtoMessage() {} +func (*CounterInc_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{0, 0} } -func (m *Dashboard_Input) XXX_Unmarshal(b []byte) error { +func (m *CounterInc_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Dashboard_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CounterInc_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Dashboard_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_CounterInc_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -93,34 +95,48 @@ func (m *Dashboard_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *Dashboard_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dashboard_Input.Merge(m, src) +func (m *CounterInc_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_CounterInc_Input.Merge(m, src) } -func (m *Dashboard_Input) XXX_Size() int { +func (m *CounterInc_Input) XXX_Size() int { return m.Size() } -func (m *Dashboard_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Dashboard_Input.DiscardUnknown(m) +func (m *CounterInc_Input) XXX_DiscardUnknown() { + xxx_messageInfo_CounterInc_Input.DiscardUnknown(m) } -var xxx_messageInfo_Dashboard_Input proto.InternalMessageInfo +var xxx_messageInfo_CounterInc_Input proto.InternalMessageInfo -type Dashboard_Output struct { - Entries *dashboard.Entries `protobuf:"bytes,1,opt,name=entries,proto3" json:"entries,omitempty"` +func (m *CounterInc_Input) GetKey() string { + if m != nil { + return m.Key + } + return "" } -func (m *Dashboard_Output) Reset() { *m = Dashboard_Output{} } -func (m *Dashboard_Output) String() string { return proto.CompactTextString(m) } -func (*Dashboard_Output) ProtoMessage() {} -func (*Dashboard_Output) Descriptor() ([]byte, []int) { +func (m *CounterInc_Input) GetGap() float64 { + if m != nil { + return m.Gap + } + return 0 +} + +type CounterInc_Output struct { + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *CounterInc_Output) Reset() { *m = CounterInc_Output{} } +func (m *CounterInc_Output) String() string { return proto.CompactTextString(m) } +func (*CounterInc_Output) ProtoMessage() {} +func (*CounterInc_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{0, 1} } -func (m *Dashboard_Output) XXX_Unmarshal(b []byte) error { +func (m *CounterInc_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Dashboard_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CounterInc_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Dashboard_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_CounterInc_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -130,40 +146,40 @@ func (m *Dashboard_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *Dashboard_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Dashboard_Output.Merge(m, src) +func (m *CounterInc_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_CounterInc_Output.Merge(m, src) } -func (m *Dashboard_Output) XXX_Size() int { +func (m *CounterInc_Output) XXX_Size() int { return m.Size() } -func (m *Dashboard_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Dashboard_Output.DiscardUnknown(m) +func (m *CounterInc_Output) XXX_DiscardUnknown() { + xxx_messageInfo_CounterInc_Output.DiscardUnknown(m) } -var xxx_messageInfo_Dashboard_Output proto.InternalMessageInfo +var xxx_messageInfo_CounterInc_Output proto.InternalMessageInfo -func (m *Dashboard_Output) GetEntries() *dashboard.Entries { +func (m *CounterInc_Output) GetValue() float64 { if m != nil { - return m.Entries + return m.Value } - return nil + return 0 } -type Hackz struct { +type NumberSetIfBigger struct { } -func (m *Hackz) Reset() { *m = Hackz{} } -func (m *Hackz) String() string { return proto.CompactTextString(m) } -func (*Hackz) ProtoMessage() {} -func (*Hackz) Descriptor() ([]byte, []int) { +func (m *NumberSetIfBigger) Reset() { *m = NumberSetIfBigger{} } +func (m *NumberSetIfBigger) String() string { return proto.CompactTextString(m) } +func (*NumberSetIfBigger) ProtoMessage() {} +func (*NumberSetIfBigger) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{1} } -func (m *Hackz) XXX_Unmarshal(b []byte) error { +func (m *NumberSetIfBigger) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Hackz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *NumberSetIfBigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Hackz.Marshal(b, m, deterministic) + return xxx_messageInfo_NumberSetIfBigger.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -173,33 +189,35 @@ func (m *Hackz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Hackz) XXX_Merge(src proto.Message) { - xxx_messageInfo_Hackz.Merge(m, src) +func (m *NumberSetIfBigger) XXX_Merge(src proto.Message) { + xxx_messageInfo_NumberSetIfBigger.Merge(m, src) } -func (m *Hackz) XXX_Size() int { +func (m *NumberSetIfBigger) XXX_Size() int { return m.Size() } -func (m *Hackz) XXX_DiscardUnknown() { - xxx_messageInfo_Hackz.DiscardUnknown(m) +func (m *NumberSetIfBigger) XXX_DiscardUnknown() { + xxx_messageInfo_NumberSetIfBigger.DiscardUnknown(m) } -var xxx_messageInfo_Hackz proto.InternalMessageInfo +var xxx_messageInfo_NumberSetIfBigger proto.InternalMessageInfo -type Hackz_Input struct { +type NumberSetIfBigger_Input struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *Hackz_Input) Reset() { *m = Hackz_Input{} } -func (m *Hackz_Input) String() string { return proto.CompactTextString(m) } -func (*Hackz_Input) ProtoMessage() {} -func (*Hackz_Input) Descriptor() ([]byte, []int) { +func (m *NumberSetIfBigger_Input) Reset() { *m = NumberSetIfBigger_Input{} } +func (m *NumberSetIfBigger_Input) String() string { return proto.CompactTextString(m) } +func (*NumberSetIfBigger_Input) ProtoMessage() {} +func (*NumberSetIfBigger_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{1, 0} } -func (m *Hackz_Input) XXX_Unmarshal(b []byte) error { +func (m *NumberSetIfBigger_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Hackz_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *NumberSetIfBigger_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Hackz_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_NumberSetIfBigger_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -209,34 +227,48 @@ func (m *Hackz_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *Hackz_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Hackz_Input.Merge(m, src) +func (m *NumberSetIfBigger_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_NumberSetIfBigger_Input.Merge(m, src) } -func (m *Hackz_Input) XXX_Size() int { +func (m *NumberSetIfBigger_Input) XXX_Size() int { return m.Size() } -func (m *Hackz_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Hackz_Input.DiscardUnknown(m) +func (m *NumberSetIfBigger_Input) XXX_DiscardUnknown() { + xxx_messageInfo_NumberSetIfBigger_Input.DiscardUnknown(m) } -var xxx_messageInfo_Hackz_Input proto.InternalMessageInfo +var xxx_messageInfo_NumberSetIfBigger_Input proto.InternalMessageInfo -type Hackz_Output struct { - Entries *dashboard.Entries `protobuf:"bytes,1,opt,name=entries,proto3" json:"entries,omitempty"` +func (m *NumberSetIfBigger_Input) GetKey() string { + if m != nil { + return m.Key + } + return "" } -func (m *Hackz_Output) Reset() { *m = Hackz_Output{} } -func (m *Hackz_Output) String() string { return proto.CompactTextString(m) } -func (*Hackz_Output) ProtoMessage() {} -func (*Hackz_Output) Descriptor() ([]byte, []int) { +func (m *NumberSetIfBigger_Input) GetValue() float64 { + if m != nil { + return m.Value + } + return 0 +} + +type NumberSetIfBigger_Output struct { + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *NumberSetIfBigger_Output) Reset() { *m = NumberSetIfBigger_Output{} } +func (m *NumberSetIfBigger_Output) String() string { return proto.CompactTextString(m) } +func (*NumberSetIfBigger_Output) ProtoMessage() {} +func (*NumberSetIfBigger_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{1, 1} } -func (m *Hackz_Output) XXX_Unmarshal(b []byte) error { +func (m *NumberSetIfBigger_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Hackz_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *NumberSetIfBigger_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Hackz_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_NumberSetIfBigger_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -246,40 +278,40 @@ func (m *Hackz_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *Hackz_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Hackz_Output.Merge(m, src) +func (m *NumberSetIfBigger_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_NumberSetIfBigger_Output.Merge(m, src) } -func (m *Hackz_Output) XXX_Size() int { +func (m *NumberSetIfBigger_Output) XXX_Size() int { return m.Size() } -func (m *Hackz_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Hackz_Output.DiscardUnknown(m) +func (m *NumberSetIfBigger_Output) XXX_DiscardUnknown() { + xxx_messageInfo_NumberSetIfBigger_Output.DiscardUnknown(m) } -var xxx_messageInfo_Hackz_Output proto.InternalMessageInfo +var xxx_messageInfo_NumberSetIfBigger_Output proto.InternalMessageInfo -func (m *Hackz_Output) GetEntries() *dashboard.Entries { +func (m *NumberSetIfBigger_Output) GetValue() float64 { if m != nil { - return m.Entries + return m.Value } - return nil + return 0 } -type Crew struct { +type KeyValueStringSet struct { } -func (m *Crew) Reset() { *m = Crew{} } -func (m *Crew) String() string { return proto.CompactTextString(m) } -func (*Crew) ProtoMessage() {} -func (*Crew) Descriptor() ([]byte, []int) { +func (m *KeyValueStringSet) Reset() { *m = KeyValueStringSet{} } +func (m *KeyValueStringSet) String() string { return proto.CompactTextString(m) } +func (*KeyValueStringSet) ProtoMessage() {} +func (*KeyValueStringSet) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{2} } -func (m *Crew) XXX_Unmarshal(b []byte) error { +func (m *KeyValueStringSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Crew) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueStringSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Crew.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueStringSet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -289,33 +321,35 @@ func (m *Crew) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Crew) XXX_Merge(src proto.Message) { - xxx_messageInfo_Crew.Merge(m, src) +func (m *KeyValueStringSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueStringSet.Merge(m, src) } -func (m *Crew) XXX_Size() int { +func (m *KeyValueStringSet) XXX_Size() int { return m.Size() } -func (m *Crew) XXX_DiscardUnknown() { - xxx_messageInfo_Crew.DiscardUnknown(m) +func (m *KeyValueStringSet) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueStringSet.DiscardUnknown(m) } -var xxx_messageInfo_Crew proto.InternalMessageInfo +var xxx_messageInfo_KeyValueStringSet proto.InternalMessageInfo -type Crew_Input struct { +type KeyValueStringSet_Input struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *Crew_Input) Reset() { *m = Crew_Input{} } -func (m *Crew_Input) String() string { return proto.CompactTextString(m) } -func (*Crew_Input) ProtoMessage() {} -func (*Crew_Input) Descriptor() ([]byte, []int) { +func (m *KeyValueStringSet_Input) Reset() { *m = KeyValueStringSet_Input{} } +func (m *KeyValueStringSet_Input) String() string { return proto.CompactTextString(m) } +func (*KeyValueStringSet_Input) ProtoMessage() {} +func (*KeyValueStringSet_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{2, 0} } -func (m *Crew_Input) XXX_Unmarshal(b []byte) error { +func (m *KeyValueStringSet_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Crew_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueStringSet_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Crew_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueStringSet_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -325,34 +359,47 @@ func (m *Crew_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Crew_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Crew_Input.Merge(m, src) +func (m *KeyValueStringSet_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueStringSet_Input.Merge(m, src) } -func (m *Crew_Input) XXX_Size() int { +func (m *KeyValueStringSet_Input) XXX_Size() int { return m.Size() } -func (m *Crew_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Crew_Input.DiscardUnknown(m) +func (m *KeyValueStringSet_Input) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueStringSet_Input.DiscardUnknown(m) } -var xxx_messageInfo_Crew_Input proto.InternalMessageInfo +var xxx_messageInfo_KeyValueStringSet_Input proto.InternalMessageInfo -type Crew_Output struct { - Crew *crew.Crew `protobuf:"bytes,1,opt,name=crew,proto3" json:"crew,omitempty"` +func (m *KeyValueStringSet_Input) GetKey() string { + if m != nil { + return m.Key + } + return "" } -func (m *Crew_Output) Reset() { *m = Crew_Output{} } -func (m *Crew_Output) String() string { return proto.CompactTextString(m) } -func (*Crew_Output) ProtoMessage() {} -func (*Crew_Output) Descriptor() ([]byte, []int) { +func (m *KeyValueStringSet_Input) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +type KeyValueStringSet_Output struct { +} + +func (m *KeyValueStringSet_Output) Reset() { *m = KeyValueStringSet_Output{} } +func (m *KeyValueStringSet_Output) String() string { return proto.CompactTextString(m) } +func (*KeyValueStringSet_Output) ProtoMessage() {} +func (*KeyValueStringSet_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{2, 1} } -func (m *Crew_Output) XXX_Unmarshal(b []byte) error { +func (m *KeyValueStringSet_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Crew_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueStringSet_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Crew_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueStringSet_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -362,40 +409,33 @@ func (m *Crew_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *Crew_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Crew_Output.Merge(m, src) +func (m *KeyValueStringSet_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueStringSet_Output.Merge(m, src) } -func (m *Crew_Output) XXX_Size() int { +func (m *KeyValueStringSet_Output) XXX_Size() int { return m.Size() } -func (m *Crew_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Crew_Output.DiscardUnknown(m) +func (m *KeyValueStringSet_Output) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueStringSet_Output.DiscardUnknown(m) } -var xxx_messageInfo_Crew_Output proto.InternalMessageInfo - -func (m *Crew_Output) GetCrew() *crew.Crew { - if m != nil { - return m.Crew - } - return nil -} +var xxx_messageInfo_KeyValueStringSet_Output proto.InternalMessageInfo -type SoundcloudMe struct { +type KeyValueStringGet struct { } -func (m *SoundcloudMe) Reset() { *m = SoundcloudMe{} } -func (m *SoundcloudMe) String() string { return proto.CompactTextString(m) } -func (*SoundcloudMe) ProtoMessage() {} -func (*SoundcloudMe) Descriptor() ([]byte, []int) { +func (m *KeyValueStringGet) Reset() { *m = KeyValueStringGet{} } +func (m *KeyValueStringGet) String() string { return proto.CompactTextString(m) } +func (*KeyValueStringGet) ProtoMessage() {} +func (*KeyValueStringGet) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{3} } -func (m *SoundcloudMe) XXX_Unmarshal(b []byte) error { +func (m *KeyValueStringGet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudMe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueStringGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudMe.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueStringGet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -405,33 +445,34 @@ func (m *SoundcloudMe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *SoundcloudMe) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudMe.Merge(m, src) +func (m *KeyValueStringGet) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueStringGet.Merge(m, src) } -func (m *SoundcloudMe) XXX_Size() int { +func (m *KeyValueStringGet) XXX_Size() int { return m.Size() } -func (m *SoundcloudMe) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudMe.DiscardUnknown(m) +func (m *KeyValueStringGet) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueStringGet.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudMe proto.InternalMessageInfo +var xxx_messageInfo_KeyValueStringGet proto.InternalMessageInfo -type SoundcloudMe_Input struct { +type KeyValueStringGet_Input struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` } -func (m *SoundcloudMe_Input) Reset() { *m = SoundcloudMe_Input{} } -func (m *SoundcloudMe_Input) String() string { return proto.CompactTextString(m) } -func (*SoundcloudMe_Input) ProtoMessage() {} -func (*SoundcloudMe_Input) Descriptor() ([]byte, []int) { +func (m *KeyValueStringGet_Input) Reset() { *m = KeyValueStringGet_Input{} } +func (m *KeyValueStringGet_Input) String() string { return proto.CompactTextString(m) } +func (*KeyValueStringGet_Input) ProtoMessage() {} +func (*KeyValueStringGet_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{3, 0} } -func (m *SoundcloudMe_Input) XXX_Unmarshal(b []byte) error { +func (m *KeyValueStringGet_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudMe_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueStringGet_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudMe_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueStringGet_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -441,34 +482,41 @@ func (m *SoundcloudMe_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *SoundcloudMe_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudMe_Input.Merge(m, src) +func (m *KeyValueStringGet_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueStringGet_Input.Merge(m, src) } -func (m *SoundcloudMe_Input) XXX_Size() int { +func (m *KeyValueStringGet_Input) XXX_Size() int { return m.Size() } -func (m *SoundcloudMe_Input) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudMe_Input.DiscardUnknown(m) +func (m *KeyValueStringGet_Input) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueStringGet_Input.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudMe_Input proto.InternalMessageInfo +var xxx_messageInfo_KeyValueStringGet_Input proto.InternalMessageInfo -type SoundcloudMe_Output struct { - Me *soundcloud.User `protobuf:"bytes,1,opt,name=me,proto3" json:"me,omitempty"` +func (m *KeyValueStringGet_Input) GetKey() string { + if m != nil { + return m.Key + } + return "" } -func (m *SoundcloudMe_Output) Reset() { *m = SoundcloudMe_Output{} } -func (m *SoundcloudMe_Output) String() string { return proto.CompactTextString(m) } -func (*SoundcloudMe_Output) ProtoMessage() {} -func (*SoundcloudMe_Output) Descriptor() ([]byte, []int) { +type KeyValueStringGet_Output struct { + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *KeyValueStringGet_Output) Reset() { *m = KeyValueStringGet_Output{} } +func (m *KeyValueStringGet_Output) String() string { return proto.CompactTextString(m) } +func (*KeyValueStringGet_Output) ProtoMessage() {} +func (*KeyValueStringGet_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{3, 1} } -func (m *SoundcloudMe_Output) XXX_Unmarshal(b []byte) error { +func (m *KeyValueStringGet_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudMe_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueStringGet_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudMe_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueStringGet_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -478,40 +526,40 @@ func (m *SoundcloudMe_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *SoundcloudMe_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudMe_Output.Merge(m, src) +func (m *KeyValueStringGet_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueStringGet_Output.Merge(m, src) } -func (m *SoundcloudMe_Output) XXX_Size() int { +func (m *KeyValueStringGet_Output) XXX_Size() int { return m.Size() } -func (m *SoundcloudMe_Output) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudMe_Output.DiscardUnknown(m) +func (m *KeyValueStringGet_Output) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueStringGet_Output.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudMe_Output proto.InternalMessageInfo +var xxx_messageInfo_KeyValueStringGet_Output proto.InternalMessageInfo -func (m *SoundcloudMe_Output) GetMe() *soundcloud.User { +func (m *KeyValueStringGet_Output) GetValue() string { if m != nil { - return m.Me + return m.Value } - return nil + return "" } -type SoundcloudPlaylists struct { +type KeyValueFloatSet struct { } -func (m *SoundcloudPlaylists) Reset() { *m = SoundcloudPlaylists{} } -func (m *SoundcloudPlaylists) String() string { return proto.CompactTextString(m) } -func (*SoundcloudPlaylists) ProtoMessage() {} -func (*SoundcloudPlaylists) Descriptor() ([]byte, []int) { +func (m *KeyValueFloatSet) Reset() { *m = KeyValueFloatSet{} } +func (m *KeyValueFloatSet) String() string { return proto.CompactTextString(m) } +func (*KeyValueFloatSet) ProtoMessage() {} +func (*KeyValueFloatSet) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{4} } -func (m *SoundcloudPlaylists) XXX_Unmarshal(b []byte) error { +func (m *KeyValueFloatSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudPlaylists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueFloatSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudPlaylists.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueFloatSet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -521,33 +569,35 @@ func (m *SoundcloudPlaylists) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *SoundcloudPlaylists) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudPlaylists.Merge(m, src) +func (m *KeyValueFloatSet) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueFloatSet.Merge(m, src) } -func (m *SoundcloudPlaylists) XXX_Size() int { +func (m *KeyValueFloatSet) XXX_Size() int { return m.Size() } -func (m *SoundcloudPlaylists) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudPlaylists.DiscardUnknown(m) +func (m *KeyValueFloatSet) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueFloatSet.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudPlaylists proto.InternalMessageInfo +var xxx_messageInfo_KeyValueFloatSet proto.InternalMessageInfo -type SoundcloudPlaylists_Input struct { +type KeyValueFloatSet_Input struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *SoundcloudPlaylists_Input) Reset() { *m = SoundcloudPlaylists_Input{} } -func (m *SoundcloudPlaylists_Input) String() string { return proto.CompactTextString(m) } -func (*SoundcloudPlaylists_Input) ProtoMessage() {} -func (*SoundcloudPlaylists_Input) Descriptor() ([]byte, []int) { +func (m *KeyValueFloatSet_Input) Reset() { *m = KeyValueFloatSet_Input{} } +func (m *KeyValueFloatSet_Input) String() string { return proto.CompactTextString(m) } +func (*KeyValueFloatSet_Input) ProtoMessage() {} +func (*KeyValueFloatSet_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{4, 0} } -func (m *SoundcloudPlaylists_Input) XXX_Unmarshal(b []byte) error { +func (m *KeyValueFloatSet_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudPlaylists_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueFloatSet_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudPlaylists_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueFloatSet_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -557,34 +607,47 @@ func (m *SoundcloudPlaylists_Input) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *SoundcloudPlaylists_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudPlaylists_Input.Merge(m, src) +func (m *KeyValueFloatSet_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueFloatSet_Input.Merge(m, src) } -func (m *SoundcloudPlaylists_Input) XXX_Size() int { +func (m *KeyValueFloatSet_Input) XXX_Size() int { return m.Size() } -func (m *SoundcloudPlaylists_Input) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudPlaylists_Input.DiscardUnknown(m) +func (m *KeyValueFloatSet_Input) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueFloatSet_Input.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudPlaylists_Input proto.InternalMessageInfo +var xxx_messageInfo_KeyValueFloatSet_Input proto.InternalMessageInfo -type SoundcloudPlaylists_Output struct { - Playlists *soundcloud.Playlists `protobuf:"bytes,1,opt,name=playlists,proto3" json:"playlists,omitempty"` +func (m *KeyValueFloatSet_Input) GetKey() string { + if m != nil { + return m.Key + } + return "" } -func (m *SoundcloudPlaylists_Output) Reset() { *m = SoundcloudPlaylists_Output{} } -func (m *SoundcloudPlaylists_Output) String() string { return proto.CompactTextString(m) } -func (*SoundcloudPlaylists_Output) ProtoMessage() {} -func (*SoundcloudPlaylists_Output) Descriptor() ([]byte, []int) { +func (m *KeyValueFloatSet_Input) GetValue() float64 { + if m != nil { + return m.Value + } + return 0 +} + +type KeyValueFloatSet_Output struct { +} + +func (m *KeyValueFloatSet_Output) Reset() { *m = KeyValueFloatSet_Output{} } +func (m *KeyValueFloatSet_Output) String() string { return proto.CompactTextString(m) } +func (*KeyValueFloatSet_Output) ProtoMessage() {} +func (*KeyValueFloatSet_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{4, 1} } -func (m *SoundcloudPlaylists_Output) XXX_Unmarshal(b []byte) error { +func (m *KeyValueFloatSet_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudPlaylists_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueFloatSet_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudPlaylists_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueFloatSet_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -594,40 +657,33 @@ func (m *SoundcloudPlaylists_Output) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *SoundcloudPlaylists_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudPlaylists_Output.Merge(m, src) +func (m *KeyValueFloatSet_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueFloatSet_Output.Merge(m, src) } -func (m *SoundcloudPlaylists_Output) XXX_Size() int { +func (m *KeyValueFloatSet_Output) XXX_Size() int { return m.Size() } -func (m *SoundcloudPlaylists_Output) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudPlaylists_Output.DiscardUnknown(m) +func (m *KeyValueFloatSet_Output) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueFloatSet_Output.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudPlaylists_Output proto.InternalMessageInfo - -func (m *SoundcloudPlaylists_Output) GetPlaylists() *soundcloud.Playlists { - if m != nil { - return m.Playlists - } - return nil -} +var xxx_messageInfo_KeyValueFloatSet_Output proto.InternalMessageInfo -type SoundcloudPlaylist struct { +type KeyValueFloatGet struct { } -func (m *SoundcloudPlaylist) Reset() { *m = SoundcloudPlaylist{} } -func (m *SoundcloudPlaylist) String() string { return proto.CompactTextString(m) } -func (*SoundcloudPlaylist) ProtoMessage() {} -func (*SoundcloudPlaylist) Descriptor() ([]byte, []int) { +func (m *KeyValueFloatGet) Reset() { *m = KeyValueFloatGet{} } +func (m *KeyValueFloatGet) String() string { return proto.CompactTextString(m) } +func (*KeyValueFloatGet) ProtoMessage() {} +func (*KeyValueFloatGet) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{5} } -func (m *SoundcloudPlaylist) XXX_Unmarshal(b []byte) error { +func (m *KeyValueFloatGet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudPlaylist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueFloatGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudPlaylist.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueFloatGet.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -637,34 +693,34 @@ func (m *SoundcloudPlaylist) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *SoundcloudPlaylist) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudPlaylist.Merge(m, src) +func (m *KeyValueFloatGet) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueFloatGet.Merge(m, src) } -func (m *SoundcloudPlaylist) XXX_Size() int { +func (m *KeyValueFloatGet) XXX_Size() int { return m.Size() } -func (m *SoundcloudPlaylist) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudPlaylist.DiscardUnknown(m) +func (m *KeyValueFloatGet) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueFloatGet.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudPlaylist proto.InternalMessageInfo +var xxx_messageInfo_KeyValueFloatGet proto.InternalMessageInfo -type SoundcloudPlaylist_Input struct { - PlaylistId uint64 `protobuf:"varint,1,opt,name=playlist_id,json=playlistId,proto3" json:"playlist_id,omitempty"` +type KeyValueFloatGet_Input struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` } -func (m *SoundcloudPlaylist_Input) Reset() { *m = SoundcloudPlaylist_Input{} } -func (m *SoundcloudPlaylist_Input) String() string { return proto.CompactTextString(m) } -func (*SoundcloudPlaylist_Input) ProtoMessage() {} -func (*SoundcloudPlaylist_Input) Descriptor() ([]byte, []int) { +func (m *KeyValueFloatGet_Input) Reset() { *m = KeyValueFloatGet_Input{} } +func (m *KeyValueFloatGet_Input) String() string { return proto.CompactTextString(m) } +func (*KeyValueFloatGet_Input) ProtoMessage() {} +func (*KeyValueFloatGet_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{5, 0} } -func (m *SoundcloudPlaylist_Input) XXX_Unmarshal(b []byte) error { +func (m *KeyValueFloatGet_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudPlaylist_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueFloatGet_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudPlaylist_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueFloatGet_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -674,41 +730,41 @@ func (m *SoundcloudPlaylist_Input) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *SoundcloudPlaylist_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudPlaylist_Input.Merge(m, src) +func (m *KeyValueFloatGet_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueFloatGet_Input.Merge(m, src) } -func (m *SoundcloudPlaylist_Input) XXX_Size() int { +func (m *KeyValueFloatGet_Input) XXX_Size() int { return m.Size() } -func (m *SoundcloudPlaylist_Input) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudPlaylist_Input.DiscardUnknown(m) +func (m *KeyValueFloatGet_Input) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueFloatGet_Input.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudPlaylist_Input proto.InternalMessageInfo +var xxx_messageInfo_KeyValueFloatGet_Input proto.InternalMessageInfo -func (m *SoundcloudPlaylist_Input) GetPlaylistId() uint64 { +func (m *KeyValueFloatGet_Input) GetKey() string { if m != nil { - return m.PlaylistId + return m.Key } - return 0 + return "" } -type SoundcloudPlaylist_Output struct { - Playlist *soundcloud.Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"` +type KeyValueFloatGet_Output struct { + Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *SoundcloudPlaylist_Output) Reset() { *m = SoundcloudPlaylist_Output{} } -func (m *SoundcloudPlaylist_Output) String() string { return proto.CompactTextString(m) } -func (*SoundcloudPlaylist_Output) ProtoMessage() {} -func (*SoundcloudPlaylist_Output) Descriptor() ([]byte, []int) { +func (m *KeyValueFloatGet_Output) Reset() { *m = KeyValueFloatGet_Output{} } +func (m *KeyValueFloatGet_Output) String() string { return proto.CompactTextString(m) } +func (*KeyValueFloatGet_Output) ProtoMessage() {} +func (*KeyValueFloatGet_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{5, 1} } -func (m *SoundcloudPlaylist_Output) XXX_Unmarshal(b []byte) error { +func (m *KeyValueFloatGet_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudPlaylist_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *KeyValueFloatGet_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudPlaylist_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_KeyValueFloatGet_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -718,40 +774,40 @@ func (m *SoundcloudPlaylist_Output) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *SoundcloudPlaylist_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudPlaylist_Output.Merge(m, src) +func (m *KeyValueFloatGet_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyValueFloatGet_Output.Merge(m, src) } -func (m *SoundcloudPlaylist_Output) XXX_Size() int { +func (m *KeyValueFloatGet_Output) XXX_Size() int { return m.Size() } -func (m *SoundcloudPlaylist_Output) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudPlaylist_Output.DiscardUnknown(m) +func (m *KeyValueFloatGet_Output) XXX_DiscardUnknown() { + xxx_messageInfo_KeyValueFloatGet_Output.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudPlaylist_Output proto.InternalMessageInfo +var xxx_messageInfo_KeyValueFloatGet_Output proto.InternalMessageInfo -func (m *SoundcloudPlaylist_Output) GetPlaylist() *soundcloud.Playlist { +func (m *KeyValueFloatGet_Output) GetValue() float64 { if m != nil { - return m.Playlist + return m.Value } - return nil + return 0 } -type SoundcloudTracks struct { +type Dashboard struct { } -func (m *SoundcloudTracks) Reset() { *m = SoundcloudTracks{} } -func (m *SoundcloudTracks) String() string { return proto.CompactTextString(m) } -func (*SoundcloudTracks) ProtoMessage() {} -func (*SoundcloudTracks) Descriptor() ([]byte, []int) { +func (m *Dashboard) Reset() { *m = Dashboard{} } +func (m *Dashboard) String() string { return proto.CompactTextString(m) } +func (*Dashboard) ProtoMessage() {} +func (*Dashboard) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{6} } -func (m *SoundcloudTracks) XXX_Unmarshal(b []byte) error { +func (m *Dashboard) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudTracks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Dashboard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudTracks.Marshal(b, m, deterministic) + return xxx_messageInfo_Dashboard.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -761,33 +817,33 @@ func (m *SoundcloudTracks) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *SoundcloudTracks) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudTracks.Merge(m, src) +func (m *Dashboard) XXX_Merge(src proto.Message) { + xxx_messageInfo_Dashboard.Merge(m, src) } -func (m *SoundcloudTracks) XXX_Size() int { +func (m *Dashboard) XXX_Size() int { return m.Size() } -func (m *SoundcloudTracks) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudTracks.DiscardUnknown(m) +func (m *Dashboard) XXX_DiscardUnknown() { + xxx_messageInfo_Dashboard.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudTracks proto.InternalMessageInfo +var xxx_messageInfo_Dashboard proto.InternalMessageInfo -type SoundcloudTracks_Input struct { +type Dashboard_Input struct { } -func (m *SoundcloudTracks_Input) Reset() { *m = SoundcloudTracks_Input{} } -func (m *SoundcloudTracks_Input) String() string { return proto.CompactTextString(m) } -func (*SoundcloudTracks_Input) ProtoMessage() {} -func (*SoundcloudTracks_Input) Descriptor() ([]byte, []int) { +func (m *Dashboard_Input) Reset() { *m = Dashboard_Input{} } +func (m *Dashboard_Input) String() string { return proto.CompactTextString(m) } +func (*Dashboard_Input) ProtoMessage() {} +func (*Dashboard_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{6, 0} } -func (m *SoundcloudTracks_Input) XXX_Unmarshal(b []byte) error { +func (m *Dashboard_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudTracks_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Dashboard_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudTracks_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_Dashboard_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -797,34 +853,34 @@ func (m *SoundcloudTracks_Input) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *SoundcloudTracks_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudTracks_Input.Merge(m, src) +func (m *Dashboard_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Dashboard_Input.Merge(m, src) } -func (m *SoundcloudTracks_Input) XXX_Size() int { +func (m *Dashboard_Input) XXX_Size() int { return m.Size() } -func (m *SoundcloudTracks_Input) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudTracks_Input.DiscardUnknown(m) +func (m *Dashboard_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Dashboard_Input.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudTracks_Input proto.InternalMessageInfo +var xxx_messageInfo_Dashboard_Input proto.InternalMessageInfo -type SoundcloudTracks_Output struct { - Tracks *soundcloud.Tracks `protobuf:"bytes,1,opt,name=tracks,proto3" json:"tracks,omitempty"` +type Dashboard_Output struct { + Entries *dashboard.Entries `protobuf:"bytes,1,opt,name=entries,proto3" json:"entries,omitempty"` } -func (m *SoundcloudTracks_Output) Reset() { *m = SoundcloudTracks_Output{} } -func (m *SoundcloudTracks_Output) String() string { return proto.CompactTextString(m) } -func (*SoundcloudTracks_Output) ProtoMessage() {} -func (*SoundcloudTracks_Output) Descriptor() ([]byte, []int) { +func (m *Dashboard_Output) Reset() { *m = Dashboard_Output{} } +func (m *Dashboard_Output) String() string { return proto.CompactTextString(m) } +func (*Dashboard_Output) ProtoMessage() {} +func (*Dashboard_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{6, 1} } -func (m *SoundcloudTracks_Output) XXX_Unmarshal(b []byte) error { +func (m *Dashboard_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudTracks_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Dashboard_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudTracks_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_Dashboard_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -834,40 +890,40 @@ func (m *SoundcloudTracks_Output) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *SoundcloudTracks_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudTracks_Output.Merge(m, src) +func (m *Dashboard_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Dashboard_Output.Merge(m, src) } -func (m *SoundcloudTracks_Output) XXX_Size() int { +func (m *Dashboard_Output) XXX_Size() int { return m.Size() } -func (m *SoundcloudTracks_Output) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudTracks_Output.DiscardUnknown(m) +func (m *Dashboard_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Dashboard_Output.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudTracks_Output proto.InternalMessageInfo +var xxx_messageInfo_Dashboard_Output proto.InternalMessageInfo -func (m *SoundcloudTracks_Output) GetTracks() *soundcloud.Tracks { +func (m *Dashboard_Output) GetEntries() *dashboard.Entries { if m != nil { - return m.Tracks + return m.Entries } return nil } -type SoundcloudTrack struct { +type Hackz struct { } -func (m *SoundcloudTrack) Reset() { *m = SoundcloudTrack{} } -func (m *SoundcloudTrack) String() string { return proto.CompactTextString(m) } -func (*SoundcloudTrack) ProtoMessage() {} -func (*SoundcloudTrack) Descriptor() ([]byte, []int) { +func (m *Hackz) Reset() { *m = Hackz{} } +func (m *Hackz) String() string { return proto.CompactTextString(m) } +func (*Hackz) ProtoMessage() {} +func (*Hackz) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{7} } -func (m *SoundcloudTrack) XXX_Unmarshal(b []byte) error { +func (m *Hackz) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudTrack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Hackz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudTrack.Marshal(b, m, deterministic) + return xxx_messageInfo_Hackz.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -877,34 +933,33 @@ func (m *SoundcloudTrack) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *SoundcloudTrack) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudTrack.Merge(m, src) +func (m *Hackz) XXX_Merge(src proto.Message) { + xxx_messageInfo_Hackz.Merge(m, src) } -func (m *SoundcloudTrack) XXX_Size() int { +func (m *Hackz) XXX_Size() int { return m.Size() } -func (m *SoundcloudTrack) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudTrack.DiscardUnknown(m) +func (m *Hackz) XXX_DiscardUnknown() { + xxx_messageInfo_Hackz.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudTrack proto.InternalMessageInfo +var xxx_messageInfo_Hackz proto.InternalMessageInfo -type SoundcloudTrack_Input struct { - TrackId uint64 `protobuf:"varint,1,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` +type Hackz_Input struct { } -func (m *SoundcloudTrack_Input) Reset() { *m = SoundcloudTrack_Input{} } -func (m *SoundcloudTrack_Input) String() string { return proto.CompactTextString(m) } -func (*SoundcloudTrack_Input) ProtoMessage() {} -func (*SoundcloudTrack_Input) Descriptor() ([]byte, []int) { +func (m *Hackz_Input) Reset() { *m = Hackz_Input{} } +func (m *Hackz_Input) String() string { return proto.CompactTextString(m) } +func (*Hackz_Input) ProtoMessage() {} +func (*Hackz_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{7, 0} } -func (m *SoundcloudTrack_Input) XXX_Unmarshal(b []byte) error { +func (m *Hackz_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudTrack_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Hackz_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudTrack_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_Hackz_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -914,41 +969,34 @@ func (m *SoundcloudTrack_Input) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *SoundcloudTrack_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudTrack_Input.Merge(m, src) +func (m *Hackz_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Hackz_Input.Merge(m, src) } -func (m *SoundcloudTrack_Input) XXX_Size() int { +func (m *Hackz_Input) XXX_Size() int { return m.Size() } -func (m *SoundcloudTrack_Input) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudTrack_Input.DiscardUnknown(m) +func (m *Hackz_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Hackz_Input.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudTrack_Input proto.InternalMessageInfo - -func (m *SoundcloudTrack_Input) GetTrackId() uint64 { - if m != nil { - return m.TrackId - } - return 0 -} +var xxx_messageInfo_Hackz_Input proto.InternalMessageInfo -type SoundcloudTrack_Output struct { - Track *soundcloud.Track `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` +type Hackz_Output struct { + Entries *dashboard.Entries `protobuf:"bytes,1,opt,name=entries,proto3" json:"entries,omitempty"` } -func (m *SoundcloudTrack_Output) Reset() { *m = SoundcloudTrack_Output{} } -func (m *SoundcloudTrack_Output) String() string { return proto.CompactTextString(m) } -func (*SoundcloudTrack_Output) ProtoMessage() {} -func (*SoundcloudTrack_Output) Descriptor() ([]byte, []int) { +func (m *Hackz_Output) Reset() { *m = Hackz_Output{} } +func (m *Hackz_Output) String() string { return proto.CompactTextString(m) } +func (*Hackz_Output) ProtoMessage() {} +func (*Hackz_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{7, 1} } -func (m *SoundcloudTrack_Output) XXX_Unmarshal(b []byte) error { +func (m *Hackz_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SoundcloudTrack_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Hackz_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SoundcloudTrack_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_Hackz_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -958,40 +1006,40 @@ func (m *SoundcloudTrack_Output) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *SoundcloudTrack_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_SoundcloudTrack_Output.Merge(m, src) +func (m *Hackz_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Hackz_Output.Merge(m, src) } -func (m *SoundcloudTrack_Output) XXX_Size() int { +func (m *Hackz_Output) XXX_Size() int { return m.Size() } -func (m *SoundcloudTrack_Output) XXX_DiscardUnknown() { - xxx_messageInfo_SoundcloudTrack_Output.DiscardUnknown(m) +func (m *Hackz_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Hackz_Output.DiscardUnknown(m) } -var xxx_messageInfo_SoundcloudTrack_Output proto.InternalMessageInfo +var xxx_messageInfo_Hackz_Output proto.InternalMessageInfo -func (m *SoundcloudTrack_Output) GetTrack() *soundcloud.Track { +func (m *Hackz_Output) GetEntries() *dashboard.Entries { if m != nil { - return m.Track + return m.Entries } return nil } -type Metrics struct { +type Crew struct { } -func (m *Metrics) Reset() { *m = Metrics{} } -func (m *Metrics) String() string { return proto.CompactTextString(m) } -func (*Metrics) ProtoMessage() {} -func (*Metrics) Descriptor() ([]byte, []int) { +func (m *Crew) Reset() { *m = Crew{} } +func (m *Crew) String() string { return proto.CompactTextString(m) } +func (*Crew) ProtoMessage() {} +func (*Crew) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{8} } -func (m *Metrics) XXX_Unmarshal(b []byte) error { +func (m *Crew) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Crew) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Metrics.Marshal(b, m, deterministic) + return xxx_messageInfo_Crew.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1001,33 +1049,33 @@ func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Metrics) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metrics.Merge(m, src) +func (m *Crew) XXX_Merge(src proto.Message) { + xxx_messageInfo_Crew.Merge(m, src) } -func (m *Metrics) XXX_Size() int { +func (m *Crew) XXX_Size() int { return m.Size() } -func (m *Metrics) XXX_DiscardUnknown() { - xxx_messageInfo_Metrics.DiscardUnknown(m) +func (m *Crew) XXX_DiscardUnknown() { + xxx_messageInfo_Crew.DiscardUnknown(m) } -var xxx_messageInfo_Metrics proto.InternalMessageInfo +var xxx_messageInfo_Crew proto.InternalMessageInfo -type Metrics_Input struct { +type Crew_Input struct { } -func (m *Metrics_Input) Reset() { *m = Metrics_Input{} } -func (m *Metrics_Input) String() string { return proto.CompactTextString(m) } -func (*Metrics_Input) ProtoMessage() {} -func (*Metrics_Input) Descriptor() ([]byte, []int) { +func (m *Crew_Input) Reset() { *m = Crew_Input{} } +func (m *Crew_Input) String() string { return proto.CompactTextString(m) } +func (*Crew_Input) ProtoMessage() {} +func (*Crew_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{8, 0} } -func (m *Metrics_Input) XXX_Unmarshal(b []byte) error { +func (m *Crew_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Metrics_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Crew_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Metrics_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_Crew_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1037,37 +1085,34 @@ func (m *Metrics_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *Metrics_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metrics_Input.Merge(m, src) +func (m *Crew_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Crew_Input.Merge(m, src) } -func (m *Metrics_Input) XXX_Size() int { +func (m *Crew_Input) XXX_Size() int { return m.Size() } -func (m *Metrics_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Metrics_Input.DiscardUnknown(m) +func (m *Crew_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Crew_Input.DiscardUnknown(m) } -var xxx_messageInfo_Metrics_Input proto.InternalMessageInfo +var xxx_messageInfo_Crew_Input proto.InternalMessageInfo -type Metrics_Output struct { - StaticBoxSize int32 `protobuf:"varint,1,opt,name=static_box_size,json=staticBoxSize,proto3" json:"static_box_size,omitempty"` - ServerStartTime string `protobuf:"bytes,2,opt,name=server_start_time,json=serverStartTime,proto3" json:"server_start_time,omitempty"` - ServerCurrentTime string `protobuf:"bytes,3,opt,name=server_current_time,json=serverCurrentTime,proto3" json:"server_current_time,omitempty"` - ServerUptime string `protobuf:"bytes,4,opt,name=server_uptime,json=serverUptime,proto3" json:"server_uptime,omitempty"` +type Crew_Output struct { + Crew *crew.Crew `protobuf:"bytes,1,opt,name=crew,proto3" json:"crew,omitempty"` } -func (m *Metrics_Output) Reset() { *m = Metrics_Output{} } -func (m *Metrics_Output) String() string { return proto.CompactTextString(m) } -func (*Metrics_Output) ProtoMessage() {} -func (*Metrics_Output) Descriptor() ([]byte, []int) { +func (m *Crew_Output) Reset() { *m = Crew_Output{} } +func (m *Crew_Output) String() string { return proto.CompactTextString(m) } +func (*Crew_Output) ProtoMessage() {} +func (*Crew_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{8, 1} } -func (m *Metrics_Output) XXX_Unmarshal(b []byte) error { +func (m *Crew_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Metrics_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Crew_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Metrics_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_Crew_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1077,61 +1122,40 @@ func (m *Metrics_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *Metrics_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metrics_Output.Merge(m, src) +func (m *Crew_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Crew_Output.Merge(m, src) } -func (m *Metrics_Output) XXX_Size() int { +func (m *Crew_Output) XXX_Size() int { return m.Size() } -func (m *Metrics_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Metrics_Output.DiscardUnknown(m) -} - -var xxx_messageInfo_Metrics_Output proto.InternalMessageInfo - -func (m *Metrics_Output) GetStaticBoxSize() int32 { - if m != nil { - return m.StaticBoxSize - } - return 0 -} - -func (m *Metrics_Output) GetServerStartTime() string { - if m != nil { - return m.ServerStartTime - } - return "" +func (m *Crew_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Crew_Output.DiscardUnknown(m) } -func (m *Metrics_Output) GetServerCurrentTime() string { - if m != nil { - return m.ServerCurrentTime - } - return "" -} +var xxx_messageInfo_Crew_Output proto.InternalMessageInfo -func (m *Metrics_Output) GetServerUptime() string { +func (m *Crew_Output) GetCrew() *crew.Crew { if m != nil { - return m.ServerUptime + return m.Crew } - return "" + return nil } -type Ping struct { +type SoundcloudMe struct { } -func (m *Ping) Reset() { *m = Ping{} } -func (m *Ping) String() string { return proto.CompactTextString(m) } -func (*Ping) ProtoMessage() {} -func (*Ping) Descriptor() ([]byte, []int) { +func (m *SoundcloudMe) Reset() { *m = SoundcloudMe{} } +func (m *SoundcloudMe) String() string { return proto.CompactTextString(m) } +func (*SoundcloudMe) ProtoMessage() {} +func (*SoundcloudMe) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{9} } -func (m *Ping) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudMe) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudMe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Ping.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudMe.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1141,33 +1165,33 @@ func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Ping) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ping.Merge(m, src) +func (m *SoundcloudMe) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudMe.Merge(m, src) } -func (m *Ping) XXX_Size() int { +func (m *SoundcloudMe) XXX_Size() int { return m.Size() } -func (m *Ping) XXX_DiscardUnknown() { - xxx_messageInfo_Ping.DiscardUnknown(m) +func (m *SoundcloudMe) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudMe.DiscardUnknown(m) } -var xxx_messageInfo_Ping proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudMe proto.InternalMessageInfo -type Ping_Input struct { +type SoundcloudMe_Input struct { } -func (m *Ping_Input) Reset() { *m = Ping_Input{} } -func (m *Ping_Input) String() string { return proto.CompactTextString(m) } -func (*Ping_Input) ProtoMessage() {} -func (*Ping_Input) Descriptor() ([]byte, []int) { +func (m *SoundcloudMe_Input) Reset() { *m = SoundcloudMe_Input{} } +func (m *SoundcloudMe_Input) String() string { return proto.CompactTextString(m) } +func (*SoundcloudMe_Input) ProtoMessage() {} +func (*SoundcloudMe_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{9, 0} } -func (m *Ping_Input) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudMe_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Ping_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudMe_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Ping_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudMe_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1177,34 +1201,34 @@ func (m *Ping_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Ping_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ping_Input.Merge(m, src) +func (m *SoundcloudMe_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudMe_Input.Merge(m, src) } -func (m *Ping_Input) XXX_Size() int { +func (m *SoundcloudMe_Input) XXX_Size() int { return m.Size() } -func (m *Ping_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Ping_Input.DiscardUnknown(m) +func (m *SoundcloudMe_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudMe_Input.DiscardUnknown(m) } -var xxx_messageInfo_Ping_Input proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudMe_Input proto.InternalMessageInfo -type Ping_Output struct { - Pong string `protobuf:"bytes,1,opt,name=pong,proto3" json:"pong,omitempty"` +type SoundcloudMe_Output struct { + Me *soundcloud.User `protobuf:"bytes,1,opt,name=me,proto3" json:"me,omitempty"` } -func (m *Ping_Output) Reset() { *m = Ping_Output{} } -func (m *Ping_Output) String() string { return proto.CompactTextString(m) } -func (*Ping_Output) ProtoMessage() {} -func (*Ping_Output) Descriptor() ([]byte, []int) { +func (m *SoundcloudMe_Output) Reset() { *m = SoundcloudMe_Output{} } +func (m *SoundcloudMe_Output) String() string { return proto.CompactTextString(m) } +func (*SoundcloudMe_Output) ProtoMessage() {} +func (*SoundcloudMe_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{9, 1} } -func (m *Ping_Output) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudMe_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Ping_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudMe_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Ping_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudMe_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1214,40 +1238,40 @@ func (m *Ping_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *Ping_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Ping_Output.Merge(m, src) +func (m *SoundcloudMe_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudMe_Output.Merge(m, src) } -func (m *Ping_Output) XXX_Size() int { +func (m *SoundcloudMe_Output) XXX_Size() int { return m.Size() } -func (m *Ping_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Ping_Output.DiscardUnknown(m) +func (m *SoundcloudMe_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudMe_Output.DiscardUnknown(m) } -var xxx_messageInfo_Ping_Output proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudMe_Output proto.InternalMessageInfo -func (m *Ping_Output) GetPong() string { +func (m *SoundcloudMe_Output) GetMe() *soundcloud.User { if m != nil { - return m.Pong + return m.Me } - return "" + return nil } -type Kryptos struct { +type SoundcloudPlaylists struct { } -func (m *Kryptos) Reset() { *m = Kryptos{} } -func (m *Kryptos) String() string { return proto.CompactTextString(m) } -func (*Kryptos) ProtoMessage() {} -func (*Kryptos) Descriptor() ([]byte, []int) { +func (m *SoundcloudPlaylists) Reset() { *m = SoundcloudPlaylists{} } +func (m *SoundcloudPlaylists) String() string { return proto.CompactTextString(m) } +func (*SoundcloudPlaylists) ProtoMessage() {} +func (*SoundcloudPlaylists) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{10} } -func (m *Kryptos) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudPlaylists) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Kryptos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudPlaylists) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Kryptos.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudPlaylists.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1257,34 +1281,33 @@ func (m *Kryptos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Kryptos) XXX_Merge(src proto.Message) { - xxx_messageInfo_Kryptos.Merge(m, src) +func (m *SoundcloudPlaylists) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudPlaylists.Merge(m, src) } -func (m *Kryptos) XXX_Size() int { +func (m *SoundcloudPlaylists) XXX_Size() int { return m.Size() } -func (m *Kryptos) XXX_DiscardUnknown() { - xxx_messageInfo_Kryptos.DiscardUnknown(m) +func (m *SoundcloudPlaylists) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudPlaylists.DiscardUnknown(m) } -var xxx_messageInfo_Kryptos proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudPlaylists proto.InternalMessageInfo -type Kryptos_Input struct { - From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` +type SoundcloudPlaylists_Input struct { } -func (m *Kryptos_Input) Reset() { *m = Kryptos_Input{} } -func (m *Kryptos_Input) String() string { return proto.CompactTextString(m) } -func (*Kryptos_Input) ProtoMessage() {} -func (*Kryptos_Input) Descriptor() ([]byte, []int) { +func (m *SoundcloudPlaylists_Input) Reset() { *m = SoundcloudPlaylists_Input{} } +func (m *SoundcloudPlaylists_Input) String() string { return proto.CompactTextString(m) } +func (*SoundcloudPlaylists_Input) ProtoMessage() {} +func (*SoundcloudPlaylists_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{10, 0} } -func (m *Kryptos_Input) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudPlaylists_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Kryptos_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudPlaylists_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Kryptos_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudPlaylists_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1294,41 +1317,34 @@ func (m *Kryptos_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *Kryptos_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Kryptos_Input.Merge(m, src) +func (m *SoundcloudPlaylists_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudPlaylists_Input.Merge(m, src) } -func (m *Kryptos_Input) XXX_Size() int { +func (m *SoundcloudPlaylists_Input) XXX_Size() int { return m.Size() } -func (m *Kryptos_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Kryptos_Input.DiscardUnknown(m) +func (m *SoundcloudPlaylists_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudPlaylists_Input.DiscardUnknown(m) } -var xxx_messageInfo_Kryptos_Input proto.InternalMessageInfo - -func (m *Kryptos_Input) GetFrom() string { - if m != nil { - return m.From - } - return "" -} +var xxx_messageInfo_SoundcloudPlaylists_Input proto.InternalMessageInfo -type Kryptos_Output struct { - To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` +type SoundcloudPlaylists_Output struct { + Playlists *soundcloud.Playlists `protobuf:"bytes,1,opt,name=playlists,proto3" json:"playlists,omitempty"` } -func (m *Kryptos_Output) Reset() { *m = Kryptos_Output{} } -func (m *Kryptos_Output) String() string { return proto.CompactTextString(m) } -func (*Kryptos_Output) ProtoMessage() {} -func (*Kryptos_Output) Descriptor() ([]byte, []int) { +func (m *SoundcloudPlaylists_Output) Reset() { *m = SoundcloudPlaylists_Output{} } +func (m *SoundcloudPlaylists_Output) String() string { return proto.CompactTextString(m) } +func (*SoundcloudPlaylists_Output) ProtoMessage() {} +func (*SoundcloudPlaylists_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{10, 1} } -func (m *Kryptos_Output) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudPlaylists_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Kryptos_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudPlaylists_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Kryptos_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudPlaylists_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1338,40 +1354,40 @@ func (m *Kryptos_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *Kryptos_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Kryptos_Output.Merge(m, src) +func (m *SoundcloudPlaylists_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudPlaylists_Output.Merge(m, src) } -func (m *Kryptos_Output) XXX_Size() int { +func (m *SoundcloudPlaylists_Output) XXX_Size() int { return m.Size() } -func (m *Kryptos_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Kryptos_Output.DiscardUnknown(m) +func (m *SoundcloudPlaylists_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudPlaylists_Output.DiscardUnknown(m) } -var xxx_messageInfo_Kryptos_Output proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudPlaylists_Output proto.InternalMessageInfo -func (m *Kryptos_Output) GetTo() string { +func (m *SoundcloudPlaylists_Output) GetPlaylists() *soundcloud.Playlists { if m != nil { - return m.To + return m.Playlists } - return "" + return nil } -type TpyoEnocde struct { +type SoundcloudPlaylist struct { } -func (m *TpyoEnocde) Reset() { *m = TpyoEnocde{} } -func (m *TpyoEnocde) String() string { return proto.CompactTextString(m) } -func (*TpyoEnocde) ProtoMessage() {} -func (*TpyoEnocde) Descriptor() ([]byte, []int) { +func (m *SoundcloudPlaylist) Reset() { *m = SoundcloudPlaylist{} } +func (m *SoundcloudPlaylist) String() string { return proto.CompactTextString(m) } +func (*SoundcloudPlaylist) ProtoMessage() {} +func (*SoundcloudPlaylist) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{11} } -func (m *TpyoEnocde) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudPlaylist) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *TpyoEnocde) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudPlaylist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_TpyoEnocde.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudPlaylist.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1381,34 +1397,34 @@ func (m *TpyoEnocde) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *TpyoEnocde) XXX_Merge(src proto.Message) { - xxx_messageInfo_TpyoEnocde.Merge(m, src) +func (m *SoundcloudPlaylist) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudPlaylist.Merge(m, src) } -func (m *TpyoEnocde) XXX_Size() int { +func (m *SoundcloudPlaylist) XXX_Size() int { return m.Size() } -func (m *TpyoEnocde) XXX_DiscardUnknown() { - xxx_messageInfo_TpyoEnocde.DiscardUnknown(m) +func (m *SoundcloudPlaylist) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudPlaylist.DiscardUnknown(m) } -var xxx_messageInfo_TpyoEnocde proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudPlaylist proto.InternalMessageInfo -type TpyoEnocde_Ipunt struct { - Form string `protobuf:"bytes,1,opt,name=form,proto3" json:"form,omitempty"` +type SoundcloudPlaylist_Input struct { + PlaylistId uint64 `protobuf:"varint,1,opt,name=playlist_id,json=playlistId,proto3" json:"playlist_id,omitempty"` } -func (m *TpyoEnocde_Ipunt) Reset() { *m = TpyoEnocde_Ipunt{} } -func (m *TpyoEnocde_Ipunt) String() string { return proto.CompactTextString(m) } -func (*TpyoEnocde_Ipunt) ProtoMessage() {} -func (*TpyoEnocde_Ipunt) Descriptor() ([]byte, []int) { +func (m *SoundcloudPlaylist_Input) Reset() { *m = SoundcloudPlaylist_Input{} } +func (m *SoundcloudPlaylist_Input) String() string { return proto.CompactTextString(m) } +func (*SoundcloudPlaylist_Input) ProtoMessage() {} +func (*SoundcloudPlaylist_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{11, 0} } -func (m *TpyoEnocde_Ipunt) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudPlaylist_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *TpyoEnocde_Ipunt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudPlaylist_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_TpyoEnocde_Ipunt.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudPlaylist_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1418,41 +1434,41 @@ func (m *TpyoEnocde_Ipunt) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *TpyoEnocde_Ipunt) XXX_Merge(src proto.Message) { - xxx_messageInfo_TpyoEnocde_Ipunt.Merge(m, src) +func (m *SoundcloudPlaylist_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudPlaylist_Input.Merge(m, src) } -func (m *TpyoEnocde_Ipunt) XXX_Size() int { +func (m *SoundcloudPlaylist_Input) XXX_Size() int { return m.Size() } -func (m *TpyoEnocde_Ipunt) XXX_DiscardUnknown() { - xxx_messageInfo_TpyoEnocde_Ipunt.DiscardUnknown(m) +func (m *SoundcloudPlaylist_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudPlaylist_Input.DiscardUnknown(m) } -var xxx_messageInfo_TpyoEnocde_Ipunt proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudPlaylist_Input proto.InternalMessageInfo -func (m *TpyoEnocde_Ipunt) GetForm() string { +func (m *SoundcloudPlaylist_Input) GetPlaylistId() uint64 { if m != nil { - return m.Form + return m.PlaylistId } - return "" + return 0 } -type TpyoEnocde_Ouptut struct { - To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` +type SoundcloudPlaylist_Output struct { + Playlist *soundcloud.Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"` } -func (m *TpyoEnocde_Ouptut) Reset() { *m = TpyoEnocde_Ouptut{} } -func (m *TpyoEnocde_Ouptut) String() string { return proto.CompactTextString(m) } -func (*TpyoEnocde_Ouptut) ProtoMessage() {} -func (*TpyoEnocde_Ouptut) Descriptor() ([]byte, []int) { +func (m *SoundcloudPlaylist_Output) Reset() { *m = SoundcloudPlaylist_Output{} } +func (m *SoundcloudPlaylist_Output) String() string { return proto.CompactTextString(m) } +func (*SoundcloudPlaylist_Output) ProtoMessage() {} +func (*SoundcloudPlaylist_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{11, 1} } -func (m *TpyoEnocde_Ouptut) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudPlaylist_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *TpyoEnocde_Ouptut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudPlaylist_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_TpyoEnocde_Ouptut.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudPlaylist_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1462,40 +1478,40 @@ func (m *TpyoEnocde_Ouptut) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *TpyoEnocde_Ouptut) XXX_Merge(src proto.Message) { - xxx_messageInfo_TpyoEnocde_Ouptut.Merge(m, src) +func (m *SoundcloudPlaylist_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudPlaylist_Output.Merge(m, src) } -func (m *TpyoEnocde_Ouptut) XXX_Size() int { +func (m *SoundcloudPlaylist_Output) XXX_Size() int { return m.Size() } -func (m *TpyoEnocde_Ouptut) XXX_DiscardUnknown() { - xxx_messageInfo_TpyoEnocde_Ouptut.DiscardUnknown(m) +func (m *SoundcloudPlaylist_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudPlaylist_Output.DiscardUnknown(m) } -var xxx_messageInfo_TpyoEnocde_Ouptut proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudPlaylist_Output proto.InternalMessageInfo -func (m *TpyoEnocde_Ouptut) GetTo() string { +func (m *SoundcloudPlaylist_Output) GetPlaylist() *soundcloud.Playlist { if m != nil { - return m.To + return m.Playlist } - return "" + return nil } -type Numberinfo struct { +type SoundcloudTracks struct { } -func (m *Numberinfo) Reset() { *m = Numberinfo{} } -func (m *Numberinfo) String() string { return proto.CompactTextString(m) } -func (*Numberinfo) ProtoMessage() {} -func (*Numberinfo) Descriptor() ([]byte, []int) { +func (m *SoundcloudTracks) Reset() { *m = SoundcloudTracks{} } +func (m *SoundcloudTracks) String() string { return proto.CompactTextString(m) } +func (*SoundcloudTracks) ProtoMessage() {} +func (*SoundcloudTracks) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{12} } -func (m *Numberinfo) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudTracks) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Numberinfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudTracks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Numberinfo.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudTracks.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1505,34 +1521,33 @@ func (m *Numberinfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Numberinfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Numberinfo.Merge(m, src) +func (m *SoundcloudTracks) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudTracks.Merge(m, src) } -func (m *Numberinfo) XXX_Size() int { +func (m *SoundcloudTracks) XXX_Size() int { return m.Size() } -func (m *Numberinfo) XXX_DiscardUnknown() { - xxx_messageInfo_Numberinfo.DiscardUnknown(m) +func (m *SoundcloudTracks) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudTracks.DiscardUnknown(m) } -var xxx_messageInfo_Numberinfo proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudTracks proto.InternalMessageInfo -type Numberinfo_Input struct { - Number float32 `protobuf:"fixed32,1,opt,name=number,proto3" json:"number,omitempty"` +type SoundcloudTracks_Input struct { } -func (m *Numberinfo_Input) Reset() { *m = Numberinfo_Input{} } -func (m *Numberinfo_Input) String() string { return proto.CompactTextString(m) } -func (*Numberinfo_Input) ProtoMessage() {} -func (*Numberinfo_Input) Descriptor() ([]byte, []int) { +func (m *SoundcloudTracks_Input) Reset() { *m = SoundcloudTracks_Input{} } +func (m *SoundcloudTracks_Input) String() string { return proto.CompactTextString(m) } +func (*SoundcloudTracks_Input) ProtoMessage() {} +func (*SoundcloudTracks_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{12, 0} } -func (m *Numberinfo_Input) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudTracks_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Numberinfo_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudTracks_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Numberinfo_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudTracks_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1542,41 +1557,34 @@ func (m *Numberinfo_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *Numberinfo_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Numberinfo_Input.Merge(m, src) +func (m *SoundcloudTracks_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudTracks_Input.Merge(m, src) } -func (m *Numberinfo_Input) XXX_Size() int { +func (m *SoundcloudTracks_Input) XXX_Size() int { return m.Size() } -func (m *Numberinfo_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Numberinfo_Input.DiscardUnknown(m) +func (m *SoundcloudTracks_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudTracks_Input.DiscardUnknown(m) } -var xxx_messageInfo_Numberinfo_Input proto.InternalMessageInfo - -func (m *Numberinfo_Input) GetNumber() float32 { - if m != nil { - return m.Number - } - return 0 -} +var xxx_messageInfo_SoundcloudTracks_Input proto.InternalMessageInfo -type Numberinfo_Output struct { - Facts map[string]string `protobuf:"bytes,1,rep,name=facts,proto3" json:"facts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +type SoundcloudTracks_Output struct { + Tracks *soundcloud.Tracks `protobuf:"bytes,1,opt,name=tracks,proto3" json:"tracks,omitempty"` } -func (m *Numberinfo_Output) Reset() { *m = Numberinfo_Output{} } -func (m *Numberinfo_Output) String() string { return proto.CompactTextString(m) } -func (*Numberinfo_Output) ProtoMessage() {} -func (*Numberinfo_Output) Descriptor() ([]byte, []int) { +func (m *SoundcloudTracks_Output) Reset() { *m = SoundcloudTracks_Output{} } +func (m *SoundcloudTracks_Output) String() string { return proto.CompactTextString(m) } +func (*SoundcloudTracks_Output) ProtoMessage() {} +func (*SoundcloudTracks_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{12, 1} } -func (m *Numberinfo_Output) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudTracks_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Numberinfo_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudTracks_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Numberinfo_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudTracks_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1586,40 +1594,40 @@ func (m *Numberinfo_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *Numberinfo_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Numberinfo_Output.Merge(m, src) +func (m *SoundcloudTracks_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudTracks_Output.Merge(m, src) } -func (m *Numberinfo_Output) XXX_Size() int { +func (m *SoundcloudTracks_Output) XXX_Size() int { return m.Size() } -func (m *Numberinfo_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Numberinfo_Output.DiscardUnknown(m) +func (m *SoundcloudTracks_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudTracks_Output.DiscardUnknown(m) } -var xxx_messageInfo_Numberinfo_Output proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudTracks_Output proto.InternalMessageInfo -func (m *Numberinfo_Output) GetFacts() map[string]string { +func (m *SoundcloudTracks_Output) GetTracks() *soundcloud.Tracks { if m != nil { - return m.Facts + return m.Tracks } return nil } -type Moijaime struct { +type SoundcloudTrack struct { } -func (m *Moijaime) Reset() { *m = Moijaime{} } -func (m *Moijaime) String() string { return proto.CompactTextString(m) } -func (*Moijaime) ProtoMessage() {} -func (*Moijaime) Descriptor() ([]byte, []int) { +func (m *SoundcloudTrack) Reset() { *m = SoundcloudTrack{} } +func (m *SoundcloudTrack) String() string { return proto.CompactTextString(m) } +func (*SoundcloudTrack) ProtoMessage() {} +func (*SoundcloudTrack) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{13} } -func (m *Moijaime) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudTrack) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Moijaime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudTrack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Moijaime.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudTrack.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1629,33 +1637,34 @@ func (m *Moijaime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Moijaime) XXX_Merge(src proto.Message) { - xxx_messageInfo_Moijaime.Merge(m, src) +func (m *SoundcloudTrack) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudTrack.Merge(m, src) } -func (m *Moijaime) XXX_Size() int { +func (m *SoundcloudTrack) XXX_Size() int { return m.Size() } -func (m *Moijaime) XXX_DiscardUnknown() { - xxx_messageInfo_Moijaime.DiscardUnknown(m) +func (m *SoundcloudTrack) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudTrack.DiscardUnknown(m) } -var xxx_messageInfo_Moijaime proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudTrack proto.InternalMessageInfo -type Moijaime_Input struct { +type SoundcloudTrack_Input struct { + TrackId uint64 `protobuf:"varint,1,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` } -func (m *Moijaime_Input) Reset() { *m = Moijaime_Input{} } -func (m *Moijaime_Input) String() string { return proto.CompactTextString(m) } -func (*Moijaime_Input) ProtoMessage() {} -func (*Moijaime_Input) Descriptor() ([]byte, []int) { +func (m *SoundcloudTrack_Input) Reset() { *m = SoundcloudTrack_Input{} } +func (m *SoundcloudTrack_Input) String() string { return proto.CompactTextString(m) } +func (*SoundcloudTrack_Input) ProtoMessage() {} +func (*SoundcloudTrack_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{13, 0} } -func (m *Moijaime_Input) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudTrack_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Moijaime_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudTrack_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Moijaime_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudTrack_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1665,34 +1674,41 @@ func (m *Moijaime_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *Moijaime_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Moijaime_Input.Merge(m, src) +func (m *SoundcloudTrack_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudTrack_Input.Merge(m, src) } -func (m *Moijaime_Input) XXX_Size() int { +func (m *SoundcloudTrack_Input) XXX_Size() int { return m.Size() } -func (m *Moijaime_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Moijaime_Input.DiscardUnknown(m) +func (m *SoundcloudTrack_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudTrack_Input.DiscardUnknown(m) } -var xxx_messageInfo_Moijaime_Input proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudTrack_Input proto.InternalMessageInfo -type Moijaime_Output struct { - Kiffs []string `protobuf:"bytes,1,rep,name=kiffs,proto3" json:"kiffs,omitempty"` +func (m *SoundcloudTrack_Input) GetTrackId() uint64 { + if m != nil { + return m.TrackId + } + return 0 } -func (m *Moijaime_Output) Reset() { *m = Moijaime_Output{} } -func (m *Moijaime_Output) String() string { return proto.CompactTextString(m) } -func (*Moijaime_Output) ProtoMessage() {} -func (*Moijaime_Output) Descriptor() ([]byte, []int) { +type SoundcloudTrack_Output struct { + Track *soundcloud.Track `protobuf:"bytes,1,opt,name=track,proto3" json:"track,omitempty"` +} + +func (m *SoundcloudTrack_Output) Reset() { *m = SoundcloudTrack_Output{} } +func (m *SoundcloudTrack_Output) String() string { return proto.CompactTextString(m) } +func (*SoundcloudTrack_Output) ProtoMessage() {} +func (*SoundcloudTrack_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{13, 1} } -func (m *Moijaime_Output) XXX_Unmarshal(b []byte) error { +func (m *SoundcloudTrack_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Moijaime_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SoundcloudTrack_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Moijaime_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_SoundcloudTrack_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1702,40 +1718,40 @@ func (m *Moijaime_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *Moijaime_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Moijaime_Output.Merge(m, src) +func (m *SoundcloudTrack_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SoundcloudTrack_Output.Merge(m, src) } -func (m *Moijaime_Output) XXX_Size() int { +func (m *SoundcloudTrack_Output) XXX_Size() int { return m.Size() } -func (m *Moijaime_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Moijaime_Output.DiscardUnknown(m) +func (m *SoundcloudTrack_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SoundcloudTrack_Output.DiscardUnknown(m) } -var xxx_messageInfo_Moijaime_Output proto.InternalMessageInfo +var xxx_messageInfo_SoundcloudTrack_Output proto.InternalMessageInfo -func (m *Moijaime_Output) GetKiffs() []string { +func (m *SoundcloudTrack_Output) GetTrack() *soundcloud.Track { if m != nil { - return m.Kiffs + return m.Track } return nil } -type Wotd struct { +type Metrics struct { } -func (m *Wotd) Reset() { *m = Wotd{} } -func (m *Wotd) String() string { return proto.CompactTextString(m) } -func (*Wotd) ProtoMessage() {} -func (*Wotd) Descriptor() ([]byte, []int) { +func (m *Metrics) Reset() { *m = Metrics{} } +func (m *Metrics) String() string { return proto.CompactTextString(m) } +func (*Metrics) ProtoMessage() {} +func (*Metrics) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{14} } -func (m *Wotd) XXX_Unmarshal(b []byte) error { +func (m *Metrics) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Wotd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Metrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Wotd.Marshal(b, m, deterministic) + return xxx_messageInfo_Metrics.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1745,33 +1761,33 @@ func (m *Wotd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Wotd) XXX_Merge(src proto.Message) { - xxx_messageInfo_Wotd.Merge(m, src) +func (m *Metrics) XXX_Merge(src proto.Message) { + xxx_messageInfo_Metrics.Merge(m, src) } -func (m *Wotd) XXX_Size() int { +func (m *Metrics) XXX_Size() int { return m.Size() } -func (m *Wotd) XXX_DiscardUnknown() { - xxx_messageInfo_Wotd.DiscardUnknown(m) +func (m *Metrics) XXX_DiscardUnknown() { + xxx_messageInfo_Metrics.DiscardUnknown(m) } -var xxx_messageInfo_Wotd proto.InternalMessageInfo +var xxx_messageInfo_Metrics proto.InternalMessageInfo -type Wotd_Input struct { +type Metrics_Input struct { } -func (m *Wotd_Input) Reset() { *m = Wotd_Input{} } -func (m *Wotd_Input) String() string { return proto.CompactTextString(m) } -func (*Wotd_Input) ProtoMessage() {} -func (*Wotd_Input) Descriptor() ([]byte, []int) { +func (m *Metrics_Input) Reset() { *m = Metrics_Input{} } +func (m *Metrics_Input) String() string { return proto.CompactTextString(m) } +func (*Metrics_Input) ProtoMessage() {} +func (*Metrics_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{14, 0} } -func (m *Wotd_Input) XXX_Unmarshal(b []byte) error { +func (m *Metrics_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Wotd_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Metrics_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Wotd_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_Metrics_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1781,34 +1797,37 @@ func (m *Wotd_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Wotd_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Wotd_Input.Merge(m, src) +func (m *Metrics_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Metrics_Input.Merge(m, src) } -func (m *Wotd_Input) XXX_Size() int { +func (m *Metrics_Input) XXX_Size() int { return m.Size() } -func (m *Wotd_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Wotd_Input.DiscardUnknown(m) +func (m *Metrics_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Metrics_Input.DiscardUnknown(m) } -var xxx_messageInfo_Wotd_Input proto.InternalMessageInfo +var xxx_messageInfo_Metrics_Input proto.InternalMessageInfo -type Wotd_Output struct { - Word string `protobuf:"bytes,1,opt,name=word,proto3" json:"word,omitempty"` +type Metrics_Output struct { + StaticBoxSize int32 `protobuf:"varint,1,opt,name=static_box_size,json=staticBoxSize,proto3" json:"static_box_size,omitempty"` + ServerStartTime string `protobuf:"bytes,2,opt,name=server_start_time,json=serverStartTime,proto3" json:"server_start_time,omitempty"` + ServerCurrentTime string `protobuf:"bytes,3,opt,name=server_current_time,json=serverCurrentTime,proto3" json:"server_current_time,omitempty"` + ServerUptime string `protobuf:"bytes,4,opt,name=server_uptime,json=serverUptime,proto3" json:"server_uptime,omitempty"` } -func (m *Wotd_Output) Reset() { *m = Wotd_Output{} } -func (m *Wotd_Output) String() string { return proto.CompactTextString(m) } -func (*Wotd_Output) ProtoMessage() {} -func (*Wotd_Output) Descriptor() ([]byte, []int) { +func (m *Metrics_Output) Reset() { *m = Metrics_Output{} } +func (m *Metrics_Output) String() string { return proto.CompactTextString(m) } +func (*Metrics_Output) ProtoMessage() {} +func (*Metrics_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{14, 1} } -func (m *Wotd_Output) XXX_Unmarshal(b []byte) error { +func (m *Metrics_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Wotd_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Metrics_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Wotd_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_Metrics_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1818,40 +1837,61 @@ func (m *Wotd_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *Wotd_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Wotd_Output.Merge(m, src) +func (m *Metrics_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Metrics_Output.Merge(m, src) } -func (m *Wotd_Output) XXX_Size() int { +func (m *Metrics_Output) XXX_Size() int { return m.Size() } -func (m *Wotd_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Wotd_Output.DiscardUnknown(m) +func (m *Metrics_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Metrics_Output.DiscardUnknown(m) } -var xxx_messageInfo_Wotd_Output proto.InternalMessageInfo +var xxx_messageInfo_Metrics_Output proto.InternalMessageInfo -func (m *Wotd_Output) GetWord() string { +func (m *Metrics_Output) GetStaticBoxSize() int32 { if m != nil { - return m.Word + return m.StaticBoxSize + } + return 0 +} + +func (m *Metrics_Output) GetServerStartTime() string { + if m != nil { + return m.ServerStartTime } return "" } -type AlternateLogo struct { +func (m *Metrics_Output) GetServerCurrentTime() string { + if m != nil { + return m.ServerCurrentTime + } + return "" } -func (m *AlternateLogo) Reset() { *m = AlternateLogo{} } -func (m *AlternateLogo) String() string { return proto.CompactTextString(m) } -func (*AlternateLogo) ProtoMessage() {} -func (*AlternateLogo) Descriptor() ([]byte, []int) { +func (m *Metrics_Output) GetServerUptime() string { + if m != nil { + return m.ServerUptime + } + return "" +} + +type Ping struct { +} + +func (m *Ping) Reset() { *m = Ping{} } +func (m *Ping) String() string { return proto.CompactTextString(m) } +func (*Ping) ProtoMessage() {} +func (*Ping) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{15} } -func (m *AlternateLogo) XXX_Unmarshal(b []byte) error { +func (m *Ping) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AlternateLogo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AlternateLogo.Marshal(b, m, deterministic) + return xxx_messageInfo_Ping.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1861,33 +1901,33 @@ func (m *AlternateLogo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *AlternateLogo) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlternateLogo.Merge(m, src) +func (m *Ping) XXX_Merge(src proto.Message) { + xxx_messageInfo_Ping.Merge(m, src) } -func (m *AlternateLogo) XXX_Size() int { +func (m *Ping) XXX_Size() int { return m.Size() } -func (m *AlternateLogo) XXX_DiscardUnknown() { - xxx_messageInfo_AlternateLogo.DiscardUnknown(m) +func (m *Ping) XXX_DiscardUnknown() { + xxx_messageInfo_Ping.DiscardUnknown(m) } -var xxx_messageInfo_AlternateLogo proto.InternalMessageInfo +var xxx_messageInfo_Ping proto.InternalMessageInfo -type AlternateLogo_Input struct { +type Ping_Input struct { } -func (m *AlternateLogo_Input) Reset() { *m = AlternateLogo_Input{} } -func (m *AlternateLogo_Input) String() string { return proto.CompactTextString(m) } -func (*AlternateLogo_Input) ProtoMessage() {} -func (*AlternateLogo_Input) Descriptor() ([]byte, []int) { - return fileDescriptor_b4e0a0c9e1471050, []int{15, 0} -} -func (m *AlternateLogo_Input) XXX_Unmarshal(b []byte) error { +func (m *Ping_Input) Reset() { *m = Ping_Input{} } +func (m *Ping_Input) String() string { return proto.CompactTextString(m) } +func (*Ping_Input) ProtoMessage() {} +func (*Ping_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{15, 0} +} +func (m *Ping_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AlternateLogo_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Ping_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AlternateLogo_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_Ping_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1897,34 +1937,34 @@ func (m *AlternateLogo_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *AlternateLogo_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlternateLogo_Input.Merge(m, src) +func (m *Ping_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Ping_Input.Merge(m, src) } -func (m *AlternateLogo_Input) XXX_Size() int { +func (m *Ping_Input) XXX_Size() int { return m.Size() } -func (m *AlternateLogo_Input) XXX_DiscardUnknown() { - xxx_messageInfo_AlternateLogo_Input.DiscardUnknown(m) +func (m *Ping_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Ping_Input.DiscardUnknown(m) } -var xxx_messageInfo_AlternateLogo_Input proto.InternalMessageInfo +var xxx_messageInfo_Ping_Input proto.InternalMessageInfo -type AlternateLogo_Output struct { - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` +type Ping_Output struct { + Pong string `protobuf:"bytes,1,opt,name=pong,proto3" json:"pong,omitempty"` } -func (m *AlternateLogo_Output) Reset() { *m = AlternateLogo_Output{} } -func (m *AlternateLogo_Output) String() string { return proto.CompactTextString(m) } -func (*AlternateLogo_Output) ProtoMessage() {} -func (*AlternateLogo_Output) Descriptor() ([]byte, []int) { +func (m *Ping_Output) Reset() { *m = Ping_Output{} } +func (m *Ping_Output) String() string { return proto.CompactTextString(m) } +func (*Ping_Output) ProtoMessage() {} +func (*Ping_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{15, 1} } -func (m *AlternateLogo_Output) XXX_Unmarshal(b []byte) error { +func (m *Ping_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *AlternateLogo_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Ping_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_AlternateLogo_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_Ping_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1934,40 +1974,40 @@ func (m *AlternateLogo_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *AlternateLogo_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_AlternateLogo_Output.Merge(m, src) +func (m *Ping_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Ping_Output.Merge(m, src) } -func (m *AlternateLogo_Output) XXX_Size() int { +func (m *Ping_Output) XXX_Size() int { return m.Size() } -func (m *AlternateLogo_Output) XXX_DiscardUnknown() { - xxx_messageInfo_AlternateLogo_Output.DiscardUnknown(m) +func (m *Ping_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Ping_Output.DiscardUnknown(m) } -var xxx_messageInfo_AlternateLogo_Output proto.InternalMessageInfo +var xxx_messageInfo_Ping_Output proto.InternalMessageInfo -func (m *AlternateLogo_Output) GetPath() string { +func (m *Ping_Output) GetPong() string { if m != nil { - return m.Path + return m.Pong } return "" } -type SpreadshirtRandom struct { +type Kryptos struct { } -func (m *SpreadshirtRandom) Reset() { *m = SpreadshirtRandom{} } -func (m *SpreadshirtRandom) String() string { return proto.CompactTextString(m) } -func (*SpreadshirtRandom) ProtoMessage() {} -func (*SpreadshirtRandom) Descriptor() ([]byte, []int) { +func (m *Kryptos) Reset() { *m = Kryptos{} } +func (m *Kryptos) String() string { return proto.CompactTextString(m) } +func (*Kryptos) ProtoMessage() {} +func (*Kryptos) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{16} } -func (m *SpreadshirtRandom) XXX_Unmarshal(b []byte) error { +func (m *Kryptos) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SpreadshirtRandom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Kryptos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SpreadshirtRandom.Marshal(b, m, deterministic) + return xxx_messageInfo_Kryptos.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1977,33 +2017,34 @@ func (m *SpreadshirtRandom) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *SpreadshirtRandom) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpreadshirtRandom.Merge(m, src) +func (m *Kryptos) XXX_Merge(src proto.Message) { + xxx_messageInfo_Kryptos.Merge(m, src) } -func (m *SpreadshirtRandom) XXX_Size() int { +func (m *Kryptos) XXX_Size() int { return m.Size() } -func (m *SpreadshirtRandom) XXX_DiscardUnknown() { - xxx_messageInfo_SpreadshirtRandom.DiscardUnknown(m) +func (m *Kryptos) XXX_DiscardUnknown() { + xxx_messageInfo_Kryptos.DiscardUnknown(m) } -var xxx_messageInfo_SpreadshirtRandom proto.InternalMessageInfo +var xxx_messageInfo_Kryptos proto.InternalMessageInfo -type SpreadshirtRandom_Input struct { +type Kryptos_Input struct { + From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` } -func (m *SpreadshirtRandom_Input) Reset() { *m = SpreadshirtRandom_Input{} } -func (m *SpreadshirtRandom_Input) String() string { return proto.CompactTextString(m) } -func (*SpreadshirtRandom_Input) ProtoMessage() {} -func (*SpreadshirtRandom_Input) Descriptor() ([]byte, []int) { +func (m *Kryptos_Input) Reset() { *m = Kryptos_Input{} } +func (m *Kryptos_Input) String() string { return proto.CompactTextString(m) } +func (*Kryptos_Input) ProtoMessage() {} +func (*Kryptos_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{16, 0} } -func (m *SpreadshirtRandom_Input) XXX_Unmarshal(b []byte) error { +func (m *Kryptos_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SpreadshirtRandom_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Kryptos_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SpreadshirtRandom_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_Kryptos_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2013,33 +2054,41 @@ func (m *SpreadshirtRandom_Input) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *SpreadshirtRandom_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpreadshirtRandom_Input.Merge(m, src) +func (m *Kryptos_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Kryptos_Input.Merge(m, src) } -func (m *SpreadshirtRandom_Input) XXX_Size() int { +func (m *Kryptos_Input) XXX_Size() int { return m.Size() } -func (m *SpreadshirtRandom_Input) XXX_DiscardUnknown() { - xxx_messageInfo_SpreadshirtRandom_Input.DiscardUnknown(m) +func (m *Kryptos_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Kryptos_Input.DiscardUnknown(m) } -var xxx_messageInfo_SpreadshirtRandom_Input proto.InternalMessageInfo +var xxx_messageInfo_Kryptos_Input proto.InternalMessageInfo -type SpreadshirtRandom_Output struct { +func (m *Kryptos_Input) GetFrom() string { + if m != nil { + return m.From + } + return "" } -func (m *SpreadshirtRandom_Output) Reset() { *m = SpreadshirtRandom_Output{} } -func (m *SpreadshirtRandom_Output) String() string { return proto.CompactTextString(m) } -func (*SpreadshirtRandom_Output) ProtoMessage() {} -func (*SpreadshirtRandom_Output) Descriptor() ([]byte, []int) { +type Kryptos_Output struct { + To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` +} + +func (m *Kryptos_Output) Reset() { *m = Kryptos_Output{} } +func (m *Kryptos_Output) String() string { return proto.CompactTextString(m) } +func (*Kryptos_Output) ProtoMessage() {} +func (*Kryptos_Output) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{16, 1} } -func (m *SpreadshirtRandom_Output) XXX_Unmarshal(b []byte) error { +func (m *Kryptos_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SpreadshirtRandom_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Kryptos_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SpreadshirtRandom_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_Kryptos_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2049,33 +2098,40 @@ func (m *SpreadshirtRandom_Output) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *SpreadshirtRandom_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpreadshirtRandom_Output.Merge(m, src) +func (m *Kryptos_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Kryptos_Output.Merge(m, src) } -func (m *SpreadshirtRandom_Output) XXX_Size() int { +func (m *Kryptos_Output) XXX_Size() int { return m.Size() } -func (m *SpreadshirtRandom_Output) XXX_DiscardUnknown() { - xxx_messageInfo_SpreadshirtRandom_Output.DiscardUnknown(m) +func (m *Kryptos_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Kryptos_Output.DiscardUnknown(m) } -var xxx_messageInfo_SpreadshirtRandom_Output proto.InternalMessageInfo +var xxx_messageInfo_Kryptos_Output proto.InternalMessageInfo -type SpreadshirtAll struct { +func (m *Kryptos_Output) GetTo() string { + if m != nil { + return m.To + } + return "" } -func (m *SpreadshirtAll) Reset() { *m = SpreadshirtAll{} } -func (m *SpreadshirtAll) String() string { return proto.CompactTextString(m) } -func (*SpreadshirtAll) ProtoMessage() {} -func (*SpreadshirtAll) Descriptor() ([]byte, []int) { +type TpyoEnocde struct { +} + +func (m *TpyoEnocde) Reset() { *m = TpyoEnocde{} } +func (m *TpyoEnocde) String() string { return proto.CompactTextString(m) } +func (*TpyoEnocde) ProtoMessage() {} +func (*TpyoEnocde) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{17} } -func (m *SpreadshirtAll) XXX_Unmarshal(b []byte) error { +func (m *TpyoEnocde) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SpreadshirtAll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *TpyoEnocde) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SpreadshirtAll.Marshal(b, m, deterministic) + return xxx_messageInfo_TpyoEnocde.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2085,33 +2141,34 @@ func (m *SpreadshirtAll) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *SpreadshirtAll) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpreadshirtAll.Merge(m, src) +func (m *TpyoEnocde) XXX_Merge(src proto.Message) { + xxx_messageInfo_TpyoEnocde.Merge(m, src) } -func (m *SpreadshirtAll) XXX_Size() int { +func (m *TpyoEnocde) XXX_Size() int { return m.Size() } -func (m *SpreadshirtAll) XXX_DiscardUnknown() { - xxx_messageInfo_SpreadshirtAll.DiscardUnknown(m) +func (m *TpyoEnocde) XXX_DiscardUnknown() { + xxx_messageInfo_TpyoEnocde.DiscardUnknown(m) } -var xxx_messageInfo_SpreadshirtAll proto.InternalMessageInfo +var xxx_messageInfo_TpyoEnocde proto.InternalMessageInfo -type SpreadshirtAll_Input struct { +type TpyoEnocde_Ipunt struct { + Form string `protobuf:"bytes,1,opt,name=form,proto3" json:"form,omitempty"` } -func (m *SpreadshirtAll_Input) Reset() { *m = SpreadshirtAll_Input{} } -func (m *SpreadshirtAll_Input) String() string { return proto.CompactTextString(m) } -func (*SpreadshirtAll_Input) ProtoMessage() {} -func (*SpreadshirtAll_Input) Descriptor() ([]byte, []int) { +func (m *TpyoEnocde_Ipunt) Reset() { *m = TpyoEnocde_Ipunt{} } +func (m *TpyoEnocde_Ipunt) String() string { return proto.CompactTextString(m) } +func (*TpyoEnocde_Ipunt) ProtoMessage() {} +func (*TpyoEnocde_Ipunt) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{17, 0} } -func (m *SpreadshirtAll_Input) XXX_Unmarshal(b []byte) error { +func (m *TpyoEnocde_Ipunt) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SpreadshirtAll_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *TpyoEnocde_Ipunt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SpreadshirtAll_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_TpyoEnocde_Ipunt.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2121,33 +2178,41 @@ func (m *SpreadshirtAll_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *SpreadshirtAll_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpreadshirtAll_Input.Merge(m, src) +func (m *TpyoEnocde_Ipunt) XXX_Merge(src proto.Message) { + xxx_messageInfo_TpyoEnocde_Ipunt.Merge(m, src) } -func (m *SpreadshirtAll_Input) XXX_Size() int { +func (m *TpyoEnocde_Ipunt) XXX_Size() int { return m.Size() } -func (m *SpreadshirtAll_Input) XXX_DiscardUnknown() { - xxx_messageInfo_SpreadshirtAll_Input.DiscardUnknown(m) +func (m *TpyoEnocde_Ipunt) XXX_DiscardUnknown() { + xxx_messageInfo_TpyoEnocde_Ipunt.DiscardUnknown(m) } -var xxx_messageInfo_SpreadshirtAll_Input proto.InternalMessageInfo +var xxx_messageInfo_TpyoEnocde_Ipunt proto.InternalMessageInfo -type SpreadshirtAll_Output struct { +func (m *TpyoEnocde_Ipunt) GetForm() string { + if m != nil { + return m.Form + } + return "" } -func (m *SpreadshirtAll_Output) Reset() { *m = SpreadshirtAll_Output{} } -func (m *SpreadshirtAll_Output) String() string { return proto.CompactTextString(m) } -func (*SpreadshirtAll_Output) ProtoMessage() {} -func (*SpreadshirtAll_Output) Descriptor() ([]byte, []int) { +type TpyoEnocde_Ouptut struct { + To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` +} + +func (m *TpyoEnocde_Ouptut) Reset() { *m = TpyoEnocde_Ouptut{} } +func (m *TpyoEnocde_Ouptut) String() string { return proto.CompactTextString(m) } +func (*TpyoEnocde_Ouptut) ProtoMessage() {} +func (*TpyoEnocde_Ouptut) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{17, 1} } -func (m *SpreadshirtAll_Output) XXX_Unmarshal(b []byte) error { +func (m *TpyoEnocde_Ouptut) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SpreadshirtAll_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *TpyoEnocde_Ouptut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SpreadshirtAll_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_TpyoEnocde_Ouptut.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2157,33 +2222,40 @@ func (m *SpreadshirtAll_Output) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *SpreadshirtAll_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpreadshirtAll_Output.Merge(m, src) +func (m *TpyoEnocde_Ouptut) XXX_Merge(src proto.Message) { + xxx_messageInfo_TpyoEnocde_Ouptut.Merge(m, src) } -func (m *SpreadshirtAll_Output) XXX_Size() int { +func (m *TpyoEnocde_Ouptut) XXX_Size() int { return m.Size() } -func (m *SpreadshirtAll_Output) XXX_DiscardUnknown() { - xxx_messageInfo_SpreadshirtAll_Output.DiscardUnknown(m) +func (m *TpyoEnocde_Ouptut) XXX_DiscardUnknown() { + xxx_messageInfo_TpyoEnocde_Ouptut.DiscardUnknown(m) } -var xxx_messageInfo_SpreadshirtAll_Output proto.InternalMessageInfo - -type Recettator struct { -} +var xxx_messageInfo_TpyoEnocde_Ouptut proto.InternalMessageInfo -func (m *Recettator) Reset() { *m = Recettator{} } -func (m *Recettator) String() string { return proto.CompactTextString(m) } -func (*Recettator) ProtoMessage() {} -func (*Recettator) Descriptor() ([]byte, []int) { +func (m *TpyoEnocde_Ouptut) GetTo() string { + if m != nil { + return m.To + } + return "" +} + +type Numberinfo struct { +} + +func (m *Numberinfo) Reset() { *m = Numberinfo{} } +func (m *Numberinfo) String() string { return proto.CompactTextString(m) } +func (*Numberinfo) ProtoMessage() {} +func (*Numberinfo) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{18} } -func (m *Recettator) XXX_Unmarshal(b []byte) error { +func (m *Numberinfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Recettator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Numberinfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Recettator.Marshal(b, m, deterministic) + return xxx_messageInfo_Numberinfo.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2193,37 +2265,34 @@ func (m *Recettator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Recettator) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recettator.Merge(m, src) +func (m *Numberinfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_Numberinfo.Merge(m, src) } -func (m *Recettator) XXX_Size() int { +func (m *Numberinfo) XXX_Size() int { return m.Size() } -func (m *Recettator) XXX_DiscardUnknown() { - xxx_messageInfo_Recettator.DiscardUnknown(m) +func (m *Numberinfo) XXX_DiscardUnknown() { + xxx_messageInfo_Numberinfo.DiscardUnknown(m) } -var xxx_messageInfo_Recettator proto.InternalMessageInfo +var xxx_messageInfo_Numberinfo proto.InternalMessageInfo -type Recettator_Input struct { - Seed int64 `protobuf:"varint,1,opt,name=seed,proto3" json:"seed,omitempty"` - MainIngredients uint64 `protobuf:"varint,2,opt,name=main_ingredients,json=mainIngredients,proto3" json:"main_ingredients,omitempty"` - SecondaryIngredients uint64 `protobuf:"varint,3,opt,name=secondary_ingredients,json=secondaryIngredients,proto3" json:"secondary_ingredients,omitempty"` - Steps uint64 `protobuf:"varint,4,opt,name=steps,proto3" json:"steps,omitempty"` +type Numberinfo_Input struct { + Number float32 `protobuf:"fixed32,1,opt,name=number,proto3" json:"number,omitempty"` } -func (m *Recettator_Input) Reset() { *m = Recettator_Input{} } -func (m *Recettator_Input) String() string { return proto.CompactTextString(m) } -func (*Recettator_Input) ProtoMessage() {} -func (*Recettator_Input) Descriptor() ([]byte, []int) { +func (m *Numberinfo_Input) Reset() { *m = Numberinfo_Input{} } +func (m *Numberinfo_Input) String() string { return proto.CompactTextString(m) } +func (*Numberinfo_Input) ProtoMessage() {} +func (*Numberinfo_Input) Descriptor() ([]byte, []int) { return fileDescriptor_b4e0a0c9e1471050, []int{18, 0} } -func (m *Recettator_Input) XXX_Unmarshal(b []byte) error { +func (m *Numberinfo_Input) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Recettator_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Numberinfo_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Recettator_Input.Marshal(b, m, deterministic) + return xxx_messageInfo_Numberinfo_Input.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2233,68 +2302,84 @@ func (m *Recettator_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *Recettator_Input) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recettator_Input.Merge(m, src) +func (m *Numberinfo_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Numberinfo_Input.Merge(m, src) } -func (m *Recettator_Input) XXX_Size() int { +func (m *Numberinfo_Input) XXX_Size() int { return m.Size() } -func (m *Recettator_Input) XXX_DiscardUnknown() { - xxx_messageInfo_Recettator_Input.DiscardUnknown(m) +func (m *Numberinfo_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Numberinfo_Input.DiscardUnknown(m) } -var xxx_messageInfo_Recettator_Input proto.InternalMessageInfo +var xxx_messageInfo_Numberinfo_Input proto.InternalMessageInfo -func (m *Recettator_Input) GetSeed() int64 { +func (m *Numberinfo_Input) GetNumber() float32 { if m != nil { - return m.Seed + return m.Number } return 0 } -func (m *Recettator_Input) GetMainIngredients() uint64 { - if m != nil { - return m.MainIngredients - } - return 0 +type Numberinfo_Output struct { + Facts map[string]string `protobuf:"bytes,1,rep,name=facts,proto3" json:"facts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Recettator_Input) GetSecondaryIngredients() uint64 { - if m != nil { - return m.SecondaryIngredients +func (m *Numberinfo_Output) Reset() { *m = Numberinfo_Output{} } +func (m *Numberinfo_Output) String() string { return proto.CompactTextString(m) } +func (*Numberinfo_Output) ProtoMessage() {} +func (*Numberinfo_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{18, 1} +} +func (m *Numberinfo_Output) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Numberinfo_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Numberinfo_Output.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return 0 +} +func (m *Numberinfo_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Numberinfo_Output.Merge(m, src) +} +func (m *Numberinfo_Output) XXX_Size() int { + return m.Size() +} +func (m *Numberinfo_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Numberinfo_Output.DiscardUnknown(m) } -func (m *Recettator_Input) GetSteps() uint64 { +var xxx_messageInfo_Numberinfo_Output proto.InternalMessageInfo + +func (m *Numberinfo_Output) GetFacts() map[string]string { if m != nil { - return m.Steps + return m.Facts } - return 0 + return nil } -type Recettator_Output struct { - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - People uint64 `protobuf:"varint,2,opt,name=people,proto3" json:"people,omitempty"` - Markdown string `protobuf:"bytes,3,opt,name=markdown,proto3" json:"markdown,omitempty"` - Steps []string `protobuf:"bytes,4,rep,name=steps,proto3" json:"steps,omitempty"` - MainIngredients []*Recettator_Ingredient `protobuf:"bytes,5,rep,name=main_ingredients,json=mainIngredients,proto3" json:"main_ingredients,omitempty"` - SecondaryIngredients []*Recettator_Ingredient `protobuf:"bytes,6,rep,name=secondary_ingredients,json=secondaryIngredients,proto3" json:"secondary_ingredients,omitempty"` - Seed int64 `protobuf:"varint,7,opt,name=seed,proto3" json:"seed,omitempty"` +type Moijaime struct { } -func (m *Recettator_Output) Reset() { *m = Recettator_Output{} } -func (m *Recettator_Output) String() string { return proto.CompactTextString(m) } -func (*Recettator_Output) ProtoMessage() {} -func (*Recettator_Output) Descriptor() ([]byte, []int) { - return fileDescriptor_b4e0a0c9e1471050, []int{18, 1} +func (m *Moijaime) Reset() { *m = Moijaime{} } +func (m *Moijaime) String() string { return proto.CompactTextString(m) } +func (*Moijaime) ProtoMessage() {} +func (*Moijaime) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{19} } -func (m *Recettator_Output) XXX_Unmarshal(b []byte) error { +func (m *Moijaime) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Recettator_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Moijaime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Recettator_Output.Marshal(b, m, deterministic) + return xxx_messageInfo_Moijaime.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2304,89 +2389,70 @@ func (m *Recettator_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *Recettator_Output) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recettator_Output.Merge(m, src) +func (m *Moijaime) XXX_Merge(src proto.Message) { + xxx_messageInfo_Moijaime.Merge(m, src) } -func (m *Recettator_Output) XXX_Size() int { +func (m *Moijaime) XXX_Size() int { return m.Size() } -func (m *Recettator_Output) XXX_DiscardUnknown() { - xxx_messageInfo_Recettator_Output.DiscardUnknown(m) +func (m *Moijaime) XXX_DiscardUnknown() { + xxx_messageInfo_Moijaime.DiscardUnknown(m) } -var xxx_messageInfo_Recettator_Output proto.InternalMessageInfo +var xxx_messageInfo_Moijaime proto.InternalMessageInfo -func (m *Recettator_Output) GetTitle() string { - if m != nil { - return m.Title - } - return "" +type Moijaime_Input struct { } -func (m *Recettator_Output) GetPeople() uint64 { - if m != nil { - return m.People - } - return 0 +func (m *Moijaime_Input) Reset() { *m = Moijaime_Input{} } +func (m *Moijaime_Input) String() string { return proto.CompactTextString(m) } +func (*Moijaime_Input) ProtoMessage() {} +func (*Moijaime_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{19, 0} } - -func (m *Recettator_Output) GetMarkdown() string { - if m != nil { - return m.Markdown - } - return "" +func (m *Moijaime_Input) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *Recettator_Output) GetSteps() []string { - if m != nil { - return m.Steps +func (m *Moijaime_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Moijaime_Input.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return nil } - -func (m *Recettator_Output) GetMainIngredients() []*Recettator_Ingredient { - if m != nil { - return m.MainIngredients - } - return nil +func (m *Moijaime_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Moijaime_Input.Merge(m, src) } - -func (m *Recettator_Output) GetSecondaryIngredients() []*Recettator_Ingredient { - if m != nil { - return m.SecondaryIngredients - } - return nil +func (m *Moijaime_Input) XXX_Size() int { + return m.Size() } - -func (m *Recettator_Output) GetSeed() int64 { - if m != nil { - return m.Seed - } - return 0 +func (m *Moijaime_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Moijaime_Input.DiscardUnknown(m) } -type Recettator_Ingredient struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` - Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` - Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"` - Multiple bool `protobuf:"varint,5,opt,name=multiple,proto3" json:"multiple,omitempty"` - Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` - NameAndQuantity string `protobuf:"bytes,7,opt,name=name_and_quantity,json=nameAndQuantity,proto3" json:"name_and_quantity,omitempty"` +var xxx_messageInfo_Moijaime_Input proto.InternalMessageInfo + +type Moijaime_Output struct { + Kiffs []string `protobuf:"bytes,1,rep,name=kiffs,proto3" json:"kiffs,omitempty"` } -func (m *Recettator_Ingredient) Reset() { *m = Recettator_Ingredient{} } -func (m *Recettator_Ingredient) String() string { return proto.CompactTextString(m) } -func (*Recettator_Ingredient) ProtoMessage() {} -func (*Recettator_Ingredient) Descriptor() ([]byte, []int) { - return fileDescriptor_b4e0a0c9e1471050, []int{18, 2} +func (m *Moijaime_Output) Reset() { *m = Moijaime_Output{} } +func (m *Moijaime_Output) String() string { return proto.CompactTextString(m) } +func (*Moijaime_Output) ProtoMessage() {} +func (*Moijaime_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{19, 1} } -func (m *Recettator_Ingredient) XXX_Unmarshal(b []byte) error { +func (m *Moijaime_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Recettator_Ingredient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Moijaime_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Recettator_Ingredient.Marshal(b, m, deterministic) + return xxx_messageInfo_Moijaime_Output.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2396,1846 +2462,1962 @@ func (m *Recettator_Ingredient) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *Recettator_Ingredient) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recettator_Ingredient.Merge(m, src) +func (m *Moijaime_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Moijaime_Output.Merge(m, src) } -func (m *Recettator_Ingredient) XXX_Size() int { +func (m *Moijaime_Output) XXX_Size() int { return m.Size() } -func (m *Recettator_Ingredient) XXX_DiscardUnknown() { - xxx_messageInfo_Recettator_Ingredient.DiscardUnknown(m) +func (m *Moijaime_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Moijaime_Output.DiscardUnknown(m) } -var xxx_messageInfo_Recettator_Ingredient proto.InternalMessageInfo +var xxx_messageInfo_Moijaime_Output proto.InternalMessageInfo -func (m *Recettator_Ingredient) GetName() string { +func (m *Moijaime_Output) GetKiffs() []string { if m != nil { - return m.Name + return m.Kiffs } - return "" + return nil } -func (m *Recettator_Ingredient) GetQuantity() string { - if m != nil { - return m.Quantity - } - return "" +type Wotd struct { } -func (m *Recettator_Ingredient) GetMethod() string { - if m != nil { - return m.Method - } - return "" +func (m *Wotd) Reset() { *m = Wotd{} } +func (m *Wotd) String() string { return proto.CompactTextString(m) } +func (*Wotd) ProtoMessage() {} +func (*Wotd) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{20} } - -func (m *Recettator_Ingredient) GetGender() string { - if m != nil { - return m.Gender - } - return "" +func (m *Wotd) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *Recettator_Ingredient) GetMultiple() bool { - if m != nil { - return m.Multiple +func (m *Wotd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Wotd.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return false } - -func (m *Recettator_Ingredient) GetKind() string { - if m != nil { - return m.Kind - } - return "" +func (m *Wotd) XXX_Merge(src proto.Message) { + xxx_messageInfo_Wotd.Merge(m, src) } - -func (m *Recettator_Ingredient) GetNameAndQuantity() string { - if m != nil { - return m.NameAndQuantity - } - return "" +func (m *Wotd) XXX_Size() int { + return m.Size() } - -func init() { - proto.RegisterType((*Dashboard)(nil), "calcbiz.calcapi.Dashboard") - proto.RegisterType((*Dashboard_Input)(nil), "calcbiz.calcapi.Dashboard.Input") - proto.RegisterType((*Dashboard_Output)(nil), "calcbiz.calcapi.Dashboard.Output") - proto.RegisterType((*Hackz)(nil), "calcbiz.calcapi.Hackz") - proto.RegisterType((*Hackz_Input)(nil), "calcbiz.calcapi.Hackz.Input") - proto.RegisterType((*Hackz_Output)(nil), "calcbiz.calcapi.Hackz.Output") - proto.RegisterType((*Crew)(nil), "calcbiz.calcapi.Crew") - proto.RegisterType((*Crew_Input)(nil), "calcbiz.calcapi.Crew.Input") - proto.RegisterType((*Crew_Output)(nil), "calcbiz.calcapi.Crew.Output") - proto.RegisterType((*SoundcloudMe)(nil), "calcbiz.calcapi.SoundcloudMe") - proto.RegisterType((*SoundcloudMe_Input)(nil), "calcbiz.calcapi.SoundcloudMe.Input") - proto.RegisterType((*SoundcloudMe_Output)(nil), "calcbiz.calcapi.SoundcloudMe.Output") - proto.RegisterType((*SoundcloudPlaylists)(nil), "calcbiz.calcapi.SoundcloudPlaylists") - proto.RegisterType((*SoundcloudPlaylists_Input)(nil), "calcbiz.calcapi.SoundcloudPlaylists.Input") - proto.RegisterType((*SoundcloudPlaylists_Output)(nil), "calcbiz.calcapi.SoundcloudPlaylists.Output") - proto.RegisterType((*SoundcloudPlaylist)(nil), "calcbiz.calcapi.SoundcloudPlaylist") - proto.RegisterType((*SoundcloudPlaylist_Input)(nil), "calcbiz.calcapi.SoundcloudPlaylist.Input") - proto.RegisterType((*SoundcloudPlaylist_Output)(nil), "calcbiz.calcapi.SoundcloudPlaylist.Output") - proto.RegisterType((*SoundcloudTracks)(nil), "calcbiz.calcapi.SoundcloudTracks") - proto.RegisterType((*SoundcloudTracks_Input)(nil), "calcbiz.calcapi.SoundcloudTracks.Input") - proto.RegisterType((*SoundcloudTracks_Output)(nil), "calcbiz.calcapi.SoundcloudTracks.Output") - proto.RegisterType((*SoundcloudTrack)(nil), "calcbiz.calcapi.SoundcloudTrack") - proto.RegisterType((*SoundcloudTrack_Input)(nil), "calcbiz.calcapi.SoundcloudTrack.Input") - proto.RegisterType((*SoundcloudTrack_Output)(nil), "calcbiz.calcapi.SoundcloudTrack.Output") - proto.RegisterType((*Metrics)(nil), "calcbiz.calcapi.Metrics") - proto.RegisterType((*Metrics_Input)(nil), "calcbiz.calcapi.Metrics.Input") - proto.RegisterType((*Metrics_Output)(nil), "calcbiz.calcapi.Metrics.Output") - proto.RegisterType((*Ping)(nil), "calcbiz.calcapi.Ping") - proto.RegisterType((*Ping_Input)(nil), "calcbiz.calcapi.Ping.Input") - proto.RegisterType((*Ping_Output)(nil), "calcbiz.calcapi.Ping.Output") - proto.RegisterType((*Kryptos)(nil), "calcbiz.calcapi.Kryptos") - proto.RegisterType((*Kryptos_Input)(nil), "calcbiz.calcapi.Kryptos.Input") - proto.RegisterType((*Kryptos_Output)(nil), "calcbiz.calcapi.Kryptos.Output") - proto.RegisterType((*TpyoEnocde)(nil), "calcbiz.calcapi.TpyoEnocde") - proto.RegisterType((*TpyoEnocde_Ipunt)(nil), "calcbiz.calcapi.TpyoEnocde.Ipunt") - proto.RegisterType((*TpyoEnocde_Ouptut)(nil), "calcbiz.calcapi.TpyoEnocde.Ouptut") - proto.RegisterType((*Numberinfo)(nil), "calcbiz.calcapi.Numberinfo") - proto.RegisterType((*Numberinfo_Input)(nil), "calcbiz.calcapi.Numberinfo.Input") - proto.RegisterType((*Numberinfo_Output)(nil), "calcbiz.calcapi.Numberinfo.Output") - proto.RegisterMapType((map[string]string)(nil), "calcbiz.calcapi.Numberinfo.Output.FactsEntry") - proto.RegisterType((*Moijaime)(nil), "calcbiz.calcapi.Moijaime") - proto.RegisterType((*Moijaime_Input)(nil), "calcbiz.calcapi.Moijaime.Input") - proto.RegisterType((*Moijaime_Output)(nil), "calcbiz.calcapi.Moijaime.Output") - proto.RegisterType((*Wotd)(nil), "calcbiz.calcapi.Wotd") - proto.RegisterType((*Wotd_Input)(nil), "calcbiz.calcapi.Wotd.Input") - proto.RegisterType((*Wotd_Output)(nil), "calcbiz.calcapi.Wotd.Output") - proto.RegisterType((*AlternateLogo)(nil), "calcbiz.calcapi.AlternateLogo") - proto.RegisterType((*AlternateLogo_Input)(nil), "calcbiz.calcapi.AlternateLogo.Input") - proto.RegisterType((*AlternateLogo_Output)(nil), "calcbiz.calcapi.AlternateLogo.Output") - proto.RegisterType((*SpreadshirtRandom)(nil), "calcbiz.calcapi.SpreadshirtRandom") - proto.RegisterType((*SpreadshirtRandom_Input)(nil), "calcbiz.calcapi.SpreadshirtRandom.Input") - proto.RegisterType((*SpreadshirtRandom_Output)(nil), "calcbiz.calcapi.SpreadshirtRandom.Output") - proto.RegisterType((*SpreadshirtAll)(nil), "calcbiz.calcapi.SpreadshirtAll") - proto.RegisterType((*SpreadshirtAll_Input)(nil), "calcbiz.calcapi.SpreadshirtAll.Input") - proto.RegisterType((*SpreadshirtAll_Output)(nil), "calcbiz.calcapi.SpreadshirtAll.Output") - proto.RegisterType((*Recettator)(nil), "calcbiz.calcapi.Recettator") - proto.RegisterType((*Recettator_Input)(nil), "calcbiz.calcapi.Recettator.Input") - proto.RegisterType((*Recettator_Output)(nil), "calcbiz.calcapi.Recettator.Output") - proto.RegisterType((*Recettator_Ingredient)(nil), "calcbiz.calcapi.Recettator.Ingredient") +func (m *Wotd) XXX_DiscardUnknown() { + xxx_messageInfo_Wotd.DiscardUnknown(m) } -func init() { proto.RegisterFile("calcapi.proto", fileDescriptor_b4e0a0c9e1471050) } +var xxx_messageInfo_Wotd proto.InternalMessageInfo -var fileDescriptor_b4e0a0c9e1471050 = []byte{ - // 1620 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4d, 0x6f, 0x1b, 0x45, - 0x18, 0xee, 0x3a, 0x76, 0x9c, 0x4c, 0x3e, 0x9c, 0x4c, 0xdd, 0x34, 0xd9, 0xa4, 0x4e, 0xb2, 0x69, - 0x53, 0xa7, 0x28, 0x36, 0x4a, 0x51, 0x55, 0x0a, 0x42, 0xa4, 0x69, 0x10, 0x51, 0x29, 0xb4, 0x9b, - 0x54, 0x7c, 0x1d, 0xcc, 0x66, 0x77, 0x62, 0x2f, 0xde, 0xdd, 0x59, 0x66, 0x67, 0x9b, 0x3a, 0x55, - 0x2e, 0x95, 0x10, 0xe2, 0x80, 0x44, 0xc5, 0x01, 0x09, 0xf1, 0x13, 0xb8, 0x70, 0xe2, 0x1f, 0xa0, - 0x1e, 0x2b, 0x71, 0xe1, 0x88, 0x5a, 0x7e, 0x08, 0x9a, 0x8f, 0xfd, 0x48, 0x76, 0x9d, 0x04, 0x09, - 0x6e, 0x33, 0xef, 0xfb, 0xec, 0xf3, 0x3c, 0xf3, 0xce, 0x78, 0x3e, 0x0c, 0xc6, 0x4c, 0xc3, 0x31, - 0x0d, 0xdf, 0x6e, 0xf8, 0x04, 0x53, 0x0c, 0x2b, 0xac, 0xbb, 0x6b, 0x1f, 0x34, 0x64, 0x58, 0x9d, - 0x6b, 0x63, 0xdc, 0x76, 0x50, 0xd3, 0xf0, 0xed, 0xa6, 0xe1, 0x79, 0x98, 0x1a, 0xd4, 0xc6, 0x5e, - 0x20, 0xe0, 0xea, 0x6a, 0xdb, 0xa6, 0x9d, 0x70, 0xb7, 0x61, 0x62, 0xb7, 0xd9, 0xc6, 0x6d, 0xdc, - 0xe4, 0xe1, 0xdd, 0x70, 0x8f, 0xf7, 0x78, 0x87, 0xb7, 0x24, 0x1c, 0x98, 0x04, 0xed, 0xcb, 0x76, - 0xc5, 0x32, 0x82, 0xce, 0x2e, 0x36, 0x88, 0x25, 0x03, 0x13, 0x01, 0x0e, 0x3d, 0xcb, 0x74, 0x70, - 0x28, 0x23, 0xda, 0x0e, 0x18, 0xbe, 0x13, 0x81, 0xd4, 0x32, 0x28, 0x6d, 0x79, 0x7e, 0x48, 0xd5, - 0x77, 0xc0, 0xe0, 0x47, 0x21, 0xf5, 0x43, 0x0a, 0xdf, 0x00, 0x65, 0xe4, 0x51, 0x62, 0xa3, 0x60, - 0x5a, 0x59, 0x50, 0xea, 0x23, 0x6b, 0x6a, 0x23, 0xb2, 0x9f, 0x90, 0x6f, 0x0a, 0x84, 0x1e, 0x41, - 0xb5, 0xfb, 0xa0, 0xf4, 0xbe, 0x61, 0x76, 0x0f, 0xfe, 0x3b, 0xc6, 0x75, 0x50, 0xdc, 0x20, 0x68, - 0x3f, 0x21, 0x7c, 0x3d, 0x26, 0x5c, 0x06, 0x45, 0x36, 0x66, 0xc9, 0x06, 0x63, 0x36, 0x5e, 0x08, - 0xf6, 0x91, 0xce, 0xf3, 0xda, 0x5d, 0x30, 0xba, 0x1d, 0x0f, 0xff, 0x1e, 0x4a, 0xa8, 0xd6, 0x62, - 0xaa, 0x3a, 0x28, 0xb8, 0x48, 0x12, 0x4d, 0xc7, 0x44, 0xa9, 0xa2, 0x3d, 0x0c, 0x10, 0xd1, 0x0b, - 0x2e, 0xd2, 0x10, 0x38, 0x9f, 0x90, 0xdd, 0x77, 0x8c, 0x9e, 0x63, 0x07, 0x34, 0x48, 0x38, 0x37, - 0x63, 0xce, 0xb7, 0xc0, 0xb0, 0x1f, 0xe5, 0x25, 0xf5, 0xa5, 0x3c, 0xea, 0x98, 0x44, 0x4f, 0xf0, - 0xda, 0x53, 0x05, 0xc0, 0xac, 0x8e, 0x5a, 0x97, 0x32, 0x70, 0x1e, 0x8c, 0x44, 0xe0, 0x96, 0x6d, - 0x71, 0xfa, 0xa2, 0x0e, 0xa2, 0xd0, 0x96, 0xa5, 0xde, 0x8e, 0x7d, 0xdc, 0x04, 0x43, 0x51, 0x5c, - 0xda, 0x98, 0x3b, 0xc9, 0x86, 0x1e, 0xa3, 0xb5, 0x4f, 0xc1, 0x44, 0xe2, 0x61, 0x87, 0x18, 0x66, - 0x37, 0x35, 0xd0, 0xb7, 0x63, 0x81, 0x35, 0x30, 0x48, 0x79, 0x32, 0x33, 0xaf, 0x29, 0x7a, 0xf1, - 0xb9, 0x2e, 0x91, 0x9a, 0x0f, 0x2a, 0xc7, 0xa8, 0x55, 0x2d, 0x1a, 0xdb, 0x0c, 0x18, 0xe2, 0xa8, - 0x64, 0x60, 0x65, 0xde, 0xdf, 0xb2, 0xd4, 0x37, 0x63, 0xd1, 0x26, 0x28, 0xf1, 0xa0, 0xd4, 0x9c, - 0xe9, 0xab, 0xa9, 0x0b, 0x9c, 0xf6, 0xbb, 0x02, 0xca, 0xf7, 0x10, 0x25, 0xb6, 0x99, 0x1a, 0xc4, - 0xaf, 0x4a, 0x6a, 0x35, 0x55, 0x02, 0xf6, 0x03, 0x34, 0x5b, 0xbb, 0xf8, 0x71, 0x2b, 0xb0, 0x0f, - 0xc4, 0x7a, 0x28, 0xe9, 0x63, 0x22, 0x7c, 0x1b, 0x3f, 0xde, 0xb6, 0x0f, 0x10, 0xbc, 0x06, 0x26, - 0x03, 0x44, 0x1e, 0x21, 0xd2, 0x0a, 0xa8, 0x41, 0x68, 0x8b, 0xda, 0x2e, 0x9a, 0x2e, 0x2c, 0x28, - 0xf5, 0x61, 0xbd, 0x22, 0x12, 0xdb, 0x2c, 0xbe, 0x63, 0xbb, 0x08, 0x36, 0xc0, 0x79, 0x89, 0x35, - 0x43, 0x42, 0x90, 0x27, 0xd1, 0x03, 0x1c, 0x2d, 0x69, 0x36, 0x44, 0x86, 0xe3, 0x97, 0xc0, 0x98, - 0xc4, 0x87, 0x3e, 0x47, 0x16, 0x39, 0x72, 0x54, 0x04, 0x1f, 0xf2, 0x98, 0xb6, 0x0a, 0x8a, 0xf7, - 0x6d, 0xaf, 0x9d, 0x0c, 0x62, 0x2e, 0x1e, 0x03, 0x04, 0x45, 0x1f, 0x7b, 0x6d, 0x6e, 0x7c, 0x58, - 0xe7, 0x6d, 0xed, 0x5d, 0x50, 0xbe, 0x4b, 0x7a, 0x3e, 0xc5, 0x81, 0x3a, 0x1b, 0x55, 0x18, 0x82, - 0xe2, 0x1e, 0xc1, 0x6e, 0x84, 0x63, 0x6d, 0x75, 0x3a, 0x66, 0x19, 0x07, 0x05, 0x8a, 0x65, 0xae, - 0x40, 0xb1, 0xb6, 0x01, 0xc0, 0x8e, 0xdf, 0xc3, 0x9b, 0x1e, 0x36, 0x2d, 0xc4, 0x49, 0xfc, 0xd0, - 0x13, 0x24, 0x98, 0x24, 0x24, 0x98, 0x48, 0x12, 0x9f, 0xe6, 0x90, 0xfc, 0xa6, 0x00, 0xf0, 0x61, - 0xe8, 0xee, 0x22, 0x62, 0x7b, 0x7b, 0x58, 0x9d, 0x8f, 0xac, 0x4c, 0x81, 0x41, 0x8f, 0x87, 0x39, - 0xb6, 0xa0, 0xcb, 0x9e, 0xfa, 0x4d, 0x32, 0x33, 0x1b, 0xa0, 0xb4, 0x67, 0x98, 0xfc, 0x47, 0x34, - 0x50, 0x1f, 0x59, 0x5b, 0x6d, 0x1c, 0xdb, 0x47, 0x1b, 0x09, 0x6f, 0x43, 0x7c, 0xd2, 0x78, 0x8f, - 0xe1, 0xd9, 0x5e, 0xd2, 0xd3, 0xc5, 0xb7, 0xea, 0x4d, 0x00, 0x92, 0x20, 0x9c, 0x00, 0x03, 0x5d, - 0xd4, 0x93, 0xf6, 0x58, 0x13, 0x56, 0x41, 0xe9, 0x91, 0xe1, 0x84, 0xd1, 0x54, 0x8a, 0xce, 0xad, - 0xc2, 0x4d, 0x45, 0xbb, 0x0e, 0x86, 0xee, 0x61, 0xfb, 0x4b, 0xc3, 0x76, 0x53, 0x5b, 0x47, 0x2d, - 0x76, 0x57, 0x05, 0xa5, 0xae, 0xbd, 0xb7, 0x27, 0xdc, 0x0d, 0xeb, 0xa2, 0xc3, 0x26, 0xe9, 0x63, - 0x4c, 0xad, 0x3e, 0x93, 0xb4, 0x8f, 0x89, 0x15, 0xd5, 0x8d, 0xb5, 0xb5, 0x1b, 0x60, 0x6c, 0xdd, - 0xa1, 0x88, 0x78, 0x06, 0x45, 0x1f, 0xe0, 0x36, 0xee, 0x37, 0xb9, 0x06, 0xed, 0xc4, 0x93, 0x6b, - 0xd0, 0x8e, 0xb6, 0x0c, 0x26, 0xb7, 0x7d, 0x82, 0x0c, 0x2b, 0xe8, 0xd8, 0x84, 0xea, 0x86, 0x67, - 0x61, 0x37, 0xf9, 0x76, 0x28, 0xfa, 0x56, 0x5b, 0x02, 0xe3, 0x29, 0xdc, 0xba, 0xe3, 0xe4, 0x81, - 0x7e, 0x2a, 0x01, 0xa0, 0x23, 0x13, 0x51, 0x6a, 0x50, 0x4c, 0xd4, 0x67, 0x4a, 0x6a, 0xb9, 0x04, - 0x08, 0x09, 0xc7, 0x03, 0x3a, 0x6f, 0xc3, 0x15, 0x30, 0xe1, 0x1a, 0xb6, 0xd7, 0xb2, 0xbd, 0x36, - 0x41, 0x96, 0x8d, 0x3c, 0x1a, 0xf0, 0xd2, 0x15, 0xf5, 0x0a, 0x8b, 0x6f, 0x25, 0x61, 0x78, 0x1d, - 0x5c, 0x08, 0x90, 0x89, 0x3d, 0xcb, 0x20, 0xbd, 0x23, 0xf8, 0x01, 0x8e, 0xaf, 0xc6, 0xc9, 0xf4, - 0x47, 0x55, 0x50, 0x0a, 0x28, 0xf2, 0x03, 0xfe, 0x13, 0x28, 0xea, 0xa2, 0xa3, 0xfe, 0x52, 0x48, - 0xd7, 0x9d, 0xda, 0xd4, 0x41, 0xb2, 0x1e, 0xa2, 0xc3, 0x96, 0x93, 0x8f, 0xb0, 0xef, 0x20, 0x69, - 0x46, 0xf6, 0xa0, 0x0a, 0x86, 0x5c, 0x83, 0x74, 0x2d, 0xbc, 0xef, 0xc9, 0x9f, 0x5f, 0xdc, 0x4f, - 0x4b, 0xf1, 0x19, 0xe4, 0x1d, 0xf8, 0x20, 0x67, 0x80, 0x25, 0xbe, 0x00, 0x97, 0x33, 0x0b, 0x30, - 0xa9, 0x5a, 0x23, 0x19, 0x43, 0xb6, 0x10, 0x9f, 0xf7, 0x2b, 0xc4, 0xe0, 0xbf, 0xe2, 0xcd, 0x2f, - 0x58, 0x34, 0x49, 0xe5, 0x64, 0x92, 0xd4, 0xe7, 0x0a, 0x00, 0x09, 0x86, 0x41, 0x3c, 0xc3, 0x8d, - 0x2a, 0xc6, 0xdb, 0xac, 0x30, 0x5f, 0x85, 0x86, 0x47, 0x6d, 0xda, 0x93, 0x4b, 0x3f, 0xee, 0xb3, - 0x62, 0xba, 0x88, 0x76, 0xb0, 0x25, 0x4b, 0x26, 0x7b, 0x2c, 0xde, 0x46, 0x9e, 0x85, 0x88, 0xdc, - 0x9f, 0x64, 0x8f, 0x17, 0x39, 0x74, 0xa8, 0xcd, 0xca, 0x5f, 0x5a, 0x50, 0xea, 0x43, 0x7a, 0xdc, - 0x67, 0xda, 0x5d, 0xdb, 0xb3, 0xa6, 0x07, 0x85, 0x36, 0x6b, 0xb3, 0xad, 0x94, 0x79, 0x68, 0x19, - 0x9e, 0xd5, 0x8a, 0x4d, 0x94, 0xc5, 0x56, 0xca, 0x12, 0xeb, 0x9e, 0xf5, 0x40, 0x86, 0xd7, 0x7e, - 0x84, 0xa0, 0xbc, 0x8d, 0xc8, 0x23, 0xdb, 0x44, 0x90, 0x80, 0x71, 0xb9, 0xa5, 0x6d, 0x7a, 0x26, - 0x6b, 0xc0, 0x5a, 0xa6, 0x74, 0x12, 0xd0, 0x10, 0x8b, 0x7c, 0xbe, 0x6f, 0x5e, 0xae, 0xfd, 0xf9, - 0xa7, 0x7f, 0xfc, 0xfd, 0x43, 0x61, 0x46, 0xab, 0xf2, 0xcb, 0x58, 0x57, 0x24, 0x9b, 0x48, 0xd0, - 0xdf, 0x52, 0xae, 0xa5, 0x34, 0xef, 0xa0, 0xff, 0x55, 0xd3, 0x42, 0xb1, 0xa6, 0x9d, 0xde, 0x78, - 0xe1, 0x62, 0x86, 0x2f, 0x49, 0x36, 0xf8, 0x96, 0xac, 0x6a, 0x27, 0x41, 0xc4, 0xc6, 0xac, 0x55, - 0xb9, 0xea, 0xb8, 0x36, 0xcc, 0x55, 0xa9, 0xdf, 0xc3, 0x4c, 0x6a, 0x47, 0x1c, 0x2a, 0x70, 0x36, - 0xc3, 0xc0, 0xc2, 0x72, 0x44, 0x73, 0xf9, 0x49, 0x39, 0x9c, 0x49, 0x4e, 0x3c, 0x02, 0x05, 0xb1, - 0xcf, 0xd8, 0x3a, 0xa9, 0x4b, 0x26, 0x5c, 0xc8, 0x7c, 0x1d, 0xe7, 0x24, 0xff, 0xe2, 0x09, 0x08, - 0x29, 0x32, 0xc5, 0x45, 0x26, 0xe0, 0x38, 0x17, 0x89, 0xef, 0x8d, 0xf0, 0x13, 0x79, 0xf1, 0x84, - 0x59, 0x8f, 0x3c, 0x2e, 0x15, 0x2e, 0xf5, 0xc9, 0x4a, 0x76, 0xc8, 0xd9, 0x47, 0x21, 0xe0, 0xec, - 0x1d, 0x4e, 0xb8, 0x23, 0x2e, 0xa0, 0x39, 0x95, 0x61, 0xe1, 0xbe, 0x95, 0xe1, 0xc9, 0xdc, 0xca, - 0xb0, 0x3b, 0x29, 0x0c, 0xd3, 0xa7, 0x61, 0xce, 0xd4, 0xa6, 0x8e, 0x34, 0xa1, 0xa0, 0x9d, 0x7e, - 0xea, 0x69, 0x0b, 0x5c, 0x47, 0x85, 0xd3, 0x5c, 0xc7, 0x8b, 0xf3, 0xcd, 0x27, 0xa2, 0x7d, 0x08, - 0x9d, 0xf4, 0x0e, 0x9f, 0x23, 0x7b, 0x64, 0xc3, 0xc9, 0x97, 0x4d, 0x41, 0xa4, 0xec, 0x45, 0x2e, - 0x3b, 0x09, 0x2b, 0x5c, 0x96, 0x24, 0xfc, 0x56, 0x72, 0x72, 0xc2, 0xec, 0xaf, 0x21, 0x4a, 0x49, - 0xa5, 0x85, 0xfe, 0x00, 0xa9, 0x73, 0x81, 0xeb, 0x54, 0xe0, 0x18, 0xd7, 0x71, 0x23, 0xe6, 0x6f, - 0x95, 0x9c, 0x43, 0x10, 0xd6, 0x33, 0x74, 0x19, 0x8c, 0x14, 0x5e, 0x39, 0x03, 0xf2, 0xe8, 0x2f, - 0x16, 0x5e, 0xe4, 0x0e, 0x82, 0x04, 0xd6, 0x24, 0x42, 0xf5, 0xf0, 0xf8, 0x39, 0x0b, 0xaf, 0x9c, - 0xc4, 0xbe, 0xee, 0x38, 0xd2, 0xc4, 0xf2, 0x69, 0x30, 0xe9, 0x60, 0x8e, 0x3b, 0x98, 0x82, 0xd5, - 0x8c, 0x03, 0xc3, 0x71, 0xd8, 0x5a, 0x65, 0xb7, 0x8e, 0x9c, 0xb5, 0xca, 0xc2, 0x7d, 0xd7, 0x2a, - 0x4f, 0xe6, 0xae, 0xd5, 0x7d, 0xc6, 0xd6, 0x3b, 0x76, 0x39, 0x81, 0x97, 0x33, 0x0c, 0x47, 0xf2, - 0x52, 0xe7, 0xca, 0x29, 0x28, 0x29, 0x38, 0xcb, 0x05, 0x2f, 0xc0, 0xf3, 0xe2, 0x19, 0x1c, 0x41, - 0x56, 0x1d, 0xa6, 0x14, 0x1e, 0x7d, 0xba, 0xc1, 0xa5, 0x6c, 0x99, 0x52, 0x69, 0x29, 0x7c, 0xf9, - 0x64, 0x90, 0xd4, 0x55, 0xb9, 0x6e, 0x15, 0x42, 0x51, 0xc9, 0x18, 0xd1, 0x74, 0x11, 0x7c, 0xa6, - 0xe4, 0xbe, 0xf2, 0xe0, 0xb5, 0x13, 0x98, 0x63, 0x94, 0x74, 0xf1, 0xda, 0x99, 0xb0, 0xd2, 0xcc, - 0x22, 0x37, 0x33, 0x0b, 0x67, 0x8e, 0x9b, 0x89, 0x5f, 0x84, 0xf0, 0xe7, 0xdc, 0x17, 0x21, 0x5c, - 0x39, 0x83, 0x8c, 0x74, 0x74, 0x16, 0xf7, 0x91, 0xa1, 0x26, 0x37, 0xb4, 0x02, 0xaf, 0xf6, 0x35, - 0xd4, 0x7c, 0x92, 0x7a, 0x80, 0x1e, 0xc2, 0xaf, 0x95, 0xec, 0x63, 0x11, 0x5e, 0x3d, 0x41, 0x51, - 0x40, 0xa4, 0xb5, 0xfa, 0xe9, 0x40, 0x69, 0xac, 0xc6, 0x8d, 0x4d, 0xc3, 0xa9, 0xe3, 0xc6, 0xc4, - 0xc3, 0x12, 0x7e, 0xa7, 0x64, 0x5e, 0x96, 0x70, 0xf9, 0x34, 0x76, 0xe9, 0xe2, 0x54, 0xbb, 0x91, - 0x89, 0x15, 0x6e, 0x62, 0x09, 0x2e, 0xe6, 0x9b, 0x68, 0x3e, 0x89, 0xde, 0xaf, 0x87, 0xf0, 0x8b, - 0xf8, 0xd5, 0x99, 0x73, 0x61, 0x90, 0x99, 0xbe, 0x17, 0x86, 0x28, 0x2f, 0x65, 0xe5, 0xd1, 0x0d, - 0x47, 0xc5, 0x06, 0x28, 0x92, 0xb7, 0x6f, 0x3c, 0x7f, 0x59, 0x53, 0x5e, 0xbc, 0xac, 0x29, 0x7f, - 0xbd, 0xac, 0x29, 0xdf, 0xbf, 0xaa, 0x9d, 0x7b, 0xf1, 0xaa, 0x76, 0xee, 0xcf, 0x57, 0xb5, 0x73, - 0x9f, 0xcd, 0x85, 0x0e, 0x25, 0xa8, 0xe1, 0xa2, 0xa6, 0x24, 0x6e, 0xfa, 0xdd, 0x76, 0x53, 0x92, - 0xef, 0x0e, 0xf2, 0x3f, 0x82, 0xae, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x98, 0x4e, 0x05, 0x92, - 0xa6, 0x12, 0x00, 0x00, +type Wotd_Input struct { } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn +func (m *Wotd_Input) Reset() { *m = Wotd_Input{} } +func (m *Wotd_Input) String() string { return proto.CompactTextString(m) } +func (*Wotd_Input) ProtoMessage() {} +func (*Wotd_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{20, 0} +} +func (m *Wotd_Input) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Wotd_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Wotd_Input.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Wotd_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Wotd_Input.Merge(m, src) +} +func (m *Wotd_Input) XXX_Size() int { + return m.Size() +} +func (m *Wotd_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Wotd_Input.DiscardUnknown(m) +} -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +var xxx_messageInfo_Wotd_Input proto.InternalMessageInfo -// ServiceClient is the client API for Service service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ServiceClient interface { - KryptosEncrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) - KryptosDecrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) - TpyoEnocde(ctx context.Context, in *TpyoEnocde_Ipunt, opts ...grpc.CallOption) (*TpyoEnocde_Ouptut, error) - Ping(ctx context.Context, in *Ping_Input, opts ...grpc.CallOption) (*Ping_Output, error) - Dashboard(ctx context.Context, in *Dashboard_Input, opts ...grpc.CallOption) (*Dashboard_Output, error) - Hackz(ctx context.Context, in *Hackz_Input, opts ...grpc.CallOption) (*Hackz_Output, error) - Crew(ctx context.Context, in *Crew_Input, opts ...grpc.CallOption) (*Crew_Output, error) - Numberinfo(ctx context.Context, in *Numberinfo_Input, opts ...grpc.CallOption) (*Numberinfo_Output, error) - Recettator(ctx context.Context, in *Recettator_Input, opts ...grpc.CallOption) (*Recettator_Output, error) - Moijaime(ctx context.Context, in *Moijaime_Input, opts ...grpc.CallOption) (*Moijaime_Output, error) - SpreadshirtRandom(ctx context.Context, in *SpreadshirtRandom_Input, opts ...grpc.CallOption) (*SpreadshirtRandom_Output, error) - SpreadshirtAll(ctx context.Context, in *SpreadshirtAll_Input, opts ...grpc.CallOption) (*SpreadshirtAll_Output, error) - Wotd(ctx context.Context, in *Wotd_Input, opts ...grpc.CallOption) (*Wotd_Output, error) - AlternateLogo(ctx context.Context, in *AlternateLogo_Input, opts ...grpc.CallOption) (*AlternateLogo_Output, error) - SoundcloudMe(ctx context.Context, in *SoundcloudMe_Input, opts ...grpc.CallOption) (*SoundcloudMe_Output, error) - SoundcloudPlaylists(ctx context.Context, in *SoundcloudPlaylists_Input, opts ...grpc.CallOption) (*SoundcloudPlaylists_Output, error) - SoundcloudPlaylist(ctx context.Context, in *SoundcloudPlaylist_Input, opts ...grpc.CallOption) (*SoundcloudPlaylist_Output, error) - SoundcloudTracks(ctx context.Context, in *SoundcloudTracks_Input, opts ...grpc.CallOption) (*SoundcloudTracks_Output, error) - SoundcloudTrack(ctx context.Context, in *SoundcloudTrack_Input, opts ...grpc.CallOption) (*SoundcloudTrack_Output, error) - Metrics(ctx context.Context, in *Metrics_Input, opts ...grpc.CallOption) (*Metrics_Output, error) +type Wotd_Output struct { + Word string `protobuf:"bytes,1,opt,name=word,proto3" json:"word,omitempty"` } -type serviceClient struct { - cc *grpc.ClientConn +func (m *Wotd_Output) Reset() { *m = Wotd_Output{} } +func (m *Wotd_Output) String() string { return proto.CompactTextString(m) } +func (*Wotd_Output) ProtoMessage() {} +func (*Wotd_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{20, 1} } - -func NewServiceClient(cc *grpc.ClientConn) ServiceClient { - return &serviceClient{cc} +func (m *Wotd_Output) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *serviceClient) KryptosEncrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) { - out := new(Kryptos_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KryptosEncrypt", in, out, opts...) - if err != nil { - return nil, err +func (m *Wotd_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Wotd_Output.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil } - -func (c *serviceClient) KryptosDecrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) { - out := new(Kryptos_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KryptosDecrypt", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *Wotd_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Wotd_Output.Merge(m, src) +} +func (m *Wotd_Output) XXX_Size() int { + return m.Size() +} +func (m *Wotd_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Wotd_Output.DiscardUnknown(m) } -func (c *serviceClient) TpyoEnocde(ctx context.Context, in *TpyoEnocde_Ipunt, opts ...grpc.CallOption) (*TpyoEnocde_Ouptut, error) { - out := new(TpyoEnocde_Ouptut) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/TpyoEnocde", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_Wotd_Output proto.InternalMessageInfo + +func (m *Wotd_Output) GetWord() string { + if m != nil { + return m.Word } - return out, nil + return "" } -func (c *serviceClient) Ping(ctx context.Context, in *Ping_Input, opts ...grpc.CallOption) (*Ping_Output, error) { - out := new(Ping_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Ping", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type AlternateLogo struct { } -func (c *serviceClient) Dashboard(ctx context.Context, in *Dashboard_Input, opts ...grpc.CallOption) (*Dashboard_Output, error) { - out := new(Dashboard_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Dashboard", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo) Reset() { *m = AlternateLogo{} } +func (m *AlternateLogo) String() string { return proto.CompactTextString(m) } +func (*AlternateLogo) ProtoMessage() {} +func (*AlternateLogo) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{21} } - -func (c *serviceClient) Hackz(ctx context.Context, in *Hackz_Input, opts ...grpc.CallOption) (*Hackz_Output, error) { - out := new(Hackz_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Hackz", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *serviceClient) Crew(ctx context.Context, in *Crew_Input, opts ...grpc.CallOption) (*Crew_Output, error) { - out := new(Crew_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Crew", in, out, opts...) - if err != nil { - return nil, err +func (m *AlternateLogo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AlternateLogo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil } - -func (c *serviceClient) Numberinfo(ctx context.Context, in *Numberinfo_Input, opts ...grpc.CallOption) (*Numberinfo_Output, error) { - out := new(Numberinfo_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Numberinfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo) XXX_Merge(src proto.Message) { + xxx_messageInfo_AlternateLogo.Merge(m, src) } - -func (c *serviceClient) Recettator(ctx context.Context, in *Recettator_Input, opts ...grpc.CallOption) (*Recettator_Output, error) { - out := new(Recettator_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Recettator", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo) XXX_Size() int { + return m.Size() } - -func (c *serviceClient) Moijaime(ctx context.Context, in *Moijaime_Input, opts ...grpc.CallOption) (*Moijaime_Output, error) { - out := new(Moijaime_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Moijaime", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo) XXX_DiscardUnknown() { + xxx_messageInfo_AlternateLogo.DiscardUnknown(m) } -func (c *serviceClient) SpreadshirtRandom(ctx context.Context, in *SpreadshirtRandom_Input, opts ...grpc.CallOption) (*SpreadshirtRandom_Output, error) { - out := new(SpreadshirtRandom_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SpreadshirtRandom", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} +var xxx_messageInfo_AlternateLogo proto.InternalMessageInfo -func (c *serviceClient) SpreadshirtAll(ctx context.Context, in *SpreadshirtAll_Input, opts ...grpc.CallOption) (*SpreadshirtAll_Output, error) { - out := new(SpreadshirtAll_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SpreadshirtAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type AlternateLogo_Input struct { } -func (c *serviceClient) Wotd(ctx context.Context, in *Wotd_Input, opts ...grpc.CallOption) (*Wotd_Output, error) { - out := new(Wotd_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Wotd", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo_Input) Reset() { *m = AlternateLogo_Input{} } +func (m *AlternateLogo_Input) String() string { return proto.CompactTextString(m) } +func (*AlternateLogo_Input) ProtoMessage() {} +func (*AlternateLogo_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{21, 0} } - -func (c *serviceClient) AlternateLogo(ctx context.Context, in *AlternateLogo_Input, opts ...grpc.CallOption) (*AlternateLogo_Output, error) { - out := new(AlternateLogo_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/AlternateLogo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo_Input) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *serviceClient) SoundcloudMe(ctx context.Context, in *SoundcloudMe_Input, opts ...grpc.CallOption) (*SoundcloudMe_Output, error) { - out := new(SoundcloudMe_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudMe", in, out, opts...) - if err != nil { - return nil, err +func (m *AlternateLogo_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AlternateLogo_Input.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil } - -func (c *serviceClient) SoundcloudPlaylists(ctx context.Context, in *SoundcloudPlaylists_Input, opts ...grpc.CallOption) (*SoundcloudPlaylists_Output, error) { - out := new(SoundcloudPlaylists_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudPlaylists", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_AlternateLogo_Input.Merge(m, src) } - -func (c *serviceClient) SoundcloudPlaylist(ctx context.Context, in *SoundcloudPlaylist_Input, opts ...grpc.CallOption) (*SoundcloudPlaylist_Output, error) { - out := new(SoundcloudPlaylist_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudPlaylist", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *AlternateLogo_Input) XXX_Size() int { + return m.Size() +} +func (m *AlternateLogo_Input) XXX_DiscardUnknown() { + xxx_messageInfo_AlternateLogo_Input.DiscardUnknown(m) } -func (c *serviceClient) SoundcloudTracks(ctx context.Context, in *SoundcloudTracks_Input, opts ...grpc.CallOption) (*SoundcloudTracks_Output, error) { - out := new(SoundcloudTracks_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudTracks", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var xxx_messageInfo_AlternateLogo_Input proto.InternalMessageInfo + +type AlternateLogo_Output struct { + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } -func (c *serviceClient) SoundcloudTrack(ctx context.Context, in *SoundcloudTrack_Input, opts ...grpc.CallOption) (*SoundcloudTrack_Output, error) { - out := new(SoundcloudTrack_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudTrack", in, out, opts...) - if err != nil { - return nil, err +func (m *AlternateLogo_Output) Reset() { *m = AlternateLogo_Output{} } +func (m *AlternateLogo_Output) String() string { return proto.CompactTextString(m) } +func (*AlternateLogo_Output) ProtoMessage() {} +func (*AlternateLogo_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{21, 1} +} +func (m *AlternateLogo_Output) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AlternateLogo_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AlternateLogo_Output.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *AlternateLogo_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_AlternateLogo_Output.Merge(m, src) +} +func (m *AlternateLogo_Output) XXX_Size() int { + return m.Size() +} +func (m *AlternateLogo_Output) XXX_DiscardUnknown() { + xxx_messageInfo_AlternateLogo_Output.DiscardUnknown(m) } -func (c *serviceClient) Metrics(ctx context.Context, in *Metrics_Input, opts ...grpc.CallOption) (*Metrics_Output, error) { - out := new(Metrics_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Metrics", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_AlternateLogo_Output proto.InternalMessageInfo + +func (m *AlternateLogo_Output) GetPath() string { + if m != nil { + return m.Path } - return out, nil + return "" } -// ServiceServer is the server API for Service service. -type ServiceServer interface { - KryptosEncrypt(context.Context, *Kryptos_Input) (*Kryptos_Output, error) - KryptosDecrypt(context.Context, *Kryptos_Input) (*Kryptos_Output, error) - TpyoEnocde(context.Context, *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) - Ping(context.Context, *Ping_Input) (*Ping_Output, error) - Dashboard(context.Context, *Dashboard_Input) (*Dashboard_Output, error) - Hackz(context.Context, *Hackz_Input) (*Hackz_Output, error) - Crew(context.Context, *Crew_Input) (*Crew_Output, error) - Numberinfo(context.Context, *Numberinfo_Input) (*Numberinfo_Output, error) - Recettator(context.Context, *Recettator_Input) (*Recettator_Output, error) - Moijaime(context.Context, *Moijaime_Input) (*Moijaime_Output, error) - SpreadshirtRandom(context.Context, *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) - SpreadshirtAll(context.Context, *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) - Wotd(context.Context, *Wotd_Input) (*Wotd_Output, error) - AlternateLogo(context.Context, *AlternateLogo_Input) (*AlternateLogo_Output, error) - SoundcloudMe(context.Context, *SoundcloudMe_Input) (*SoundcloudMe_Output, error) - SoundcloudPlaylists(context.Context, *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) - SoundcloudPlaylist(context.Context, *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) - SoundcloudTracks(context.Context, *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) - SoundcloudTrack(context.Context, *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) - Metrics(context.Context, *Metrics_Input) (*Metrics_Output, error) +type SpreadshirtRandom struct { } -// UnimplementedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedServiceServer struct { +func (m *SpreadshirtRandom) Reset() { *m = SpreadshirtRandom{} } +func (m *SpreadshirtRandom) String() string { return proto.CompactTextString(m) } +func (*SpreadshirtRandom) ProtoMessage() {} +func (*SpreadshirtRandom) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{22} } - -func (*UnimplementedServiceServer) KryptosEncrypt(ctx context.Context, req *Kryptos_Input) (*Kryptos_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method KryptosEncrypt not implemented") +func (m *SpreadshirtRandom) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedServiceServer) KryptosDecrypt(ctx context.Context, req *Kryptos_Input) (*Kryptos_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method KryptosDecrypt not implemented") +func (m *SpreadshirtRandom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpreadshirtRandom.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedServiceServer) TpyoEnocde(ctx context.Context, req *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) { - return nil, status.Errorf(codes.Unimplemented, "method TpyoEnocde not implemented") +func (m *SpreadshirtRandom) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpreadshirtRandom.Merge(m, src) } -func (*UnimplementedServiceServer) Ping(ctx context.Context, req *Ping_Input) (*Ping_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") +func (m *SpreadshirtRandom) XXX_Size() int { + return m.Size() } -func (*UnimplementedServiceServer) Dashboard(ctx context.Context, req *Dashboard_Input) (*Dashboard_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Dashboard not implemented") +func (m *SpreadshirtRandom) XXX_DiscardUnknown() { + xxx_messageInfo_SpreadshirtRandom.DiscardUnknown(m) } -func (*UnimplementedServiceServer) Hackz(ctx context.Context, req *Hackz_Input) (*Hackz_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Hackz not implemented") -} -func (*UnimplementedServiceServer) Crew(ctx context.Context, req *Crew_Input) (*Crew_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Crew not implemented") + +var xxx_messageInfo_SpreadshirtRandom proto.InternalMessageInfo + +type SpreadshirtRandom_Input struct { } -func (*UnimplementedServiceServer) Numberinfo(ctx context.Context, req *Numberinfo_Input) (*Numberinfo_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Numberinfo not implemented") + +func (m *SpreadshirtRandom_Input) Reset() { *m = SpreadshirtRandom_Input{} } +func (m *SpreadshirtRandom_Input) String() string { return proto.CompactTextString(m) } +func (*SpreadshirtRandom_Input) ProtoMessage() {} +func (*SpreadshirtRandom_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{22, 0} } -func (*UnimplementedServiceServer) Recettator(ctx context.Context, req *Recettator_Input) (*Recettator_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Recettator not implemented") +func (m *SpreadshirtRandom_Input) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedServiceServer) Moijaime(ctx context.Context, req *Moijaime_Input) (*Moijaime_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Moijaime not implemented") +func (m *SpreadshirtRandom_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpreadshirtRandom_Input.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedServiceServer) SpreadshirtRandom(ctx context.Context, req *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SpreadshirtRandom not implemented") +func (m *SpreadshirtRandom_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpreadshirtRandom_Input.Merge(m, src) } -func (*UnimplementedServiceServer) SpreadshirtAll(ctx context.Context, req *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SpreadshirtAll not implemented") +func (m *SpreadshirtRandom_Input) XXX_Size() int { + return m.Size() } -func (*UnimplementedServiceServer) Wotd(ctx context.Context, req *Wotd_Input) (*Wotd_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Wotd not implemented") +func (m *SpreadshirtRandom_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SpreadshirtRandom_Input.DiscardUnknown(m) } -func (*UnimplementedServiceServer) AlternateLogo(ctx context.Context, req *AlternateLogo_Input) (*AlternateLogo_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method AlternateLogo not implemented") + +var xxx_messageInfo_SpreadshirtRandom_Input proto.InternalMessageInfo + +type SpreadshirtRandom_Output struct { } -func (*UnimplementedServiceServer) SoundcloudMe(ctx context.Context, req *SoundcloudMe_Input) (*SoundcloudMe_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudMe not implemented") + +func (m *SpreadshirtRandom_Output) Reset() { *m = SpreadshirtRandom_Output{} } +func (m *SpreadshirtRandom_Output) String() string { return proto.CompactTextString(m) } +func (*SpreadshirtRandom_Output) ProtoMessage() {} +func (*SpreadshirtRandom_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{22, 1} } -func (*UnimplementedServiceServer) SoundcloudPlaylists(ctx context.Context, req *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudPlaylists not implemented") +func (m *SpreadshirtRandom_Output) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedServiceServer) SoundcloudPlaylist(ctx context.Context, req *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudPlaylist not implemented") +func (m *SpreadshirtRandom_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpreadshirtRandom_Output.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedServiceServer) SoundcloudTracks(ctx context.Context, req *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudTracks not implemented") +func (m *SpreadshirtRandom_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpreadshirtRandom_Output.Merge(m, src) } -func (*UnimplementedServiceServer) SoundcloudTrack(ctx context.Context, req *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudTrack not implemented") +func (m *SpreadshirtRandom_Output) XXX_Size() int { + return m.Size() } -func (*UnimplementedServiceServer) Metrics(ctx context.Context, req *Metrics_Input) (*Metrics_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Metrics not implemented") +func (m *SpreadshirtRandom_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SpreadshirtRandom_Output.DiscardUnknown(m) } -func RegisterServiceServer(s *grpc.Server, srv ServiceServer) { - s.RegisterService(&_Service_serviceDesc, srv) +var xxx_messageInfo_SpreadshirtRandom_Output proto.InternalMessageInfo + +type SpreadshirtAll struct { } -func _Service_KryptosEncrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Kryptos_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).KryptosEncrypt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/KryptosEncrypt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).KryptosEncrypt(ctx, req.(*Kryptos_Input)) +func (m *SpreadshirtAll) Reset() { *m = SpreadshirtAll{} } +func (m *SpreadshirtAll) String() string { return proto.CompactTextString(m) } +func (*SpreadshirtAll) ProtoMessage() {} +func (*SpreadshirtAll) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{23} +} +func (m *SpreadshirtAll) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SpreadshirtAll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpreadshirtAll.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *SpreadshirtAll) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpreadshirtAll.Merge(m, src) +} +func (m *SpreadshirtAll) XXX_Size() int { + return m.Size() +} +func (m *SpreadshirtAll) XXX_DiscardUnknown() { + xxx_messageInfo_SpreadshirtAll.DiscardUnknown(m) } -func _Service_KryptosDecrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Kryptos_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).KryptosDecrypt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/KryptosDecrypt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).KryptosDecrypt(ctx, req.(*Kryptos_Input)) - } - return interceptor(ctx, in, info, handler) +var xxx_messageInfo_SpreadshirtAll proto.InternalMessageInfo + +type SpreadshirtAll_Input struct { } -func _Service_TpyoEnocde_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TpyoEnocde_Ipunt) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).TpyoEnocde(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/TpyoEnocde", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).TpyoEnocde(ctx, req.(*TpyoEnocde_Ipunt)) +func (m *SpreadshirtAll_Input) Reset() { *m = SpreadshirtAll_Input{} } +func (m *SpreadshirtAll_Input) String() string { return proto.CompactTextString(m) } +func (*SpreadshirtAll_Input) ProtoMessage() {} +func (*SpreadshirtAll_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{23, 0} +} +func (m *SpreadshirtAll_Input) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SpreadshirtAll_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpreadshirtAll_Input.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *SpreadshirtAll_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpreadshirtAll_Input.Merge(m, src) +} +func (m *SpreadshirtAll_Input) XXX_Size() int { + return m.Size() +} +func (m *SpreadshirtAll_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SpreadshirtAll_Input.DiscardUnknown(m) } -func _Service_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Ping_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Ping(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Ping", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Ping(ctx, req.(*Ping_Input)) - } - return interceptor(ctx, in, info, handler) +var xxx_messageInfo_SpreadshirtAll_Input proto.InternalMessageInfo + +type SpreadshirtAll_Output struct { } -func _Service_Dashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Dashboard_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Dashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Dashboard", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Dashboard(ctx, req.(*Dashboard_Input)) +func (m *SpreadshirtAll_Output) Reset() { *m = SpreadshirtAll_Output{} } +func (m *SpreadshirtAll_Output) String() string { return proto.CompactTextString(m) } +func (*SpreadshirtAll_Output) ProtoMessage() {} +func (*SpreadshirtAll_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{23, 1} +} +func (m *SpreadshirtAll_Output) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SpreadshirtAll_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpreadshirtAll_Output.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *SpreadshirtAll_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpreadshirtAll_Output.Merge(m, src) +} +func (m *SpreadshirtAll_Output) XXX_Size() int { + return m.Size() +} +func (m *SpreadshirtAll_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SpreadshirtAll_Output.DiscardUnknown(m) } -func _Service_Hackz_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Hackz_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Hackz(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Hackz", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Hackz(ctx, req.(*Hackz_Input)) - } - return interceptor(ctx, in, info, handler) +var xxx_messageInfo_SpreadshirtAll_Output proto.InternalMessageInfo + +type Recettator struct { } -func _Service_Crew_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Crew_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Crew(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Crew", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Crew(ctx, req.(*Crew_Input)) +func (m *Recettator) Reset() { *m = Recettator{} } +func (m *Recettator) String() string { return proto.CompactTextString(m) } +func (*Recettator) ProtoMessage() {} +func (*Recettator) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{24} +} +func (m *Recettator) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Recettator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Recettator.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *Recettator) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recettator.Merge(m, src) +} +func (m *Recettator) XXX_Size() int { + return m.Size() +} +func (m *Recettator) XXX_DiscardUnknown() { + xxx_messageInfo_Recettator.DiscardUnknown(m) } -func _Service_Numberinfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Numberinfo_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Numberinfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Numberinfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Numberinfo(ctx, req.(*Numberinfo_Input)) - } - return interceptor(ctx, in, info, handler) +var xxx_messageInfo_Recettator proto.InternalMessageInfo + +type Recettator_Input struct { + Seed int64 `protobuf:"varint,1,opt,name=seed,proto3" json:"seed,omitempty"` + MainIngredients uint64 `protobuf:"varint,2,opt,name=main_ingredients,json=mainIngredients,proto3" json:"main_ingredients,omitempty"` + SecondaryIngredients uint64 `protobuf:"varint,3,opt,name=secondary_ingredients,json=secondaryIngredients,proto3" json:"secondary_ingredients,omitempty"` + Steps uint64 `protobuf:"varint,4,opt,name=steps,proto3" json:"steps,omitempty"` } -func _Service_Recettator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Recettator_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Recettator(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Recettator", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Recettator(ctx, req.(*Recettator_Input)) +func (m *Recettator_Input) Reset() { *m = Recettator_Input{} } +func (m *Recettator_Input) String() string { return proto.CompactTextString(m) } +func (*Recettator_Input) ProtoMessage() {} +func (*Recettator_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{24, 0} +} +func (m *Recettator_Input) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Recettator_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Recettator_Input.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *Recettator_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recettator_Input.Merge(m, src) +} +func (m *Recettator_Input) XXX_Size() int { + return m.Size() +} +func (m *Recettator_Input) XXX_DiscardUnknown() { + xxx_messageInfo_Recettator_Input.DiscardUnknown(m) } -func _Service_Moijaime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Moijaime_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Moijaime(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Moijaime", +var xxx_messageInfo_Recettator_Input proto.InternalMessageInfo + +func (m *Recettator_Input) GetSeed() int64 { + if m != nil { + return m.Seed } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Moijaime(ctx, req.(*Moijaime_Input)) + return 0 +} + +func (m *Recettator_Input) GetMainIngredients() uint64 { + if m != nil { + return m.MainIngredients } - return interceptor(ctx, in, info, handler) + return 0 } -func _Service_SpreadshirtRandom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SpreadshirtRandom_Input) - if err := dec(in); err != nil { - return nil, err +func (m *Recettator_Input) GetSecondaryIngredients() uint64 { + if m != nil { + return m.SecondaryIngredients } - if interceptor == nil { - return srv.(ServiceServer).SpreadshirtRandom(ctx, in) + return 0 +} + +func (m *Recettator_Input) GetSteps() uint64 { + if m != nil { + return m.Steps } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SpreadshirtRandom", + return 0 +} + +type Recettator_Output struct { + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + People uint64 `protobuf:"varint,2,opt,name=people,proto3" json:"people,omitempty"` + Markdown string `protobuf:"bytes,3,opt,name=markdown,proto3" json:"markdown,omitempty"` + Steps []string `protobuf:"bytes,4,rep,name=steps,proto3" json:"steps,omitempty"` + MainIngredients []*Recettator_Ingredient `protobuf:"bytes,5,rep,name=main_ingredients,json=mainIngredients,proto3" json:"main_ingredients,omitempty"` + SecondaryIngredients []*Recettator_Ingredient `protobuf:"bytes,6,rep,name=secondary_ingredients,json=secondaryIngredients,proto3" json:"secondary_ingredients,omitempty"` + Seed int64 `protobuf:"varint,7,opt,name=seed,proto3" json:"seed,omitempty"` +} + +func (m *Recettator_Output) Reset() { *m = Recettator_Output{} } +func (m *Recettator_Output) String() string { return proto.CompactTextString(m) } +func (*Recettator_Output) ProtoMessage() {} +func (*Recettator_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{24, 1} +} +func (m *Recettator_Output) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Recettator_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Recettator_Output.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SpreadshirtRandom(ctx, req.(*SpreadshirtRandom_Input)) +} +func (m *Recettator_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recettator_Output.Merge(m, src) +} +func (m *Recettator_Output) XXX_Size() int { + return m.Size() +} +func (m *Recettator_Output) XXX_DiscardUnknown() { + xxx_messageInfo_Recettator_Output.DiscardUnknown(m) +} + +var xxx_messageInfo_Recettator_Output proto.InternalMessageInfo + +func (m *Recettator_Output) GetTitle() string { + if m != nil { + return m.Title } - return interceptor(ctx, in, info, handler) + return "" } -func _Service_SpreadshirtAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SpreadshirtAll_Input) - if err := dec(in); err != nil { - return nil, err +func (m *Recettator_Output) GetPeople() uint64 { + if m != nil { + return m.People } - if interceptor == nil { - return srv.(ServiceServer).SpreadshirtAll(ctx, in) + return 0 +} + +func (m *Recettator_Output) GetMarkdown() string { + if m != nil { + return m.Markdown } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SpreadshirtAll", + return "" +} + +func (m *Recettator_Output) GetSteps() []string { + if m != nil { + return m.Steps } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SpreadshirtAll(ctx, req.(*SpreadshirtAll_Input)) + return nil +} + +func (m *Recettator_Output) GetMainIngredients() []*Recettator_Ingredient { + if m != nil { + return m.MainIngredients } - return interceptor(ctx, in, info, handler) + return nil } -func _Service_Wotd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Wotd_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Wotd(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Wotd", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Wotd(ctx, req.(*Wotd_Input)) +func (m *Recettator_Output) GetSecondaryIngredients() []*Recettator_Ingredient { + if m != nil { + return m.SecondaryIngredients } - return interceptor(ctx, in, info, handler) + return nil } -func _Service_AlternateLogo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AlternateLogo_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).AlternateLogo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/AlternateLogo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).AlternateLogo(ctx, req.(*AlternateLogo_Input)) +func (m *Recettator_Output) GetSeed() int64 { + if m != nil { + return m.Seed } - return interceptor(ctx, in, info, handler) + return 0 } -func _Service_SoundcloudMe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudMe_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudMe(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudMe", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudMe(ctx, req.(*SoundcloudMe_Input)) - } - return interceptor(ctx, in, info, handler) +type Recettator_Ingredient struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"` + Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"` + Gender string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"` + Multiple bool `protobuf:"varint,5,opt,name=multiple,proto3" json:"multiple,omitempty"` + Kind string `protobuf:"bytes,6,opt,name=kind,proto3" json:"kind,omitempty"` + NameAndQuantity string `protobuf:"bytes,7,opt,name=name_and_quantity,json=nameAndQuantity,proto3" json:"name_and_quantity,omitempty"` } -func _Service_SoundcloudPlaylists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudPlaylists_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudPlaylists(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudPlaylists", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudPlaylists(ctx, req.(*SoundcloudPlaylists_Input)) +func (m *Recettator_Ingredient) Reset() { *m = Recettator_Ingredient{} } +func (m *Recettator_Ingredient) String() string { return proto.CompactTextString(m) } +func (*Recettator_Ingredient) ProtoMessage() {} +func (*Recettator_Ingredient) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{24, 2} +} +func (m *Recettator_Ingredient) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Recettator_Ingredient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Recettator_Ingredient.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return interceptor(ctx, in, info, handler) +} +func (m *Recettator_Ingredient) XXX_Merge(src proto.Message) { + xxx_messageInfo_Recettator_Ingredient.Merge(m, src) +} +func (m *Recettator_Ingredient) XXX_Size() int { + return m.Size() +} +func (m *Recettator_Ingredient) XXX_DiscardUnknown() { + xxx_messageInfo_Recettator_Ingredient.DiscardUnknown(m) } -func _Service_SoundcloudPlaylist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudPlaylist_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudPlaylist(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudPlaylist", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudPlaylist(ctx, req.(*SoundcloudPlaylist_Input)) +var xxx_messageInfo_Recettator_Ingredient proto.InternalMessageInfo + +func (m *Recettator_Ingredient) GetName() string { + if m != nil { + return m.Name } - return interceptor(ctx, in, info, handler) + return "" } -func _Service_SoundcloudTracks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudTracks_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudTracks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudTracks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudTracks(ctx, req.(*SoundcloudTracks_Input)) +func (m *Recettator_Ingredient) GetQuantity() string { + if m != nil { + return m.Quantity } - return interceptor(ctx, in, info, handler) + return "" } -func _Service_SoundcloudTrack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudTrack_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudTrack(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudTrack", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudTrack(ctx, req.(*SoundcloudTrack_Input)) +func (m *Recettator_Ingredient) GetMethod() string { + if m != nil { + return m.Method } - return interceptor(ctx, in, info, handler) + return "" } -func _Service_Metrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Metrics_Input) - if err := dec(in); err != nil { - return nil, err +func (m *Recettator_Ingredient) GetGender() string { + if m != nil { + return m.Gender } - if interceptor == nil { - return srv.(ServiceServer).Metrics(ctx, in) + return "" +} + +func (m *Recettator_Ingredient) GetMultiple() bool { + if m != nil { + return m.Multiple } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Metrics", + return false +} + +func (m *Recettator_Ingredient) GetKind() string { + if m != nil { + return m.Kind } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Metrics(ctx, req.(*Metrics_Input)) + return "" +} + +func (m *Recettator_Ingredient) GetNameAndQuantity() string { + if m != nil { + return m.NameAndQuantity } - return interceptor(ctx, in, info, handler) + return "" } -var _Service_serviceDesc = grpc.ServiceDesc{ - ServiceName: "calcbiz.calcapi.Service", - HandlerType: (*ServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "KryptosEncrypt", - Handler: _Service_KryptosEncrypt_Handler, - }, - { - MethodName: "KryptosDecrypt", - Handler: _Service_KryptosDecrypt_Handler, - }, - { - MethodName: "TpyoEnocde", - Handler: _Service_TpyoEnocde_Handler, - }, - { - MethodName: "Ping", - Handler: _Service_Ping_Handler, - }, - { - MethodName: "Dashboard", - Handler: _Service_Dashboard_Handler, - }, - { - MethodName: "Hackz", - Handler: _Service_Hackz_Handler, - }, - { - MethodName: "Crew", - Handler: _Service_Crew_Handler, - }, - { - MethodName: "Numberinfo", - Handler: _Service_Numberinfo_Handler, - }, - { - MethodName: "Recettator", - Handler: _Service_Recettator_Handler, - }, - { - MethodName: "Moijaime", - Handler: _Service_Moijaime_Handler, - }, - { - MethodName: "SpreadshirtRandom", - Handler: _Service_SpreadshirtRandom_Handler, - }, - { - MethodName: "SpreadshirtAll", - Handler: _Service_SpreadshirtAll_Handler, - }, - { - MethodName: "Wotd", - Handler: _Service_Wotd_Handler, - }, - { - MethodName: "AlternateLogo", - Handler: _Service_AlternateLogo_Handler, - }, - { - MethodName: "SoundcloudMe", - Handler: _Service_SoundcloudMe_Handler, - }, - { - MethodName: "SoundcloudPlaylists", - Handler: _Service_SoundcloudPlaylists_Handler, - }, - { - MethodName: "SoundcloudPlaylist", - Handler: _Service_SoundcloudPlaylist_Handler, - }, - { - MethodName: "SoundcloudTracks", - Handler: _Service_SoundcloudTracks_Handler, - }, - { - MethodName: "SoundcloudTrack", - Handler: _Service_SoundcloudTrack_Handler, - }, - { - MethodName: "Metrics", - Handler: _Service_Metrics_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "calcapi.proto", +func init() { + proto.RegisterType((*CounterInc)(nil), "calcbiz.calcapi.CounterInc") + proto.RegisterType((*CounterInc_Input)(nil), "calcbiz.calcapi.CounterInc.Input") + proto.RegisterType((*CounterInc_Output)(nil), "calcbiz.calcapi.CounterInc.Output") + proto.RegisterType((*NumberSetIfBigger)(nil), "calcbiz.calcapi.NumberSetIfBigger") + proto.RegisterType((*NumberSetIfBigger_Input)(nil), "calcbiz.calcapi.NumberSetIfBigger.Input") + proto.RegisterType((*NumberSetIfBigger_Output)(nil), "calcbiz.calcapi.NumberSetIfBigger.Output") + proto.RegisterType((*KeyValueStringSet)(nil), "calcbiz.calcapi.KeyValueStringSet") + proto.RegisterType((*KeyValueStringSet_Input)(nil), "calcbiz.calcapi.KeyValueStringSet.Input") + proto.RegisterType((*KeyValueStringSet_Output)(nil), "calcbiz.calcapi.KeyValueStringSet.Output") + proto.RegisterType((*KeyValueStringGet)(nil), "calcbiz.calcapi.KeyValueStringGet") + proto.RegisterType((*KeyValueStringGet_Input)(nil), "calcbiz.calcapi.KeyValueStringGet.Input") + proto.RegisterType((*KeyValueStringGet_Output)(nil), "calcbiz.calcapi.KeyValueStringGet.Output") + proto.RegisterType((*KeyValueFloatSet)(nil), "calcbiz.calcapi.KeyValueFloatSet") + proto.RegisterType((*KeyValueFloatSet_Input)(nil), "calcbiz.calcapi.KeyValueFloatSet.Input") + proto.RegisterType((*KeyValueFloatSet_Output)(nil), "calcbiz.calcapi.KeyValueFloatSet.Output") + proto.RegisterType((*KeyValueFloatGet)(nil), "calcbiz.calcapi.KeyValueFloatGet") + proto.RegisterType((*KeyValueFloatGet_Input)(nil), "calcbiz.calcapi.KeyValueFloatGet.Input") + proto.RegisterType((*KeyValueFloatGet_Output)(nil), "calcbiz.calcapi.KeyValueFloatGet.Output") + proto.RegisterType((*Dashboard)(nil), "calcbiz.calcapi.Dashboard") + proto.RegisterType((*Dashboard_Input)(nil), "calcbiz.calcapi.Dashboard.Input") + proto.RegisterType((*Dashboard_Output)(nil), "calcbiz.calcapi.Dashboard.Output") + proto.RegisterType((*Hackz)(nil), "calcbiz.calcapi.Hackz") + proto.RegisterType((*Hackz_Input)(nil), "calcbiz.calcapi.Hackz.Input") + proto.RegisterType((*Hackz_Output)(nil), "calcbiz.calcapi.Hackz.Output") + proto.RegisterType((*Crew)(nil), "calcbiz.calcapi.Crew") + proto.RegisterType((*Crew_Input)(nil), "calcbiz.calcapi.Crew.Input") + proto.RegisterType((*Crew_Output)(nil), "calcbiz.calcapi.Crew.Output") + proto.RegisterType((*SoundcloudMe)(nil), "calcbiz.calcapi.SoundcloudMe") + proto.RegisterType((*SoundcloudMe_Input)(nil), "calcbiz.calcapi.SoundcloudMe.Input") + proto.RegisterType((*SoundcloudMe_Output)(nil), "calcbiz.calcapi.SoundcloudMe.Output") + proto.RegisterType((*SoundcloudPlaylists)(nil), "calcbiz.calcapi.SoundcloudPlaylists") + proto.RegisterType((*SoundcloudPlaylists_Input)(nil), "calcbiz.calcapi.SoundcloudPlaylists.Input") + proto.RegisterType((*SoundcloudPlaylists_Output)(nil), "calcbiz.calcapi.SoundcloudPlaylists.Output") + proto.RegisterType((*SoundcloudPlaylist)(nil), "calcbiz.calcapi.SoundcloudPlaylist") + proto.RegisterType((*SoundcloudPlaylist_Input)(nil), "calcbiz.calcapi.SoundcloudPlaylist.Input") + proto.RegisterType((*SoundcloudPlaylist_Output)(nil), "calcbiz.calcapi.SoundcloudPlaylist.Output") + proto.RegisterType((*SoundcloudTracks)(nil), "calcbiz.calcapi.SoundcloudTracks") + proto.RegisterType((*SoundcloudTracks_Input)(nil), "calcbiz.calcapi.SoundcloudTracks.Input") + proto.RegisterType((*SoundcloudTracks_Output)(nil), "calcbiz.calcapi.SoundcloudTracks.Output") + proto.RegisterType((*SoundcloudTrack)(nil), "calcbiz.calcapi.SoundcloudTrack") + proto.RegisterType((*SoundcloudTrack_Input)(nil), "calcbiz.calcapi.SoundcloudTrack.Input") + proto.RegisterType((*SoundcloudTrack_Output)(nil), "calcbiz.calcapi.SoundcloudTrack.Output") + proto.RegisterType((*Metrics)(nil), "calcbiz.calcapi.Metrics") + proto.RegisterType((*Metrics_Input)(nil), "calcbiz.calcapi.Metrics.Input") + proto.RegisterType((*Metrics_Output)(nil), "calcbiz.calcapi.Metrics.Output") + proto.RegisterType((*Ping)(nil), "calcbiz.calcapi.Ping") + proto.RegisterType((*Ping_Input)(nil), "calcbiz.calcapi.Ping.Input") + proto.RegisterType((*Ping_Output)(nil), "calcbiz.calcapi.Ping.Output") + proto.RegisterType((*Kryptos)(nil), "calcbiz.calcapi.Kryptos") + proto.RegisterType((*Kryptos_Input)(nil), "calcbiz.calcapi.Kryptos.Input") + proto.RegisterType((*Kryptos_Output)(nil), "calcbiz.calcapi.Kryptos.Output") + proto.RegisterType((*TpyoEnocde)(nil), "calcbiz.calcapi.TpyoEnocde") + proto.RegisterType((*TpyoEnocde_Ipunt)(nil), "calcbiz.calcapi.TpyoEnocde.Ipunt") + proto.RegisterType((*TpyoEnocde_Ouptut)(nil), "calcbiz.calcapi.TpyoEnocde.Ouptut") + proto.RegisterType((*Numberinfo)(nil), "calcbiz.calcapi.Numberinfo") + proto.RegisterType((*Numberinfo_Input)(nil), "calcbiz.calcapi.Numberinfo.Input") + proto.RegisterType((*Numberinfo_Output)(nil), "calcbiz.calcapi.Numberinfo.Output") + proto.RegisterMapType((map[string]string)(nil), "calcbiz.calcapi.Numberinfo.Output.FactsEntry") + proto.RegisterType((*Moijaime)(nil), "calcbiz.calcapi.Moijaime") + proto.RegisterType((*Moijaime_Input)(nil), "calcbiz.calcapi.Moijaime.Input") + proto.RegisterType((*Moijaime_Output)(nil), "calcbiz.calcapi.Moijaime.Output") + proto.RegisterType((*Wotd)(nil), "calcbiz.calcapi.Wotd") + proto.RegisterType((*Wotd_Input)(nil), "calcbiz.calcapi.Wotd.Input") + proto.RegisterType((*Wotd_Output)(nil), "calcbiz.calcapi.Wotd.Output") + proto.RegisterType((*AlternateLogo)(nil), "calcbiz.calcapi.AlternateLogo") + proto.RegisterType((*AlternateLogo_Input)(nil), "calcbiz.calcapi.AlternateLogo.Input") + proto.RegisterType((*AlternateLogo_Output)(nil), "calcbiz.calcapi.AlternateLogo.Output") + proto.RegisterType((*SpreadshirtRandom)(nil), "calcbiz.calcapi.SpreadshirtRandom") + proto.RegisterType((*SpreadshirtRandom_Input)(nil), "calcbiz.calcapi.SpreadshirtRandom.Input") + proto.RegisterType((*SpreadshirtRandom_Output)(nil), "calcbiz.calcapi.SpreadshirtRandom.Output") + proto.RegisterType((*SpreadshirtAll)(nil), "calcbiz.calcapi.SpreadshirtAll") + proto.RegisterType((*SpreadshirtAll_Input)(nil), "calcbiz.calcapi.SpreadshirtAll.Input") + proto.RegisterType((*SpreadshirtAll_Output)(nil), "calcbiz.calcapi.SpreadshirtAll.Output") + proto.RegisterType((*Recettator)(nil), "calcbiz.calcapi.Recettator") + proto.RegisterType((*Recettator_Input)(nil), "calcbiz.calcapi.Recettator.Input") + proto.RegisterType((*Recettator_Output)(nil), "calcbiz.calcapi.Recettator.Output") + proto.RegisterType((*Recettator_Ingredient)(nil), "calcbiz.calcapi.Recettator.Ingredient") } -func (m *Dashboard) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func init() { proto.RegisterFile("calcapi.proto", fileDescriptor_b4e0a0c9e1471050) } + +var fileDescriptor_b4e0a0c9e1471050 = []byte{ + // 1903 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4d, 0x6f, 0xdc, 0xc6, + 0x19, 0x36, 0x57, 0xbb, 0xfa, 0x18, 0x5b, 0x5f, 0x63, 0xd9, 0x91, 0x68, 0x65, 0x25, 0xd1, 0x8e, + 0x2c, 0x39, 0xd8, 0x65, 0x21, 0x17, 0x81, 0x9b, 0x16, 0x45, 0x65, 0xc5, 0x71, 0x05, 0xd7, 0xa9, + 0x43, 0x29, 0x6d, 0xd3, 0x1e, 0x54, 0x8a, 0x9c, 0x5d, 0xb1, 0xcb, 0xe5, 0xb0, 0xc3, 0xa1, 0x95, + 0xb5, 0xa0, 0x4b, 0x80, 0xa2, 0xe8, 0x21, 0x40, 0x8c, 0xf6, 0xd2, 0xa2, 0x3f, 0xa1, 0x97, 0x9e, + 0xfa, 0x0f, 0x8a, 0x1c, 0x03, 0xf4, 0xd2, 0x63, 0x61, 0xf7, 0x37, 0xf4, 0x5c, 0xcc, 0x3b, 0xc3, + 0x0f, 0x2d, 0x49, 0xed, 0xba, 0x68, 0x6e, 0x33, 0xef, 0xfb, 0xf0, 0x79, 0x1e, 0xbe, 0x9c, 0x4f, + 0xa2, 0x59, 0xc7, 0xf6, 0x1d, 0x3b, 0xf4, 0xda, 0x21, 0xa3, 0x9c, 0xe2, 0x79, 0xd1, 0x3d, 0xf6, + 0x5e, 0xb4, 0x55, 0x58, 0x5f, 0xed, 0x52, 0xda, 0xf5, 0x89, 0x69, 0x87, 0x9e, 0x69, 0x07, 0x01, + 0xe5, 0x36, 0xf7, 0x68, 0x10, 0x49, 0xb8, 0xde, 0xea, 0x7a, 0xfc, 0x24, 0x3e, 0x6e, 0x3b, 0xb4, + 0x6f, 0x76, 0x69, 0x97, 0x9a, 0x10, 0x3e, 0x8e, 0x3b, 0xd0, 0x83, 0x0e, 0xb4, 0x14, 0x1c, 0x39, + 0x8c, 0x9c, 0xaa, 0xf6, 0xbc, 0x6b, 0x47, 0x27, 0xc7, 0xd4, 0x66, 0xae, 0x0a, 0x2c, 0x44, 0x34, + 0x0e, 0x5c, 0xc7, 0xa7, 0xb1, 0x8a, 0x18, 0x9f, 0x22, 0xb4, 0x47, 0xe3, 0x80, 0x13, 0xb6, 0x1f, + 0x38, 0xfa, 0xbb, 0xa8, 0xb1, 0x1f, 0x84, 0x31, 0xc7, 0x0b, 0x68, 0xa2, 0x47, 0x06, 0xcb, 0xda, + 0xba, 0xb6, 0x35, 0x63, 0x89, 0xa6, 0x88, 0x74, 0xed, 0x70, 0xb9, 0xb6, 0xae, 0x6d, 0x69, 0x96, + 0x68, 0xea, 0x4d, 0x34, 0xf9, 0xe3, 0x98, 0x0b, 0xf4, 0x12, 0x6a, 0x3c, 0xb7, 0xfd, 0x98, 0xa8, + 0xac, 0xec, 0x18, 0x2e, 0x5a, 0xfc, 0x28, 0xee, 0x1f, 0x13, 0x76, 0x40, 0xf8, 0x7e, 0xe7, 0xa1, + 0xd7, 0xed, 0x12, 0xa6, 0x9b, 0xd5, 0x0a, 0xa5, 0x2c, 0x23, 0x55, 0x3e, 0x42, 0x8b, 0x4f, 0xc8, + 0xe0, 0x27, 0xa2, 0x7d, 0xc0, 0x99, 0x17, 0x74, 0x0f, 0x08, 0x1f, 0x5b, 0x65, 0x26, 0x51, 0x99, + 0x4e, 0x54, 0x8a, 0x7c, 0x8f, 0x09, 0xd7, 0x57, 0x2a, 0xf9, 0xaa, 0xfc, 0x25, 0xcc, 0xc6, 0x53, + 0xb4, 0x90, 0xf0, 0x7d, 0xe8, 0x53, 0x9b, 0xbf, 0x89, 0x3d, 0xad, 0x68, 0x6f, 0x98, 0xee, 0x7f, + 0x73, 0x97, 0x56, 0xef, 0x10, 0xcd, 0x7c, 0x90, 0x8c, 0x11, 0x7d, 0x4a, 0xf1, 0xe8, 0xdf, 0x4f, + 0x9f, 0xfa, 0x36, 0x9a, 0x22, 0x01, 0x67, 0x1e, 0x89, 0x80, 0xf5, 0xea, 0x8e, 0xde, 0x4e, 0x46, + 0x6f, 0x36, 0xb6, 0x1e, 0x49, 0x84, 0x95, 0x40, 0x8d, 0x67, 0xa8, 0xf1, 0x43, 0xdb, 0xe9, 0xbd, + 0xf8, 0xff, 0x31, 0xee, 0xa2, 0xfa, 0x1e, 0x23, 0xa7, 0x19, 0xe1, 0xb7, 0x52, 0xc2, 0x4d, 0x54, + 0x17, 0x43, 0x5e, 0xb1, 0xe1, 0x94, 0x0d, 0xe6, 0x81, 0x78, 0xc8, 0x82, 0xbc, 0xf1, 0x04, 0x5d, + 0x3b, 0x48, 0x47, 0xff, 0x53, 0x92, 0x51, 0xed, 0xa4, 0x54, 0x5b, 0xa8, 0xd6, 0x27, 0x8a, 0x68, + 0x39, 0x25, 0xca, 0xcd, 0x99, 0x4f, 0x22, 0xc2, 0xac, 0x5a, 0x9f, 0x18, 0x04, 0x5d, 0xcf, 0xc8, + 0x9e, 0xf9, 0xf6, 0xc0, 0xf7, 0x22, 0x1e, 0x65, 0x9c, 0x8f, 0x52, 0xce, 0xef, 0xa2, 0x99, 0x30, + 0xc9, 0x2b, 0xea, 0xb7, 0xcb, 0xa8, 0x53, 0x12, 0x2b, 0xc3, 0x1b, 0x9f, 0x6b, 0x08, 0x17, 0x75, + 0xf4, 0xad, 0xe4, 0x83, 0xaf, 0xa1, 0xab, 0x09, 0xf8, 0xc8, 0x73, 0x81, 0xbe, 0x6e, 0xa1, 0x24, + 0xb4, 0xef, 0xea, 0x0f, 0x53, 0x1f, 0x0f, 0xd0, 0x74, 0x12, 0x57, 0x36, 0x56, 0x2f, 0xb3, 0x61, + 0xa5, 0x68, 0xe3, 0x53, 0xb4, 0x90, 0x79, 0x38, 0x64, 0xb6, 0xd3, 0xcb, 0xbd, 0xe8, 0xf7, 0x52, + 0x81, 0x1d, 0x34, 0xc9, 0x21, 0x59, 0xf8, 0xae, 0x39, 0x7a, 0xf9, 0xb8, 0xa5, 0x90, 0x46, 0x88, + 0xe6, 0x87, 0xa8, 0x75, 0x23, 0x79, 0xb7, 0x15, 0x34, 0x0d, 0xa8, 0xec, 0xc5, 0xa6, 0xa0, 0xbf, + 0xef, 0xea, 0xdf, 0x49, 0x45, 0x4d, 0xd4, 0x80, 0xa0, 0xd2, 0x5c, 0xa9, 0xd4, 0xb4, 0x24, 0xce, + 0xf8, 0xbb, 0x86, 0xa6, 0x9e, 0x12, 0xce, 0x3c, 0x27, 0xf7, 0x12, 0x7f, 0xd5, 0x72, 0xa3, 0x69, + 0x3e, 0x12, 0xeb, 0xaf, 0x73, 0x74, 0x4c, 0x3f, 0x3b, 0x8a, 0xbc, 0x17, 0x72, 0x3c, 0x34, 0xac, + 0x59, 0x19, 0x7e, 0x48, 0x3f, 0x3b, 0xf0, 0x5e, 0x10, 0x7c, 0x0f, 0x2d, 0x46, 0x84, 0x3d, 0x27, + 0xec, 0x28, 0xe2, 0x36, 0xe3, 0x47, 0xdc, 0xeb, 0x27, 0x13, 0x7f, 0x5e, 0x26, 0x0e, 0x44, 0xfc, + 0xd0, 0xeb, 0x13, 0xdc, 0x46, 0xd7, 0x15, 0xd6, 0x89, 0x19, 0x23, 0x81, 0x42, 0x4f, 0x00, 0x5a, + 0xd1, 0xec, 0xc9, 0x0c, 0xe0, 0x6f, 0xa3, 0x59, 0x85, 0x8f, 0x43, 0x40, 0xd6, 0x01, 0x79, 0x4d, + 0x06, 0x3f, 0x81, 0x98, 0xd1, 0x42, 0xf5, 0x67, 0x5e, 0xd0, 0xcd, 0x5e, 0x62, 0x35, 0x7d, 0x07, + 0x8c, 0xea, 0x21, 0x0d, 0xba, 0x6a, 0x1d, 0x80, 0xb6, 0xf1, 0x03, 0x34, 0xf5, 0x84, 0x0d, 0x42, + 0x4e, 0x23, 0xfd, 0x56, 0x52, 0x61, 0x8c, 0xea, 0x1d, 0x46, 0xfb, 0x09, 0x4e, 0xb4, 0xf5, 0xe5, + 0x94, 0x65, 0x0e, 0xd5, 0x38, 0x55, 0xb9, 0x1a, 0xa7, 0xc6, 0x1e, 0x42, 0x87, 0xe1, 0x80, 0x3e, + 0x0a, 0xa8, 0xe3, 0x12, 0x20, 0x09, 0xe3, 0x40, 0x92, 0x50, 0x96, 0x91, 0x50, 0xa6, 0x48, 0x42, + 0x5e, 0x42, 0xf2, 0x37, 0x0d, 0x21, 0xb9, 0x29, 0x78, 0x41, 0x87, 0xea, 0x6b, 0x89, 0x95, 0x9b, + 0x68, 0x32, 0x80, 0x30, 0x60, 0x6b, 0x96, 0xea, 0xe9, 0xbf, 0xcd, 0xbe, 0xcc, 0x1e, 0x6a, 0x74, + 0x6c, 0x07, 0x26, 0xd1, 0xc4, 0xd6, 0xd5, 0x9d, 0x56, 0x7b, 0x68, 0x1b, 0x6d, 0x67, 0xbc, 0x6d, + 0xf9, 0x48, 0xfb, 0x43, 0x81, 0x17, 0x6b, 0xc9, 0xc0, 0x92, 0xcf, 0xea, 0x0f, 0x10, 0xca, 0x82, + 0xe3, 0xee, 0x0e, 0xef, 0xd7, 0x1e, 0x68, 0xc6, 0x7d, 0x34, 0xfd, 0x94, 0x7a, 0xbf, 0xb2, 0xbd, + 0x7e, 0x6e, 0xe9, 0xb8, 0xb0, 0xbc, 0xf6, 0xbc, 0x4e, 0x47, 0xba, 0x9b, 0xb1, 0x64, 0x47, 0x7c, + 0xa4, 0x9f, 0x52, 0xee, 0x56, 0x7c, 0xa4, 0x53, 0xca, 0xdc, 0xa4, 0x6e, 0xa2, 0x6d, 0xbc, 0x87, + 0x66, 0x77, 0x7d, 0x4e, 0x58, 0x60, 0x73, 0xf2, 0x23, 0xda, 0xa5, 0x55, 0x1f, 0xd7, 0xe6, 0x27, + 0xe9, 0xc7, 0xb5, 0xf9, 0x89, 0xb1, 0x89, 0x16, 0x0f, 0x42, 0x46, 0x6c, 0x37, 0x3a, 0xf1, 0x18, + 0xb7, 0xec, 0xc0, 0xa5, 0xfd, 0xec, 0xd9, 0x6c, 0xf3, 0xb8, 0x8d, 0xe6, 0x72, 0xb8, 0x5d, 0xdf, + 0x2f, 0x03, 0xfd, 0xa9, 0x81, 0x90, 0x45, 0x1c, 0xc2, 0xb9, 0xcd, 0x29, 0xd3, 0x5f, 0x6a, 0xb9, + 0xe1, 0x12, 0x11, 0x22, 0x1d, 0x4f, 0x58, 0xd0, 0xc6, 0xdb, 0x68, 0xa1, 0x6f, 0x7b, 0xc1, 0x91, + 0x17, 0x74, 0x19, 0x71, 0x3d, 0x12, 0xf0, 0x08, 0x4a, 0x57, 0xb7, 0xe6, 0x45, 0x7c, 0x3f, 0x0b, + 0xe3, 0xfb, 0xe8, 0x46, 0x44, 0x1c, 0x1a, 0xb8, 0x36, 0x1b, 0x5c, 0xc0, 0x4f, 0x00, 0x7e, 0x29, + 0x4d, 0xe6, 0x1f, 0x5a, 0x42, 0x8d, 0x88, 0x93, 0x30, 0x82, 0x29, 0x50, 0xb7, 0x64, 0x47, 0xff, + 0x4b, 0x2d, 0x5f, 0x77, 0xee, 0x71, 0x9f, 0xa8, 0x7a, 0xc8, 0x8e, 0x18, 0x4e, 0x21, 0xa1, 0xa1, + 0x4f, 0x94, 0x19, 0xd5, 0xc3, 0x3a, 0x9a, 0xee, 0xdb, 0xac, 0xe7, 0xd2, 0xd3, 0x40, 0x4d, 0xbf, + 0xb4, 0x9f, 0x97, 0x82, 0x2f, 0x08, 0x1d, 0xfc, 0x71, 0xc9, 0x0b, 0x36, 0x60, 0x00, 0x6e, 0x16, + 0x06, 0x60, 0x56, 0xb5, 0x76, 0xf6, 0x0e, 0xc5, 0x42, 0xfc, 0xa2, 0xaa, 0x10, 0x93, 0x6f, 0xc4, + 0x5b, 0x5e, 0xb0, 0xe4, 0x23, 0x4d, 0x65, 0x1f, 0x49, 0xff, 0x4a, 0x43, 0x28, 0xc3, 0x08, 0x48, + 0x60, 0xf7, 0x93, 0x8a, 0x41, 0x5b, 0x14, 0xe6, 0xd7, 0xb1, 0x1d, 0x70, 0x8f, 0x0f, 0xd4, 0xd0, + 0x4f, 0xfb, 0xa2, 0x98, 0x7d, 0xc2, 0x4f, 0xa8, 0xab, 0x4a, 0xa6, 0x7a, 0x22, 0xde, 0x25, 0x81, + 0x4b, 0x98, 0x5a, 0x9f, 0x54, 0x0f, 0x8a, 0x1c, 0xfb, 0xdc, 0x13, 0xe5, 0x6f, 0xac, 0x6b, 0x5b, + 0xd3, 0x56, 0xda, 0x17, 0xda, 0x3d, 0x2f, 0x70, 0x97, 0x27, 0xa5, 0xb6, 0x68, 0x8b, 0xa5, 0x54, + 0x78, 0x38, 0xb2, 0x03, 0xf7, 0x28, 0x35, 0x31, 0x25, 0x97, 0x52, 0x91, 0xd8, 0x0d, 0xdc, 0x8f, + 0x55, 0x78, 0xe7, 0x3f, 0xcb, 0x68, 0xea, 0x80, 0xb0, 0xe7, 0x9e, 0x43, 0x30, 0x43, 0x73, 0x6a, + 0x49, 0x7b, 0x14, 0x38, 0xa2, 0x81, 0x9b, 0x85, 0xd2, 0x29, 0x40, 0x5b, 0x0e, 0xf2, 0xb5, 0xca, + 0xbc, 0x1a, 0xfb, 0x6b, 0x9f, 0xff, 0xe3, 0xdf, 0xbf, 0xaf, 0xad, 0x18, 0x4b, 0x70, 0x16, 0xef, + 0xc9, 0xa4, 0x49, 0x24, 0xfd, 0xfb, 0xda, 0xbd, 0x9c, 0xe6, 0x07, 0xe4, 0x1b, 0xd5, 0x74, 0x49, + 0xaa, 0xe9, 0xe5, 0x17, 0x5e, 0xbc, 0x51, 0xe0, 0xcb, 0x92, 0x6d, 0x58, 0x92, 0x75, 0xe3, 0x32, + 0x88, 0x5c, 0x98, 0x8d, 0x25, 0x50, 0x9d, 0x33, 0x66, 0x40, 0x95, 0x87, 0x03, 0x2a, 0xa4, 0x0e, + 0xe5, 0xa6, 0x82, 0x6f, 0x15, 0x18, 0x44, 0x58, 0xbd, 0xd1, 0x6a, 0x79, 0x52, 0xbd, 0xce, 0x22, + 0x10, 0x5f, 0xc5, 0x92, 0x38, 0x14, 0x6c, 0x27, 0xb9, 0x43, 0x26, 0x5e, 0x2f, 0x3c, 0x9d, 0xe6, + 0x14, 0xff, 0xc6, 0x25, 0x08, 0x25, 0x72, 0x13, 0x44, 0x16, 0xf0, 0x1c, 0x88, 0xa4, 0xe7, 0x46, + 0xfc, 0x33, 0x75, 0xf0, 0xc4, 0x45, 0x8f, 0x10, 0x57, 0x0a, 0x6f, 0x57, 0x64, 0x15, 0x3b, 0x06, + 0xf6, 0x6b, 0x18, 0x01, 0xfb, 0x09, 0x10, 0x1e, 0xca, 0x03, 0x68, 0x49, 0x65, 0x44, 0xb8, 0xb2, + 0x32, 0x90, 0x2c, 0xad, 0x8c, 0x38, 0x93, 0xe2, 0x38, 0xbf, 0x1b, 0x96, 0x7c, 0xda, 0xdc, 0x96, + 0x26, 0x15, 0x8c, 0xd1, 0xbb, 0x9e, 0xb1, 0x0e, 0x3a, 0x3a, 0x5e, 0x06, 0x9d, 0x20, 0xcd, 0x9b, + 0x67, 0xb2, 0x7d, 0x8e, 0xfd, 0xfc, 0x0a, 0x5f, 0x22, 0x7b, 0x61, 0xc1, 0x29, 0x97, 0xcd, 0x41, + 0x94, 0xec, 0x5b, 0x20, 0xbb, 0x88, 0xe7, 0x41, 0x96, 0x65, 0xfc, 0x6e, 0xb6, 0x73, 0xe2, 0xe2, + 0x6c, 0x48, 0x52, 0x4a, 0x69, 0xbd, 0x1a, 0xa0, 0x74, 0x6e, 0x80, 0xce, 0x3c, 0x9e, 0x05, 0x9d, + 0x7e, 0xc2, 0xfc, 0x3b, 0xad, 0x64, 0x13, 0xc4, 0x5b, 0x05, 0xba, 0x02, 0x46, 0x09, 0x6f, 0x8f, + 0x81, 0xbc, 0x38, 0x63, 0xf1, 0x5b, 0xe0, 0x20, 0xca, 0x60, 0x26, 0x93, 0xaa, 0xe7, 0xc3, 0xfb, + 0x2c, 0x7e, 0xe7, 0x32, 0xf6, 0x5d, 0xdf, 0x57, 0x26, 0x36, 0x47, 0xc1, 0x94, 0x83, 0x55, 0x70, + 0x70, 0x13, 0x2f, 0x15, 0x1c, 0xd8, 0xbe, 0x2f, 0xc6, 0xaa, 0x38, 0x75, 0x94, 0x8c, 0x55, 0x11, + 0xae, 0x1c, 0xab, 0x90, 0x2c, 0x1d, 0xab, 0xa7, 0x82, 0x6d, 0x30, 0x74, 0x38, 0xc1, 0x77, 0x0a, + 0x0c, 0x17, 0xf2, 0x4a, 0xe7, 0x9d, 0x11, 0x28, 0x25, 0x78, 0x0b, 0x04, 0x6f, 0xe0, 0xeb, 0xf2, + 0x2f, 0x48, 0x02, 0x69, 0xf9, 0x42, 0x29, 0xbe, 0x78, 0x75, 0xc3, 0xb7, 0x8b, 0x65, 0xca, 0xa5, + 0x95, 0xf0, 0x9d, 0xcb, 0x41, 0x4a, 0x57, 0x07, 0xdd, 0x25, 0x8c, 0x65, 0x25, 0x53, 0x84, 0xd9, + 0x27, 0xf8, 0xa5, 0x56, 0x7a, 0xcb, 0xc3, 0xf7, 0x2e, 0x61, 0x4e, 0x51, 0xca, 0xc5, 0xbb, 0x63, + 0x61, 0x95, 0x99, 0x0d, 0x30, 0x73, 0x0b, 0xaf, 0x0c, 0x9b, 0x49, 0x6f, 0x84, 0xf8, 0xcf, 0xa5, + 0x37, 0x42, 0xbc, 0x3d, 0x86, 0x8c, 0x72, 0x34, 0x8e, 0xfb, 0xc4, 0x90, 0x09, 0x86, 0xb6, 0xf1, + 0xdd, 0x4a, 0x43, 0xe6, 0x59, 0xee, 0x02, 0x7a, 0x8e, 0x7f, 0xa3, 0x15, 0x2f, 0x8b, 0xf8, 0xee, + 0x25, 0x8a, 0x12, 0xa2, 0xac, 0x6d, 0x8d, 0x06, 0x2a, 0x63, 0x4d, 0x30, 0xb6, 0x8c, 0x6f, 0x0e, + 0x1b, 0x93, 0x17, 0x4b, 0xfc, 0x85, 0x56, 0xb8, 0x59, 0xe2, 0xcd, 0x51, 0xec, 0xca, 0xc5, 0x48, + 0xbb, 0x89, 0x89, 0x6d, 0x30, 0x71, 0x1b, 0x6f, 0x94, 0x9b, 0x30, 0xcf, 0x92, 0xfb, 0xeb, 0x39, + 0xfe, 0x65, 0x7a, 0xeb, 0x2c, 0x39, 0x30, 0xa8, 0x4c, 0xe5, 0x81, 0x21, 0xc9, 0x2b, 0x59, 0xb5, + 0x75, 0xe3, 0x6b, 0x72, 0x01, 0x54, 0xb4, 0x51, 0xfe, 0x47, 0x5e, 0xc9, 0x9a, 0x9e, 0x25, 0x2b, + 0xd7, 0xf4, 0x1c, 0xa4, 0xb4, 0xcc, 0x8e, 0xcc, 0xb7, 0xbc, 0xc0, 0x31, 0xcf, 0x7a, 0x64, 0x70, + 0x8e, 0xff, 0xa8, 0x95, 0xfc, 0xe3, 0x2b, 0x59, 0x74, 0x0b, 0x98, 0xca, 0x45, 0xb7, 0x88, 0x2c, + 0x1d, 0x8a, 0x72, 0x27, 0x6b, 0x45, 0x84, 0xb7, 0xbc, 0x4e, 0xeb, 0x18, 0x90, 0xd2, 0x93, 0x79, + 0x06, 0x77, 0xb6, 0x73, 0xfc, 0x07, 0xad, 0xe4, 0xcf, 0x60, 0x89, 0xb7, 0x02, 0xa6, 0xd2, 0x5b, + 0x11, 0xa9, 0xbc, 0xdd, 0x03, 0x6f, 0x77, 0x8c, 0x35, 0x79, 0x84, 0x23, 0x83, 0x16, 0x78, 0x68, + 0x45, 0x00, 0x14, 0x2e, 0xa5, 0x37, 0x71, 0xc4, 0x7a, 0xa9, 0x95, 0xfc, 0x60, 0x1c, 0x69, 0xeb, + 0xf1, 0xd8, 0xb6, 0x1e, 0x67, 0xb6, 0xee, 0x82, 0xad, 0x0d, 0x5c, 0x61, 0xab, 0x9b, 0xd8, 0xc2, + 0x5f, 0x6a, 0xc5, 0x9f, 0x94, 0x25, 0xb3, 0x76, 0x18, 0x52, 0x39, 0x6b, 0x0b, 0xc0, 0x8b, 0x13, + 0xc6, 0x68, 0x0e, 0x19, 0xea, 0x08, 0xdc, 0xc5, 0x32, 0x7d, 0xa1, 0x15, 0x7f, 0x74, 0x8e, 0xb2, + 0xf4, 0x78, 0x5c, 0x4b, 0xb9, 0x1a, 0x6d, 0x82, 0xa5, 0x75, 0x5c, 0x6e, 0x29, 0x2d, 0xd1, 0xc3, + 0xf7, 0xbe, 0x7a, 0xd5, 0xd4, 0xbe, 0x7e, 0xd5, 0xd4, 0xfe, 0xf5, 0xaa, 0xa9, 0x7d, 0xf9, 0xba, + 0x79, 0xe5, 0xeb, 0xd7, 0xcd, 0x2b, 0xff, 0x7c, 0xdd, 0xbc, 0xf2, 0xf3, 0xd5, 0xd8, 0xe7, 0x8c, + 0xb4, 0xfb, 0xc4, 0x54, 0x9a, 0x66, 0xd8, 0xeb, 0x9a, 0x4a, 0xf7, 0x78, 0x12, 0x7e, 0xb3, 0xdf, + 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x59, 0x91, 0xd9, 0x04, 0x18, 0x00, 0x00, } -func (m *Dashboard) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ServiceClient is the client API for Service service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ServiceClient interface { + KryptosEncrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) + KryptosDecrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) + TpyoEnocde(ctx context.Context, in *TpyoEnocde_Ipunt, opts ...grpc.CallOption) (*TpyoEnocde_Ouptut, error) + Ping(ctx context.Context, in *Ping_Input, opts ...grpc.CallOption) (*Ping_Output, error) + Dashboard(ctx context.Context, in *Dashboard_Input, opts ...grpc.CallOption) (*Dashboard_Output, error) + Hackz(ctx context.Context, in *Hackz_Input, opts ...grpc.CallOption) (*Hackz_Output, error) + Crew(ctx context.Context, in *Crew_Input, opts ...grpc.CallOption) (*Crew_Output, error) + Numberinfo(ctx context.Context, in *Numberinfo_Input, opts ...grpc.CallOption) (*Numberinfo_Output, error) + Recettator(ctx context.Context, in *Recettator_Input, opts ...grpc.CallOption) (*Recettator_Output, error) + Moijaime(ctx context.Context, in *Moijaime_Input, opts ...grpc.CallOption) (*Moijaime_Output, error) + SpreadshirtRandom(ctx context.Context, in *SpreadshirtRandom_Input, opts ...grpc.CallOption) (*SpreadshirtRandom_Output, error) + SpreadshirtAll(ctx context.Context, in *SpreadshirtAll_Input, opts ...grpc.CallOption) (*SpreadshirtAll_Output, error) + Wotd(ctx context.Context, in *Wotd_Input, opts ...grpc.CallOption) (*Wotd_Output, error) + AlternateLogo(ctx context.Context, in *AlternateLogo_Input, opts ...grpc.CallOption) (*AlternateLogo_Output, error) + SoundcloudMe(ctx context.Context, in *SoundcloudMe_Input, opts ...grpc.CallOption) (*SoundcloudMe_Output, error) + SoundcloudPlaylists(ctx context.Context, in *SoundcloudPlaylists_Input, opts ...grpc.CallOption) (*SoundcloudPlaylists_Output, error) + SoundcloudPlaylist(ctx context.Context, in *SoundcloudPlaylist_Input, opts ...grpc.CallOption) (*SoundcloudPlaylist_Output, error) + SoundcloudTracks(ctx context.Context, in *SoundcloudTracks_Input, opts ...grpc.CallOption) (*SoundcloudTracks_Output, error) + SoundcloudTrack(ctx context.Context, in *SoundcloudTrack_Input, opts ...grpc.CallOption) (*SoundcloudTrack_Output, error) + Metrics(ctx context.Context, in *Metrics_Input, opts ...grpc.CallOption) (*Metrics_Output, error) + CounterInc(ctx context.Context, in *CounterInc_Input, opts ...grpc.CallOption) (*CounterInc_Output, error) + NumberSetIfBigger(ctx context.Context, in *NumberSetIfBigger_Input, opts ...grpc.CallOption) (*NumberSetIfBigger_Output, error) + KeyValueStringSet(ctx context.Context, in *KeyValueStringSet_Input, opts ...grpc.CallOption) (*KeyValueStringSet_Output, error) + KeyValueStringGet(ctx context.Context, in *KeyValueStringGet_Input, opts ...grpc.CallOption) (*KeyValueStringGet_Output, error) + KeyValueFloatSet(ctx context.Context, in *KeyValueFloatSet_Input, opts ...grpc.CallOption) (*KeyValueFloatSet_Output, error) + KeyValueFloatGet(ctx context.Context, in *KeyValueFloatGet_Input, opts ...grpc.CallOption) (*KeyValueFloatGet_Output, error) } -func (m *Dashboard) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +type serviceClient struct { + cc *grpc.ClientConn } -func (m *Dashboard_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func NewServiceClient(cc *grpc.ClientConn) ServiceClient { + return &serviceClient{cc} +} + +func (c *serviceClient) KryptosEncrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) { + out := new(Kryptos_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KryptosEncrypt", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *Dashboard_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return out, nil } -func (m *Dashboard_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (c *serviceClient) KryptosDecrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) { + out := new(Kryptos_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KryptosDecrypt", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *Dashboard_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) TpyoEnocde(ctx context.Context, in *TpyoEnocde_Ipunt, opts ...grpc.CallOption) (*TpyoEnocde_Ouptut, error) { + out := new(TpyoEnocde_Ouptut) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/TpyoEnocde", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *Dashboard_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) Ping(ctx context.Context, in *Ping_Input, opts ...grpc.CallOption) (*Ping_Output, error) { + out := new(Ping_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Ping", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *Dashboard_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Entries != nil { - { - size, err := m.Entries.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (c *serviceClient) Dashboard(ctx context.Context, in *Dashboard_Input, opts ...grpc.CallOption) (*Dashboard_Output, error) { + out := new(Dashboard_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Dashboard", in, out, opts...) + if err != nil { + return nil, err } - return len(dAtA) - i, nil + return out, nil } -func (m *Hackz) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) Hackz(ctx context.Context, in *Hackz_Input, opts ...grpc.CallOption) (*Hackz_Output, error) { + out := new(Hackz_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Hackz", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *Hackz) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) Crew(ctx context.Context, in *Crew_Input, opts ...grpc.CallOption) (*Crew_Output, error) { + out := new(Crew_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Crew", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *Hackz) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (c *serviceClient) Numberinfo(ctx context.Context, in *Numberinfo_Input, opts ...grpc.CallOption) (*Numberinfo_Output, error) { + out := new(Numberinfo_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Numberinfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *Hackz_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) Recettator(ctx context.Context, in *Recettator_Input, opts ...grpc.CallOption) (*Recettator_Output, error) { + out := new(Recettator_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Recettator", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *Hackz_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Hackz_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *Hackz_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) Moijaime(ctx context.Context, in *Moijaime_Input, opts ...grpc.CallOption) (*Moijaime_Output, error) { + out := new(Moijaime_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Moijaime", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *Hackz_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return out, nil } -func (m *Hackz_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Entries != nil { - { - size, err := m.Entries.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (c *serviceClient) SpreadshirtRandom(ctx context.Context, in *SpreadshirtRandom_Input, opts ...grpc.CallOption) (*SpreadshirtRandom_Output, error) { + out := new(SpreadshirtRandom_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SpreadshirtRandom", in, out, opts...) + if err != nil { + return nil, err } - return len(dAtA) - i, nil + return out, nil } -func (m *Crew) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) SpreadshirtAll(ctx context.Context, in *SpreadshirtAll_Input, opts ...grpc.CallOption) (*SpreadshirtAll_Output, error) { + out := new(SpreadshirtAll_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SpreadshirtAll", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *Crew) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Crew) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + return out, nil } -func (m *Crew_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) Wotd(ctx context.Context, in *Wotd_Input, opts ...grpc.CallOption) (*Wotd_Output, error) { + out := new(Wotd_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Wotd", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *Crew_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Crew_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + return out, nil } -func (m *Crew_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) AlternateLogo(ctx context.Context, in *AlternateLogo_Input, opts ...grpc.CallOption) (*AlternateLogo_Output, error) { + out := new(AlternateLogo_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/AlternateLogo", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *Crew_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return out, nil } -func (m *Crew_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Crew != nil { - { - size, err := m.Crew.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (c *serviceClient) SoundcloudMe(ctx context.Context, in *SoundcloudMe_Input, opts ...grpc.CallOption) (*SoundcloudMe_Output, error) { + out := new(SoundcloudMe_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudMe", in, out, opts...) + if err != nil { + return nil, err } - return len(dAtA) - i, nil + return out, nil } -func (m *SoundcloudMe) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) SoundcloudPlaylists(ctx context.Context, in *SoundcloudPlaylists_Input, opts ...grpc.CallOption) (*SoundcloudPlaylists_Output, error) { + out := new(SoundcloudPlaylists_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudPlaylists", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *SoundcloudMe) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SoundcloudMe) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + return out, nil } -func (m *SoundcloudMe_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) SoundcloudPlaylist(ctx context.Context, in *SoundcloudPlaylist_Input, opts ...grpc.CallOption) (*SoundcloudPlaylist_Output, error) { + out := new(SoundcloudPlaylist_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudPlaylist", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *SoundcloudMe_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return out, nil } -func (m *SoundcloudMe_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (c *serviceClient) SoundcloudTracks(ctx context.Context, in *SoundcloudTracks_Input, opts ...grpc.CallOption) (*SoundcloudTracks_Output, error) { + out := new(SoundcloudTracks_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudTracks", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *SoundcloudMe_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) SoundcloudTrack(ctx context.Context, in *SoundcloudTrack_Input, opts ...grpc.CallOption) (*SoundcloudTrack_Output, error) { + out := new(SoundcloudTrack_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudTrack", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *SoundcloudMe_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) Metrics(ctx context.Context, in *Metrics_Input, opts ...grpc.CallOption) (*Metrics_Output, error) { + out := new(Metrics_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Metrics", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *SoundcloudMe_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Me != nil { - { - size, err := m.Me.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (c *serviceClient) CounterInc(ctx context.Context, in *CounterInc_Input, opts ...grpc.CallOption) (*CounterInc_Output, error) { + out := new(CounterInc_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/CounterInc", in, out, opts...) + if err != nil { + return nil, err } - return len(dAtA) - i, nil + return out, nil } -func (m *SoundcloudPlaylists) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) NumberSetIfBigger(ctx context.Context, in *NumberSetIfBigger_Input, opts ...grpc.CallOption) (*NumberSetIfBigger_Output, error) { + out := new(NumberSetIfBigger_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/NumberSetIfBigger", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *SoundcloudPlaylists) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) KeyValueStringSet(ctx context.Context, in *KeyValueStringSet_Input, opts ...grpc.CallOption) (*KeyValueStringSet_Output, error) { + out := new(KeyValueStringSet_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueStringSet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *SoundcloudPlaylists) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (c *serviceClient) KeyValueStringGet(ctx context.Context, in *KeyValueStringGet_Input, opts ...grpc.CallOption) (*KeyValueStringGet_Output, error) { + out := new(KeyValueStringGet_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueStringGet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *SoundcloudPlaylists_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) KeyValueFloatSet(ctx context.Context, in *KeyValueFloatSet_Input, opts ...grpc.CallOption) (*KeyValueFloatSet_Output, error) { + out := new(KeyValueFloatSet_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueFloatSet", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *SoundcloudPlaylists_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (c *serviceClient) KeyValueFloatGet(ctx context.Context, in *KeyValueFloatGet_Input, opts ...grpc.CallOption) (*KeyValueFloatGet_Output, error) { + out := new(KeyValueFloatGet_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueFloatGet", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (m *SoundcloudPlaylists_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +// ServiceServer is the server API for Service service. +type ServiceServer interface { + KryptosEncrypt(context.Context, *Kryptos_Input) (*Kryptos_Output, error) + KryptosDecrypt(context.Context, *Kryptos_Input) (*Kryptos_Output, error) + TpyoEnocde(context.Context, *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) + Ping(context.Context, *Ping_Input) (*Ping_Output, error) + Dashboard(context.Context, *Dashboard_Input) (*Dashboard_Output, error) + Hackz(context.Context, *Hackz_Input) (*Hackz_Output, error) + Crew(context.Context, *Crew_Input) (*Crew_Output, error) + Numberinfo(context.Context, *Numberinfo_Input) (*Numberinfo_Output, error) + Recettator(context.Context, *Recettator_Input) (*Recettator_Output, error) + Moijaime(context.Context, *Moijaime_Input) (*Moijaime_Output, error) + SpreadshirtRandom(context.Context, *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) + SpreadshirtAll(context.Context, *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) + Wotd(context.Context, *Wotd_Input) (*Wotd_Output, error) + AlternateLogo(context.Context, *AlternateLogo_Input) (*AlternateLogo_Output, error) + SoundcloudMe(context.Context, *SoundcloudMe_Input) (*SoundcloudMe_Output, error) + SoundcloudPlaylists(context.Context, *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) + SoundcloudPlaylist(context.Context, *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) + SoundcloudTracks(context.Context, *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) + SoundcloudTrack(context.Context, *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) + Metrics(context.Context, *Metrics_Input) (*Metrics_Output, error) + CounterInc(context.Context, *CounterInc_Input) (*CounterInc_Output, error) + NumberSetIfBigger(context.Context, *NumberSetIfBigger_Input) (*NumberSetIfBigger_Output, error) + KeyValueStringSet(context.Context, *KeyValueStringSet_Input) (*KeyValueStringSet_Output, error) + KeyValueStringGet(context.Context, *KeyValueStringGet_Input) (*KeyValueStringGet_Output, error) + KeyValueFloatSet(context.Context, *KeyValueFloatSet_Input) (*KeyValueFloatSet_Output, error) + KeyValueFloatGet(context.Context, *KeyValueFloatGet_Input) (*KeyValueFloatGet_Output, error) } -func (m *SoundcloudPlaylists_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +// UnimplementedServiceServer can be embedded to have forward compatible implementations. +type UnimplementedServiceServer struct { } -func (m *SoundcloudPlaylists_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) KryptosEncrypt(ctx context.Context, req *Kryptos_Input) (*Kryptos_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KryptosEncrypt not implemented") } - -func (m *SoundcloudPlaylists_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Playlists != nil { - { - size, err := m.Playlists.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) KryptosDecrypt(ctx context.Context, req *Kryptos_Input) (*Kryptos_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KryptosDecrypt not implemented") } - -func (m *SoundcloudPlaylist) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) TpyoEnocde(ctx context.Context, req *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) { + return nil, status.Errorf(codes.Unimplemented, "method TpyoEnocde not implemented") } - -func (m *SoundcloudPlaylist) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) Ping(ctx context.Context, req *Ping_Input) (*Ping_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") } - -func (m *SoundcloudPlaylist) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) Dashboard(ctx context.Context, req *Dashboard_Input) (*Dashboard_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Dashboard not implemented") } - -func (m *SoundcloudPlaylist_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) Hackz(ctx context.Context, req *Hackz_Input) (*Hackz_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Hackz not implemented") } - -func (m *SoundcloudPlaylist_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) Crew(ctx context.Context, req *Crew_Input) (*Crew_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Crew not implemented") } - -func (m *SoundcloudPlaylist_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.PlaylistId != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.PlaylistId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) Numberinfo(ctx context.Context, req *Numberinfo_Input) (*Numberinfo_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Numberinfo not implemented") } - -func (m *SoundcloudPlaylist_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) Recettator(ctx context.Context, req *Recettator_Input) (*Recettator_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Recettator not implemented") } - -func (m *SoundcloudPlaylist_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) Moijaime(ctx context.Context, req *Moijaime_Input) (*Moijaime_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Moijaime not implemented") } - -func (m *SoundcloudPlaylist_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Playlist != nil { - { - size, err := m.Playlist.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) SpreadshirtRandom(ctx context.Context, req *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SpreadshirtRandom not implemented") } - -func (m *SoundcloudTracks) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) SpreadshirtAll(ctx context.Context, req *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SpreadshirtAll not implemented") } - -func (m *SoundcloudTracks) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) Wotd(ctx context.Context, req *Wotd_Input) (*Wotd_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Wotd not implemented") } - -func (m *SoundcloudTracks) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) AlternateLogo(ctx context.Context, req *AlternateLogo_Input) (*AlternateLogo_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method AlternateLogo not implemented") } - -func (m *SoundcloudTracks_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) SoundcloudMe(ctx context.Context, req *SoundcloudMe_Input) (*SoundcloudMe_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudMe not implemented") } - -func (m *SoundcloudTracks_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) SoundcloudPlaylists(ctx context.Context, req *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudPlaylists not implemented") +} +func (*UnimplementedServiceServer) SoundcloudPlaylist(ctx context.Context, req *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudPlaylist not implemented") +} +func (*UnimplementedServiceServer) SoundcloudTracks(ctx context.Context, req *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudTracks not implemented") +} +func (*UnimplementedServiceServer) SoundcloudTrack(ctx context.Context, req *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudTrack not implemented") +} +func (*UnimplementedServiceServer) Metrics(ctx context.Context, req *Metrics_Input) (*Metrics_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Metrics not implemented") +} +func (*UnimplementedServiceServer) CounterInc(ctx context.Context, req *CounterInc_Input) (*CounterInc_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method CounterInc not implemented") +} +func (*UnimplementedServiceServer) NumberSetIfBigger(ctx context.Context, req *NumberSetIfBigger_Input) (*NumberSetIfBigger_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method NumberSetIfBigger not implemented") +} +func (*UnimplementedServiceServer) KeyValueStringSet(ctx context.Context, req *KeyValueStringSet_Input) (*KeyValueStringSet_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValueStringSet not implemented") +} +func (*UnimplementedServiceServer) KeyValueStringGet(ctx context.Context, req *KeyValueStringGet_Input) (*KeyValueStringGet_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValueStringGet not implemented") +} +func (*UnimplementedServiceServer) KeyValueFloatSet(ctx context.Context, req *KeyValueFloatSet_Input) (*KeyValueFloatSet_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValueFloatSet not implemented") +} +func (*UnimplementedServiceServer) KeyValueFloatGet(ctx context.Context, req *KeyValueFloatGet_Input) (*KeyValueFloatGet_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValueFloatGet not implemented") } -func (m *SoundcloudTracks_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func RegisterServiceServer(s *grpc.Server, srv ServiceServer) { + s.RegisterService(&_Service_serviceDesc, srv) } -func (m *SoundcloudTracks_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_KryptosEncrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Kryptos_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *SoundcloudTracks_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(ServiceServer).KryptosEncrypt(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KryptosEncrypt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KryptosEncrypt(ctx, req.(*Kryptos_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *SoundcloudTracks_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Tracks != nil { - { - size, err := m.Tracks.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func _Service_KryptosDecrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Kryptos_Input) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(ServiceServer).KryptosDecrypt(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KryptosDecrypt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KryptosDecrypt(ctx, req.(*Kryptos_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *SoundcloudTrack) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_TpyoEnocde_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TpyoEnocde_Ipunt) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *SoundcloudTrack) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SoundcloudTrack) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(ServiceServer).TpyoEnocde(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/TpyoEnocde", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).TpyoEnocde(ctx, req.(*TpyoEnocde_Ipunt)) + } + return interceptor(ctx, in, info, handler) } -func (m *SoundcloudTrack_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Ping_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *SoundcloudTrack_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SoundcloudTrack_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.TrackId != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.TrackId)) - i-- - dAtA[i] = 0x8 + if interceptor == nil { + return srv.(ServiceServer).Ping(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Ping", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Ping(ctx, req.(*Ping_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *SoundcloudTrack_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Dashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Dashboard_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *SoundcloudTrack_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SoundcloudTrack_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Track != nil { - { - size, err := m.Track.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(ServiceServer).Dashboard(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Dashboard", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Dashboard(ctx, req.(*Dashboard_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Metrics) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Hackz_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Hackz_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *Metrics) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(ServiceServer).Hackz(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Hackz", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Hackz(ctx, req.(*Hackz_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Metrics_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Crew_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Crew_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).Crew(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Crew", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Crew(ctx, req.(*Crew_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Metrics_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_Numberinfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Numberinfo_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).Numberinfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Numberinfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Numberinfo(ctx, req.(*Numberinfo_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Metrics_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Service_Recettator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Recettator_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).Recettator(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Recettator", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Recettator(ctx, req.(*Recettator_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Metrics_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Moijaime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Moijaime_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).Moijaime(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Moijaime", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Moijaime(ctx, req.(*Moijaime_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Metrics_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_SpreadshirtRandom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SpreadshirtRandom_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).SpreadshirtRandom(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SpreadshirtRandom", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SpreadshirtRandom(ctx, req.(*SpreadshirtRandom_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Metrics_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ServerUptime) > 0 { - i -= len(m.ServerUptime) - copy(dAtA[i:], m.ServerUptime) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerUptime))) - i-- - dAtA[i] = 0x22 +func _Service_SpreadshirtAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SpreadshirtAll_Input) + if err := dec(in); err != nil { + return nil, err } - if len(m.ServerCurrentTime) > 0 { - i -= len(m.ServerCurrentTime) - copy(dAtA[i:], m.ServerCurrentTime) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerCurrentTime))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(ServiceServer).SpreadshirtAll(ctx, in) } - if len(m.ServerStartTime) > 0 { - i -= len(m.ServerStartTime) - copy(dAtA[i:], m.ServerStartTime) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerStartTime))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SpreadshirtAll", } - if m.StaticBoxSize != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.StaticBoxSize)) - i-- - dAtA[i] = 0x8 + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SpreadshirtAll(ctx, req.(*SpreadshirtAll_Input)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *Ping) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Wotd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Wotd_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).Wotd(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Wotd", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Wotd(ctx, req.(*Wotd_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Ping) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_AlternateLogo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AlternateLogo_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).AlternateLogo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/AlternateLogo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).AlternateLogo(ctx, req.(*AlternateLogo_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Service_SoundcloudMe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudMe_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).SoundcloudMe(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudMe", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudMe(ctx, req.(*SoundcloudMe_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Ping_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_SoundcloudPlaylists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudPlaylists_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).SoundcloudPlaylists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudPlaylists", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudPlaylists(ctx, req.(*SoundcloudPlaylists_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Ping_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_SoundcloudPlaylist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudPlaylist_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).SoundcloudPlaylist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudPlaylist", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudPlaylist(ctx, req.(*SoundcloudPlaylist_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Ping_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Service_SoundcloudTracks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudTracks_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).SoundcloudTracks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudTracks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudTracks(ctx, req.(*SoundcloudTracks_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Ping_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_SoundcloudTrack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudTrack_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).SoundcloudTrack(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudTrack", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudTrack(ctx, req.(*SoundcloudTrack_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Ping_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_Metrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Metrics_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).Metrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Metrics", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Metrics(ctx, req.(*Metrics_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Ping_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Pong) > 0 { - i -= len(m.Pong) - copy(dAtA[i:], m.Pong) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Pong))) - i-- - dAtA[i] = 0xa +func _Service_CounterInc_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CounterInc_Input) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(ServiceServer).CounterInc(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/CounterInc", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).CounterInc(ctx, req.(*CounterInc_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Kryptos) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_NumberSetIfBigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberSetIfBigger_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).NumberSetIfBigger(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/NumberSetIfBigger", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).NumberSetIfBigger(ctx, req.(*NumberSetIfBigger_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *Kryptos) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() +func _Service_KeyValueStringSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueStringSet_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).KeyValueStringSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KeyValueStringSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KeyValueStringSet(ctx, req.(*KeyValueStringSet_Input)) + } + return interceptor(ctx, in, info, handler) +} + +func _Service_KeyValueStringGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueStringGet_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).KeyValueStringGet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KeyValueStringGet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KeyValueStringGet(ctx, req.(*KeyValueStringGet_Input)) + } + return interceptor(ctx, in, info, handler) +} + +func _Service_KeyValueFloatSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueFloatSet_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).KeyValueFloatSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KeyValueFloatSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KeyValueFloatSet(ctx, req.(*KeyValueFloatSet_Input)) + } + return interceptor(ctx, in, info, handler) +} + +func _Service_KeyValueFloatGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueFloatGet_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).KeyValueFloatGet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KeyValueFloatGet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KeyValueFloatGet(ctx, req.(*KeyValueFloatGet_Input)) + } + return interceptor(ctx, in, info, handler) +} + +var _Service_serviceDesc = grpc.ServiceDesc{ + ServiceName: "calcbiz.calcapi.Service", + HandlerType: (*ServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "KryptosEncrypt", + Handler: _Service_KryptosEncrypt_Handler, + }, + { + MethodName: "KryptosDecrypt", + Handler: _Service_KryptosDecrypt_Handler, + }, + { + MethodName: "TpyoEnocde", + Handler: _Service_TpyoEnocde_Handler, + }, + { + MethodName: "Ping", + Handler: _Service_Ping_Handler, + }, + { + MethodName: "Dashboard", + Handler: _Service_Dashboard_Handler, + }, + { + MethodName: "Hackz", + Handler: _Service_Hackz_Handler, + }, + { + MethodName: "Crew", + Handler: _Service_Crew_Handler, + }, + { + MethodName: "Numberinfo", + Handler: _Service_Numberinfo_Handler, + }, + { + MethodName: "Recettator", + Handler: _Service_Recettator_Handler, + }, + { + MethodName: "Moijaime", + Handler: _Service_Moijaime_Handler, + }, + { + MethodName: "SpreadshirtRandom", + Handler: _Service_SpreadshirtRandom_Handler, + }, + { + MethodName: "SpreadshirtAll", + Handler: _Service_SpreadshirtAll_Handler, + }, + { + MethodName: "Wotd", + Handler: _Service_Wotd_Handler, + }, + { + MethodName: "AlternateLogo", + Handler: _Service_AlternateLogo_Handler, + }, + { + MethodName: "SoundcloudMe", + Handler: _Service_SoundcloudMe_Handler, + }, + { + MethodName: "SoundcloudPlaylists", + Handler: _Service_SoundcloudPlaylists_Handler, + }, + { + MethodName: "SoundcloudPlaylist", + Handler: _Service_SoundcloudPlaylist_Handler, + }, + { + MethodName: "SoundcloudTracks", + Handler: _Service_SoundcloudTracks_Handler, + }, + { + MethodName: "SoundcloudTrack", + Handler: _Service_SoundcloudTrack_Handler, + }, + { + MethodName: "Metrics", + Handler: _Service_Metrics_Handler, + }, + { + MethodName: "CounterInc", + Handler: _Service_CounterInc_Handler, + }, + { + MethodName: "NumberSetIfBigger", + Handler: _Service_NumberSetIfBigger_Handler, + }, + { + MethodName: "KeyValueStringSet", + Handler: _Service_KeyValueStringSet_Handler, + }, + { + MethodName: "KeyValueStringGet", + Handler: _Service_KeyValueStringGet_Handler, + }, + { + MethodName: "KeyValueFloatSet", + Handler: _Service_KeyValueFloatSet_Handler, + }, + { + MethodName: "KeyValueFloatGet", + Handler: _Service_KeyValueFloatGet_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "calcapi.proto", +} + +func (m *CounterInc) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CounterInc) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Kryptos) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CounterInc) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4243,7 +4425,7 @@ func (m *Kryptos) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Kryptos_Input) Marshal() (dAtA []byte, err error) { +func (m *CounterInc_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4253,27 +4435,33 @@ func (m *Kryptos_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Kryptos_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *CounterInc_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Kryptos_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CounterInc_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.From) > 0 { - i -= len(m.From) - copy(dAtA[i:], m.From) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.From))) + if m.Gap != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Gap)))) + i-- + dAtA[i] = 0x11 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Kryptos_Output) Marshal() (dAtA []byte, err error) { +func (m *CounterInc_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4283,27 +4471,26 @@ func (m *Kryptos_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Kryptos_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *CounterInc_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Kryptos_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CounterInc_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.To) > 0 { - i -= len(m.To) - copy(dAtA[i:], m.To) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.To))) + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x11 } return len(dAtA) - i, nil } -func (m *TpyoEnocde) Marshal() (dAtA []byte, err error) { +func (m *NumberSetIfBigger) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4313,12 +4500,12 @@ func (m *TpyoEnocde) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TpyoEnocde) MarshalTo(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TpyoEnocde) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4326,7 +4513,7 @@ func (m *TpyoEnocde) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *TpyoEnocde_Ipunt) Marshal() (dAtA []byte, err error) { +func (m *NumberSetIfBigger_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4336,27 +4523,33 @@ func (m *TpyoEnocde_Ipunt) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TpyoEnocde_Ipunt) MarshalTo(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TpyoEnocde_Ipunt) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Form) > 0 { - i -= len(m.Form) - copy(dAtA[i:], m.Form) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Form))) + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x11 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *TpyoEnocde_Ouptut) Marshal() (dAtA []byte, err error) { +func (m *NumberSetIfBigger_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4366,27 +4559,26 @@ func (m *TpyoEnocde_Ouptut) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TpyoEnocde_Ouptut) MarshalTo(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TpyoEnocde_Ouptut) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.To) > 0 { - i -= len(m.To) - copy(dAtA[i:], m.To) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.To))) + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x11 } return len(dAtA) - i, nil } -func (m *Numberinfo) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringSet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4396,12 +4588,12 @@ func (m *Numberinfo) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Numberinfo) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringSet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Numberinfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4409,7 +4601,7 @@ func (m *Numberinfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Numberinfo_Input) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringSet_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4419,26 +4611,34 @@ func (m *Numberinfo_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Numberinfo_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringSet_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Numberinfo_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringSet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Number != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Number)))) + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Value))) i-- - dAtA[i] = 0xd + dAtA[i] = 0x12 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Numberinfo_Output) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringSet_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4448,39 +4648,20 @@ func (m *Numberinfo_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Numberinfo_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringSet_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Numberinfo_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringSet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Facts) > 0 { - for k := range m.Facts { - v := m.Facts[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintCalcapi(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintCalcapi(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintCalcapi(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa - } - } return len(dAtA) - i, nil } -func (m *Moijaime) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringGet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4490,12 +4671,12 @@ func (m *Moijaime) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Moijaime) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringGet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Moijaime) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringGet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4503,7 +4684,7 @@ func (m *Moijaime) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Moijaime_Input) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringGet_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4513,20 +4694,27 @@ func (m *Moijaime_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Moijaime_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringGet_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Moijaime_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringGet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *Moijaime_Output) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringGet_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4536,29 +4724,27 @@ func (m *Moijaime_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Moijaime_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringGet_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Moijaime_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringGet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Kiffs) > 0 { - for iNdEx := len(m.Kiffs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Kiffs[iNdEx]) - copy(dAtA[i:], m.Kiffs[iNdEx]) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Kiffs[iNdEx]))) - i-- - dAtA[i] = 0xa - } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 } return len(dAtA) - i, nil } -func (m *Wotd) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatSet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4568,12 +4754,12 @@ func (m *Wotd) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Wotd) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Wotd) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4581,7 +4767,7 @@ func (m *Wotd) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Wotd_Input) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatSet_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4591,20 +4777,33 @@ func (m *Wotd_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Wotd_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Wotd_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x11 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *Wotd_Output) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatSet_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4614,27 +4813,20 @@ func (m *Wotd_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Wotd_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Wotd_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Word) > 0 { - i -= len(m.Word) - copy(dAtA[i:], m.Word) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Word))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *AlternateLogo) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatGet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4644,12 +4836,12 @@ func (m *AlternateLogo) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AlternateLogo) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AlternateLogo) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4657,7 +4849,7 @@ func (m *AlternateLogo) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *AlternateLogo_Input) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatGet_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4667,20 +4859,27 @@ func (m *AlternateLogo_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AlternateLogo_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AlternateLogo_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *AlternateLogo_Output) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatGet_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4690,27 +4889,26 @@ func (m *AlternateLogo_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AlternateLogo_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AlternateLogo_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Path))) + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x11 } return len(dAtA) - i, nil } -func (m *SpreadshirtRandom) Marshal() (dAtA []byte, err error) { +func (m *Dashboard) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4720,12 +4918,12 @@ func (m *SpreadshirtRandom) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtRandom) MarshalTo(dAtA []byte) (int, error) { +func (m *Dashboard) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtRandom) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Dashboard) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4733,7 +4931,7 @@ func (m *SpreadshirtRandom) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SpreadshirtRandom_Input) Marshal() (dAtA []byte, err error) { +func (m *Dashboard_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4743,12 +4941,12 @@ func (m *SpreadshirtRandom_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtRandom_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Dashboard_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtRandom_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Dashboard_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4756,7 +4954,7 @@ func (m *SpreadshirtRandom_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *SpreadshirtRandom_Output) Marshal() (dAtA []byte, err error) { +func (m *Dashboard_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4766,20 +4964,32 @@ func (m *SpreadshirtRandom_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtRandom_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Dashboard_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtRandom_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Dashboard_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Entries != nil { + { + size, err := m.Entries.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *SpreadshirtAll) Marshal() (dAtA []byte, err error) { +func (m *Hackz) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4789,12 +4999,12 @@ func (m *SpreadshirtAll) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtAll) MarshalTo(dAtA []byte) (int, error) { +func (m *Hackz) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtAll) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Hackz) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4802,7 +5012,7 @@ func (m *SpreadshirtAll) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SpreadshirtAll_Input) Marshal() (dAtA []byte, err error) { +func (m *Hackz_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4812,12 +5022,12 @@ func (m *SpreadshirtAll_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtAll_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Hackz_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtAll_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Hackz_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4825,7 +5035,7 @@ func (m *SpreadshirtAll_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SpreadshirtAll_Output) Marshal() (dAtA []byte, err error) { +func (m *Hackz_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4835,20 +5045,32 @@ func (m *SpreadshirtAll_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtAll_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Hackz_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtAll_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Hackz_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Entries != nil { + { + size, err := m.Entries.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *Recettator) Marshal() (dAtA []byte, err error) { +func (m *Crew) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4858,12 +5080,12 @@ func (m *Recettator) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Recettator) MarshalTo(dAtA []byte) (int, error) { +func (m *Crew) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Recettator) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Crew) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4871,7 +5093,7 @@ func (m *Recettator) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Recettator_Input) Marshal() (dAtA []byte, err error) { +func (m *Crew_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4881,40 +5103,20 @@ func (m *Recettator_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Recettator_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Crew_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Recettator_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Crew_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Steps != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.Steps)) - i-- - dAtA[i] = 0x20 - } - if m.SecondaryIngredients != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.SecondaryIngredients)) - i-- - dAtA[i] = 0x18 - } - if m.MainIngredients != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.MainIngredients)) - i-- - dAtA[i] = 0x10 - } - if m.Seed != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.Seed)) - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } -func (m *Recettator_Output) Marshal() (dAtA []byte, err error) { +func (m *Crew_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4924,81 +5126,32 @@ func (m *Recettator_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Recettator_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Crew_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Recettator_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Crew_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Seed != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.Seed)) - i-- - dAtA[i] = 0x38 - } - if len(m.SecondaryIngredients) > 0 { - for iNdEx := len(m.SecondaryIngredients) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.SecondaryIngredients[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.MainIngredients) > 0 { - for iNdEx := len(m.MainIngredients) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.MainIngredients[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) + if m.Crew != nil { + { + size, err := m.Crew.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x2a - } - } - if len(m.Steps) > 0 { - for iNdEx := len(m.Steps) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Steps[iNdEx]) - copy(dAtA[i:], m.Steps[iNdEx]) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Steps[iNdEx]))) - i-- - dAtA[i] = 0x22 + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) } - } - if len(m.Markdown) > 0 { - i -= len(m.Markdown) - copy(dAtA[i:], m.Markdown) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Markdown))) - i-- - dAtA[i] = 0x1a - } - if m.People != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.People)) - i-- - dAtA[i] = 0x10 - } - if len(m.Title) > 0 { - i -= len(m.Title) - copy(dAtA[i:], m.Title) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Title))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Recettator_Ingredient) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudMe) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5008,778 +5161,3630 @@ func (m *Recettator_Ingredient) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Recettator_Ingredient) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudMe) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Recettator_Ingredient) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudMe) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.NameAndQuantity) > 0 { - i -= len(m.NameAndQuantity) - copy(dAtA[i:], m.NameAndQuantity) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.NameAndQuantity))) - i-- - dAtA[i] = 0x3a + return len(dAtA) - i, nil +} + +func (m *SoundcloudMe_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0x32 + return dAtA[:n], nil +} + +func (m *SoundcloudMe_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SoundcloudMe_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *SoundcloudMe_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.Multiple { - i-- - if m.Multiple { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + return dAtA[:n], nil +} + +func (m *SoundcloudMe_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SoundcloudMe_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Me != nil { + { + size, err := m.Me.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x28 - } - if len(m.Gender) > 0 { - i -= len(m.Gender) - copy(dAtA[i:], m.Gender) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Gender))) - i-- - dAtA[i] = 0x22 - } - if len(m.Method) > 0 { - i -= len(m.Method) - copy(dAtA[i:], m.Method) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Method))) - i-- - dAtA[i] = 0x1a - } - if len(m.Quantity) > 0 { - i -= len(m.Quantity) - copy(dAtA[i:], m.Quantity) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Quantity))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Name))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintCalcapi(dAtA []byte, offset int, v uint64) int { - offset -= sovCalcapi(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Dashboard) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudPlaylists) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Dashboard_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SoundcloudPlaylists) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Dashboard_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudPlaylists) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Entries != nil { - l = m.Entries.Size() - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *Hackz) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudPlaylists_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Hackz_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SoundcloudPlaylists_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Hackz_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudPlaylists_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Entries != nil { - l = m.Entries.Size() - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *Crew) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudPlaylists_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Crew_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SoundcloudPlaylists_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Crew_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudPlaylists_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Crew != nil { - l = m.Crew.Size() - n += 1 + l + sovCalcapi(uint64(l)) + if m.Playlists != nil { + { + size, err := m.Playlists.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *SoundcloudMe) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudPlaylist) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *SoundcloudMe_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SoundcloudPlaylist) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudMe_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudPlaylist) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Me != nil { - l = m.Me.Size() - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *SoundcloudPlaylists) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudPlaylist_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *SoundcloudPlaylists_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SoundcloudPlaylist_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylists_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudPlaylist_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Playlists != nil { - l = m.Playlists.Size() - n += 1 + l + sovCalcapi(uint64(l)) + if m.PlaylistId != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.PlaylistId)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *SoundcloudPlaylist) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudPlaylist_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *SoundcloudPlaylist_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PlaylistId != 0 { - n += 1 + sovCalcapi(uint64(m.PlaylistId)) - } - return n +func (m *SoundcloudPlaylist_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylist_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudPlaylist_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.Playlist != nil { - l = m.Playlist.Size() - n += 1 + l + sovCalcapi(uint64(l)) + { + size, err := m.Playlist.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *SoundcloudTracks) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudTracks) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *SoundcloudTracks_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SoundcloudTracks) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTracks_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudTracks) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Tracks != nil { - l = m.Tracks.Size() - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *SoundcloudTrack) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudTracks_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *SoundcloudTrack_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TrackId != 0 { - n += 1 + sovCalcapi(uint64(m.TrackId)) - } - return n +func (m *SoundcloudTracks_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTrack_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudTracks_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Track != nil { - l = m.Track.Size() - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *Metrics) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudTracks_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Metrics_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SoundcloudTracks_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Metrics_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudTracks_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.StaticBoxSize != 0 { - n += 1 + sovCalcapi(uint64(m.StaticBoxSize)) - } - l = len(m.ServerStartTime) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - l = len(m.ServerCurrentTime) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - l = len(m.ServerUptime) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.Tracks != nil { + { + size, err := m.Tracks.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Ping) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudTrack) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Ping_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SoundcloudTrack) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Ping_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudTrack) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Pong) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *Kryptos) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudTrack_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Kryptos_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.From) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n +func (m *SoundcloudTrack_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Kryptos_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudTrack_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.To) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.TrackId != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.TrackId)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *TpyoEnocde) Size() (n int) { - if m == nil { - return 0 +func (m *SoundcloudTrack_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *TpyoEnocde_Ipunt) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Form) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n +func (m *SoundcloudTrack_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TpyoEnocde_Ouptut) Size() (n int) { - if m == nil { - return 0 - } +func (m *SoundcloudTrack_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.To) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.Track != nil { + { + size, err := m.Track.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Numberinfo) Size() (n int) { - if m == nil { - return 0 +func (m *Metrics) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Numberinfo_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Number != 0 { - n += 5 - } - return n +func (m *Metrics) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Numberinfo_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Facts) > 0 { - for k, v := range m.Facts { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovCalcapi(uint64(len(k))) + 1 + len(v) + sovCalcapi(uint64(len(v))) - n += mapEntrySize + 1 + sovCalcapi(uint64(mapEntrySize)) - } - } - return n + return len(dAtA) - i, nil } -func (m *Moijaime) Size() (n int) { - if m == nil { - return 0 +func (m *Metrics_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Moijaime_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Metrics_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Moijaime_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Metrics_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Kiffs) > 0 { - for _, s := range m.Kiffs { - l = len(s) - n += 1 + l + sovCalcapi(uint64(l)) - } - } - return n + return len(dAtA) - i, nil } -func (m *Wotd) Size() (n int) { - if m == nil { - return 0 +func (m *Metrics_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Wotd_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Metrics_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Wotd_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Metrics_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Word) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if len(m.ServerUptime) > 0 { + i -= len(m.ServerUptime) + copy(dAtA[i:], m.ServerUptime) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerUptime))) + i-- + dAtA[i] = 0x22 } - return n + if len(m.ServerCurrentTime) > 0 { + i -= len(m.ServerCurrentTime) + copy(dAtA[i:], m.ServerCurrentTime) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerCurrentTime))) + i-- + dAtA[i] = 0x1a + } + if len(m.ServerStartTime) > 0 { + i -= len(m.ServerStartTime) + copy(dAtA[i:], m.ServerStartTime) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerStartTime))) + i-- + dAtA[i] = 0x12 + } + if m.StaticBoxSize != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.StaticBoxSize)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil } -func (m *AlternateLogo) Size() (n int) { - if m == nil { - return 0 +func (m *Ping) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *AlternateLogo_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Ping) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AlternateLogo_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Path) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *SpreadshirtRandom) Size() (n int) { - if m == nil { - return 0 +func (m *Ping_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *SpreadshirtRandom_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *Ping_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Ping_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *SpreadshirtRandom_Output) Size() (n int) { - if m == nil { - return 0 +func (m *Ping_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Ping_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Ping_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + if len(m.Pong) > 0 { + i -= len(m.Pong) + copy(dAtA[i:], m.Pong) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Pong))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *SpreadshirtAll) Size() (n int) { - if m == nil { - return 0 +func (m *Kryptos) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Kryptos) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Kryptos) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *SpreadshirtAll_Input) Size() (n int) { - if m == nil { - return 0 +func (m *Kryptos_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Kryptos_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Kryptos_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + if len(m.From) > 0 { + i -= len(m.From) + copy(dAtA[i:], m.From) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.From))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *SpreadshirtAll_Output) Size() (n int) { - if m == nil { - return 0 +func (m *Kryptos_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Kryptos_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Kryptos_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.To))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *Recettator) Size() (n int) { - if m == nil { - return 0 +func (m *TpyoEnocde) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *TpyoEnocde) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TpyoEnocde) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *Recettator_Input) Size() (n int) { - if m == nil { - return 0 +func (m *TpyoEnocde_Ipunt) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *TpyoEnocde_Ipunt) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TpyoEnocde_Ipunt) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Seed != 0 { - n += 1 + sovCalcapi(uint64(m.Seed)) - } - if m.MainIngredients != 0 { - n += 1 + sovCalcapi(uint64(m.MainIngredients)) - } - if m.SecondaryIngredients != 0 { - n += 1 + sovCalcapi(uint64(m.SecondaryIngredients)) - } - if m.Steps != 0 { - n += 1 + sovCalcapi(uint64(m.Steps)) + if len(m.Form) > 0 { + i -= len(m.Form) + copy(dAtA[i:], m.Form) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Form))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Recettator_Output) Size() (n int) { - if m == nil { - return 0 +func (m *TpyoEnocde_Ouptut) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *TpyoEnocde_Ouptut) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TpyoEnocde_Ouptut) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Title) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - if m.People != 0 { - n += 1 + sovCalcapi(uint64(m.People)) - } - l = len(m.Markdown) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - if len(m.Steps) > 0 { - for _, s := range m.Steps { - l = len(s) - n += 1 + l + sovCalcapi(uint64(l)) - } - } - if len(m.MainIngredients) > 0 { - for _, e := range m.MainIngredients { - l = e.Size() - n += 1 + l + sovCalcapi(uint64(l)) - } - } - if len(m.SecondaryIngredients) > 0 { - for _, e := range m.SecondaryIngredients { - l = e.Size() - n += 1 + l + sovCalcapi(uint64(l)) - } - } - if m.Seed != 0 { - n += 1 + sovCalcapi(uint64(m.Seed)) + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.To))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Recettator_Ingredient) Size() (n int) { - if m == nil { - return 0 +func (m *Numberinfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Numberinfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Numberinfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - l = len(m.Quantity) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - l = len(m.Method) + return len(dAtA) - i, nil +} + +func (m *Numberinfo_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Numberinfo_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Numberinfo_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Number != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Number)))) + i-- + dAtA[i] = 0xd + } + return len(dAtA) - i, nil +} + +func (m *Numberinfo_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Numberinfo_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Numberinfo_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Facts) > 0 { + for k := range m.Facts { + v := m.Facts[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintCalcapi(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintCalcapi(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintCalcapi(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Moijaime) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Moijaime) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Moijaime) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *Moijaime_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Moijaime_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Moijaime_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *Moijaime_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Moijaime_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Moijaime_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Kiffs) > 0 { + for iNdEx := len(m.Kiffs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Kiffs[iNdEx]) + copy(dAtA[i:], m.Kiffs[iNdEx]) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Kiffs[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Wotd) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Wotd) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Wotd) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *Wotd_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Wotd_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Wotd_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *Wotd_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Wotd_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Wotd_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Word) > 0 { + i -= len(m.Word) + copy(dAtA[i:], m.Word) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Word))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AlternateLogo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AlternateLogo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AlternateLogo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *AlternateLogo_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AlternateLogo_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AlternateLogo_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *AlternateLogo_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AlternateLogo_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AlternateLogo_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Path))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SpreadshirtRandom) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SpreadshirtRandom) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SpreadshirtRandom) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *SpreadshirtRandom_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SpreadshirtRandom_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SpreadshirtRandom_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *SpreadshirtRandom_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SpreadshirtRandom_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SpreadshirtRandom_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *SpreadshirtAll) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SpreadshirtAll) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SpreadshirtAll) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *SpreadshirtAll_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SpreadshirtAll_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SpreadshirtAll_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *SpreadshirtAll_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SpreadshirtAll_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SpreadshirtAll_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *Recettator) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Recettator) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Recettator) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *Recettator_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Recettator_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Recettator_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Steps != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.Steps)) + i-- + dAtA[i] = 0x20 + } + if m.SecondaryIngredients != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.SecondaryIngredients)) + i-- + dAtA[i] = 0x18 + } + if m.MainIngredients != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.MainIngredients)) + i-- + dAtA[i] = 0x10 + } + if m.Seed != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.Seed)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Recettator_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Recettator_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Recettator_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Seed != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.Seed)) + i-- + dAtA[i] = 0x38 + } + if len(m.SecondaryIngredients) > 0 { + for iNdEx := len(m.SecondaryIngredients) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SecondaryIngredients[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } + if len(m.MainIngredients) > 0 { + for iNdEx := len(m.MainIngredients) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.MainIngredients[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if len(m.Steps) > 0 { + for iNdEx := len(m.Steps) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Steps[iNdEx]) + copy(dAtA[i:], m.Steps[iNdEx]) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Steps[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if len(m.Markdown) > 0 { + i -= len(m.Markdown) + copy(dAtA[i:], m.Markdown) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Markdown))) + i-- + dAtA[i] = 0x1a + } + if m.People != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.People)) + i-- + dAtA[i] = 0x10 + } + if len(m.Title) > 0 { + i -= len(m.Title) + copy(dAtA[i:], m.Title) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Title))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Recettator_Ingredient) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Recettator_Ingredient) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Recettator_Ingredient) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.NameAndQuantity) > 0 { + i -= len(m.NameAndQuantity) + copy(dAtA[i:], m.NameAndQuantity) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.NameAndQuantity))) + i-- + dAtA[i] = 0x3a + } + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Kind))) + i-- + dAtA[i] = 0x32 + } + if m.Multiple { + i-- + if m.Multiple { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.Gender) > 0 { + i -= len(m.Gender) + copy(dAtA[i:], m.Gender) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Gender))) + i-- + dAtA[i] = 0x22 + } + if len(m.Method) > 0 { + i -= len(m.Method) + copy(dAtA[i:], m.Method) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Method))) + i-- + dAtA[i] = 0x1a + } + if len(m.Quantity) > 0 { + i -= len(m.Quantity) + copy(dAtA[i:], m.Quantity) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Quantity))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintCalcapi(dAtA []byte, offset int, v uint64) int { + offset -= sovCalcapi(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *CounterInc) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *CounterInc_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Gap != 0 { + n += 9 + } + return n +} + +func (m *CounterInc_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *NumberSetIfBigger) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *NumberSetIfBigger_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *NumberSetIfBigger_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *KeyValueStringSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueStringSet_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *KeyValueStringSet_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueStringGet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueStringGet_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *KeyValueStringGet_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *KeyValueFloatSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueFloatSet_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *KeyValueFloatSet_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueFloatGet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueFloatGet_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *KeyValueFloatGet_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *Dashboard) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Dashboard_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Dashboard_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Entries != nil { + l = m.Entries.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Hackz) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Hackz_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Hackz_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Entries != nil { + l = m.Entries.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Crew) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Crew_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Crew_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Crew != nil { + l = m.Crew.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudMe) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudMe_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudMe_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Me != nil { + l = m.Me.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudPlaylists) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudPlaylists_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudPlaylists_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Playlists != nil { + l = m.Playlists.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudPlaylist) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudPlaylist_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PlaylistId != 0 { + n += 1 + sovCalcapi(uint64(m.PlaylistId)) + } + return n +} + +func (m *SoundcloudPlaylist_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Playlist != nil { + l = m.Playlist.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudTracks) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudTracks_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudTracks_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tracks != nil { + l = m.Tracks.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudTrack) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudTrack_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TrackId != 0 { + n += 1 + sovCalcapi(uint64(m.TrackId)) + } + return n +} + +func (m *SoundcloudTrack_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Track != nil { + l = m.Track.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Metrics) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Metrics_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Metrics_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StaticBoxSize != 0 { + n += 1 + sovCalcapi(uint64(m.StaticBoxSize)) + } + l = len(m.ServerStartTime) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.ServerCurrentTime) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.ServerUptime) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Ping) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Ping_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Ping_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Pong) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Kryptos) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Kryptos_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.From) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Kryptos_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.To) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *TpyoEnocde) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *TpyoEnocde_Ipunt) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Form) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *TpyoEnocde_Ouptut) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.To) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Numberinfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Numberinfo_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Number != 0 { + n += 5 + } + return n +} + +func (m *Numberinfo_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Facts) > 0 { + for k, v := range m.Facts { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovCalcapi(uint64(len(k))) + 1 + len(v) + sovCalcapi(uint64(len(v))) + n += mapEntrySize + 1 + sovCalcapi(uint64(mapEntrySize)) + } + } + return n +} + +func (m *Moijaime) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Moijaime_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Moijaime_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Kiffs) > 0 { + for _, s := range m.Kiffs { + l = len(s) + n += 1 + l + sovCalcapi(uint64(l)) + } + } + return n +} + +func (m *Wotd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Wotd_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Wotd_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Word) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *AlternateLogo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *AlternateLogo_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *AlternateLogo_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Path) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SpreadshirtRandom) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtRandom_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtRandom_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtAll) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtAll_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtAll_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Recettator) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Recettator_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Seed != 0 { + n += 1 + sovCalcapi(uint64(m.Seed)) + } + if m.MainIngredients != 0 { + n += 1 + sovCalcapi(uint64(m.MainIngredients)) + } + if m.SecondaryIngredients != 0 { + n += 1 + sovCalcapi(uint64(m.SecondaryIngredients)) + } + if m.Steps != 0 { + n += 1 + sovCalcapi(uint64(m.Steps)) + } + return n +} + +func (m *Recettator_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.People != 0 { + n += 1 + sovCalcapi(uint64(m.People)) + } + l = len(m.Markdown) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if len(m.Steps) > 0 { + for _, s := range m.Steps { + l = len(s) + n += 1 + l + sovCalcapi(uint64(l)) + } + } + if len(m.MainIngredients) > 0 { + for _, e := range m.MainIngredients { + l = e.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + } + if len(m.SecondaryIngredients) > 0 { + for _, e := range m.SecondaryIngredients { + l = e.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + } + if m.Seed != 0 { + n += 1 + sovCalcapi(uint64(m.Seed)) + } + return n +} + +func (m *Recettator_Ingredient) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Quantity) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Method) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Gender) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Multiple { + n += 2 + } + l = len(m.Kind) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.NameAndQuantity) if l > 0 { n += 1 + l + sovCalcapi(uint64(l)) } - l = len(m.Gender) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + return n +} + +func sovCalcapi(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozCalcapi(x uint64) (n int) { + return sovCalcapi(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *CounterInc) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CounterInc: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CounterInc: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CounterInc_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Gap", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Gap = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CounterInc_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NumberSetIfBigger) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: NumberSetIfBigger: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NumberSetIfBigger: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NumberSetIfBigger_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NumberSetIfBigger_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringSet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyValueStringSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueStringSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringSet_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringSet_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringGet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyValueStringGet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueStringGet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringGet_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringGet_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueFloatSet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyValueFloatSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueFloatSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueFloatSet_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF } - if m.Multiple { - n += 2 + return nil +} +func (m *KeyValueFloatSet_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + + if iNdEx > l { + return io.ErrUnexpectedEOF } - l = len(m.NameAndQuantity) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + return nil +} +func (m *KeyValueFloatGet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyValueFloatGet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueFloatGet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil } +func (m *KeyValueFloatGet_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } -func sovCalcapi(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil } -func sozCalcapi(x uint64) (n int) { - return sovCalcapi(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func (m *KeyValueFloatGet_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil } func (m *Dashboard) Unmarshal(dAtA []byte) error { l := len(dAtA) diff --git a/pkg/calcapi/calcapi.pb.gw.go b/pkg/calcapi/calcapi.pb.gw.go index 25e28452..e54715c6 100644 --- a/pkg/calcapi/calcapi.pb.gw.go +++ b/pkg/calcapi/calcapi.pb.gw.go @@ -559,6 +559,399 @@ func local_request_Service_Metrics_0(ctx context.Context, marshaler runtime.Mars } +var ( + filter_Service_CounterInc_0 = &utilities.DoubleArray{Encoding: map[string]int{"key": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Service_CounterInc_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq CounterInc_Input + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Service_CounterInc_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CounterInc(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_CounterInc_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq CounterInc_Input + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Service_CounterInc_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CounterInc(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Service_NumberSetIfBigger_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq NumberSetIfBigger_Input + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + val, ok = pathParams["value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "value") + } + + protoReq.Value, err = runtime.Float64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "value", err) + } + + msg, err := client.NumberSetIfBigger(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_NumberSetIfBigger_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq NumberSetIfBigger_Input + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + val, ok = pathParams["value"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "value") + } + + protoReq.Value, err = runtime.Float64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "value", err) + } + + msg, err := server.NumberSetIfBigger(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Service_KeyValueStringSet_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq KeyValueStringSet_Input + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + msg, err := client.KeyValueStringSet(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_KeyValueStringSet_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq KeyValueStringSet_Input + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + msg, err := server.KeyValueStringSet(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Service_KeyValueStringGet_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq KeyValueStringGet_Input + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + msg, err := client.KeyValueStringGet(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_KeyValueStringGet_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq KeyValueStringGet_Input + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + msg, err := server.KeyValueStringGet(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Service_KeyValueFloatSet_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq KeyValueFloatSet_Input + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + msg, err := client.KeyValueFloatSet(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_KeyValueFloatSet_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq KeyValueFloatSet_Input + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + msg, err := server.KeyValueFloatSet(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Service_KeyValueFloatGet_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq KeyValueFloatGet_Input + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + msg, err := client.KeyValueFloatGet(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_KeyValueFloatGet_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq KeyValueFloatGet_Input + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["key"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "key") + } + + protoReq.Key, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "key", err) + } + + msg, err := server.KeyValueFloatGet(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterServiceHandlerServer registers the http handlers for service Service to "mux". // UnaryRPC :call ServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -964,6 +1357,126 @@ func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, se }) + mux.Handle("GET", pattern_Service_CounterInc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_CounterInc_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_CounterInc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_NumberSetIfBigger_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_NumberSetIfBigger_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_NumberSetIfBigger_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_Service_KeyValueStringSet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_KeyValueStringSet_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_KeyValueStringSet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_KeyValueStringGet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_KeyValueStringGet_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_KeyValueStringGet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_Service_KeyValueFloatSet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_KeyValueFloatSet_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_KeyValueFloatSet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_KeyValueFloatGet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_KeyValueFloatGet_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_KeyValueFloatGet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1405,6 +1918,126 @@ func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, cl }) + mux.Handle("GET", pattern_Service_CounterInc_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_CounterInc_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_CounterInc_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_NumberSetIfBigger_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_NumberSetIfBigger_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_NumberSetIfBigger_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_Service_KeyValueStringSet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_KeyValueStringSet_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_KeyValueStringSet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_KeyValueStringGet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_KeyValueStringGet_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_KeyValueStringGet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_Service_KeyValueFloatSet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_KeyValueFloatSet_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_KeyValueFloatSet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_KeyValueFloatGet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_KeyValueFloatGet_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_KeyValueFloatGet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1448,6 +2081,18 @@ var ( pattern_Service_SoundcloudTrack_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "soundcloud", "tracks", "track_id"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Service_Metrics_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"api", "metrics"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_CounterInc_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"api", "counter-inc", "key"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_NumberSetIfBigger_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "number-set-if-bigger", "key", "value"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_KeyValueStringSet_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"api", "key-value-string-set", "key"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_KeyValueStringGet_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"api", "key-value-string-get", "key"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_KeyValueFloatSet_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"api", "key-value-float-set", "key"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_KeyValueFloatGet_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"api", "key-value-float-get", "key"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( @@ -1490,4 +2135,16 @@ var ( forward_Service_SoundcloudTrack_0 = runtime.ForwardResponseMessage forward_Service_Metrics_0 = runtime.ForwardResponseMessage + + forward_Service_CounterInc_0 = runtime.ForwardResponseMessage + + forward_Service_NumberSetIfBigger_0 = runtime.ForwardResponseMessage + + forward_Service_KeyValueStringSet_0 = runtime.ForwardResponseMessage + + forward_Service_KeyValueStringGet_0 = runtime.ForwardResponseMessage + + forward_Service_KeyValueFloatSet_0 = runtime.ForwardResponseMessage + + forward_Service_KeyValueFloatGet_0 = runtime.ForwardResponseMessage ) diff --git a/pkg/calcapi/db.go b/pkg/calcapi/db.go new file mode 100644 index 00000000..d889f75e --- /dev/null +++ b/pkg/calcapi/db.go @@ -0,0 +1,25 @@ +package calcapi + +import "github.com/jinzhu/gorm" + +type DevKeyValueString struct { + Key string `gorm:"primary_key"` + Value string +} + +type DevKeyValueFloat struct { + Key string `gorm:"primary_key"` + Value float64 +} + +func setupDB(db *gorm.DB) error { + db.LogMode(true) + + err := db.AutoMigrate(&DevKeyValueString{}, &DevKeyValueFloat{}).Error + if err != nil { + return err + } + // FIXME: more tuning? + + return nil +} diff --git a/pkg/calcapi/svc.go b/pkg/calcapi/svc.go index 8177dafd..10ae76ac 100644 --- a/pkg/calcapi/svc.go +++ b/pkg/calcapi/svc.go @@ -1,22 +1,12 @@ -package calcapi // import "ultre.me/calcbiz/pkg/calcapi" +package calcapi import ( - "context" - "fmt" - "math/rand" "time" - "github.com/gobuffalo/packd" "github.com/gobuffalo/packr" - tpyo "github.com/tpyolang/tpyo-cli" - "go.uber.org/zap" - "ultre.me/calcbiz/pkg/crew" + "github.com/jinzhu/gorm" "ultre.me/calcbiz/pkg/dashboard" - "ultre.me/calcbiz/pkg/numberinfo" - "ultre.me/calcbiz/pkg/random" "ultre.me/calcbiz/pkg/soundcloud" - "ultre.me/kryptos" - "ultre.me/recettator" ) type Options struct { @@ -30,225 +20,17 @@ type svc struct { soundcloud *soundcloud.Soundcloud dashboard *dashboard.Dashboard startTime time.Time + db *gorm.DB } -func New(opts Options) (ServiceServer, error) { - svc := &svc{opts: opts, startTime: time.Now()} +func New(db *gorm.DB, opts Options) (ServiceServer, error) { + if err := setupDB(db); err != nil { + return nil, err + } + + svc := &svc{opts: opts, startTime: time.Now(), db: db} svc.soundcloud = soundcloud.New(opts.SoundcloudClientID, uint64(opts.SoundcloudUserID)) svc.dashboard = dashboard.New(&dashboard.Options{Soundcloud: svc.soundcloud}) // svc.dashboard.SetSoundCloud(&soundcloud) return svc, nil } - -func (svc *svc) Ping(_ context.Context, input *Ping_Input) (*Ping_Output, error) { - return &Ping_Output{Pong: "pong"}, nil -} - -func (svc *svc) KryptosEncrypt(_ context.Context, input *Kryptos_Input) (*Kryptos_Output, error) { - return &Kryptos_Output{To: kryptos.Encrypt(input.From)}, nil -} - -func (svc *svc) KryptosDecrypt(_ context.Context, input *Kryptos_Input) (*Kryptos_Output, error) { - return &Kryptos_Output{To: kryptos.Decrypt(input.From)}, nil -} - -func (svc *svc) TpyoEnocde(_ context.Context, input *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) { - enedocr := tpyo.NewTpyo() - return &TpyoEnocde_Ouptut{To: enedocr.Enocde(input.Form)}, nil -} - -func (svc *svc) Dashboard(_ context.Context, input *Dashboard_Input) (*Dashboard_Output, error) { - entries, err := svc.dashboard.Random() - if err != nil { - return nil, err - } - return &Dashboard_Output{Entries: entries}, nil -} - -func (svc *svc) Hackz(_ context.Context, input *Hackz_Input) (*Hackz_Output, error) { - entries, err := svc.dashboard.Hackz() - if err != nil { - return nil, err - } - return &Hackz_Output{Entries: entries}, nil -} - -func (svc *svc) Crew(_ context.Context, input *Crew_Input) (*Crew_Output, error) { - return &Crew_Output{Crew: &crew.CALC}, nil -} - -func (svc *svc) Numberinfo(_ context.Context, input *Numberinfo_Input) (*Numberinfo_Output, error) { - // FIXME: validate: input.Number is mandatory - facts := map[string]string{} - for k, v := range numberinfo.New(float64(input.Number)).All() { - facts[k] = fmt.Sprintf("%v", v) - } - return &Numberinfo_Output{Facts: facts}, nil -} - -func (svc *svc) Recettator(_ context.Context, input *Recettator_Input) (*Recettator_Output, error) { - if input.Seed == 0 { - input.Seed = int64(rand.Intn(1000)) - } - if input.Steps == 0 { - input.Steps = uint64(rand.Intn(4) + 3) - } - if input.MainIngredients == 0 { - input.MainIngredients = uint64(rand.Intn(2) + 1) - } - if input.SecondaryIngredients == 0 { - input.SecondaryIngredients = uint64(rand.Intn(2) + 1) - } - rctt := recettator.New(input.Seed) - rctt.SetSettings(recettator.Settings{ - MainIngredients: input.MainIngredients, - SecondaryIngredients: input.SecondaryIngredients, - Steps: input.Steps, - }) - - markdown, err := rctt.Markdown() - if err != nil { - zap.L().Warn("failed to marshal recettator in markdown", zap.Error(err)) - } - output := &Recettator_Output{ - Title: rctt.Title(), - People: rctt.People(), - Markdown: markdown, - Steps: rctt.Steps(), - Seed: input.Seed, - MainIngredients: []*Recettator_Ingredient{}, - SecondaryIngredients: []*Recettator_Ingredient{}, - } - for _, ingredient := range rctt.Pool().MainIngredients.Picked { - output.MainIngredients = append(output.MainIngredients, &Recettator_Ingredient{ - Name: ingredient.Name(), - // Quantity: ingredient.Quantity(), - NameAndQuantity: ingredient.NameAndQuantity(), - Kind: ingredient.Kind(), - Method: ingredient.GetMethod().NameAndQuantity(), - Gender: ingredient.GetGender(), - Multiple: ingredient.IsMultiple(), - }) - } - - // fmt.Println(rctt.JSON()) - - return output, nil -} - -func (svc *svc) Moijaime(_ context.Context, input *Moijaime_Input) (*Moijaime_Output, error) { - /* - r.Get("/moijaime", func(w http.ResponseWriter, r *http.Request) { - phrases := []string{} - for i := 0; i < 20; i++ { - phrases = append(phrases, moijaime.Generate()) - } - c.JSON(http.StatusOK, gin.H{ - "result": phrases, - }) - }) - */ - return nil, fmt.Errorf("not implemented") -} - -func (svc *svc) SpreadshirtRandom(_ context.Context, input *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) { - /* - r.Get("/spreadshirt/random", func(w http.ResponseWriter, r *http.Request) { - c.JSON(http.StatusOK, gin.H{ - "result": calcspreadshirt.GetRandomProduct(250, 250), - }) - }) - */ - return nil, fmt.Errorf("not implemented") -} - -func (svc *svc) SpreadshirtAll(_ context.Context, input *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) { - /* - r.Get("/spreadshirt/all", func(w http.ResponseWriter, r *http.Request) { - c.JSON(http.StatusOK, gin.H{ - "result": calcspreadshirt.GetAllProducts(250, 250), - }) - }) - */ - return nil, fmt.Errorf("not implemented") -} - -func (svc *svc) Wotd(_ context.Context, input *Wotd_Input) (*Wotd_Output, error) { - return &Wotd_Output{Word: random.WOTD()}, nil -} - -func (svc *svc) AlternateLogo(_ context.Context, input *AlternateLogo_Input) (*AlternateLogo_Output, error) { - return &AlternateLogo_Output{Path: random.AlternateLogo()}, nil -} - -func (svc *svc) SoundcloudMe(_ context.Context, input *SoundcloudMe_Input) (*SoundcloudMe_Output, error) { - me, err := svc.soundcloud.Me() - if err != nil { - return nil, err - } - return &SoundcloudMe_Output{Me: me}, nil -} - -func (svc *svc) SoundcloudPlaylists(_ context.Context, input *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) { - playlists, err := svc.soundcloud.GetPlaylists() - if err != nil { - return nil, err - } - return &SoundcloudPlaylists_Output{Playlists: playlists}, nil -} - -func (svc *svc) SoundcloudPlaylist(_ context.Context, input *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) { - if input.PlaylistId < 1 { // pick random - playlist, err := svc.soundcloud.GetRandomPlaylist() - if err != nil { - return nil, err - } - return &SoundcloudPlaylist_Output{Playlist: playlist}, nil - } - playlist, err := svc.soundcloud.GetPlaylist(input.PlaylistId) - if err != nil { - return nil, err - } - return &SoundcloudPlaylist_Output{Playlist: playlist}, nil -} - -func (svc *svc) SoundcloudTracks(_ context.Context, input *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) { - tracks, err := svc.soundcloud.GetTracks() - if err != nil { - return nil, err - } - return &SoundcloudTracks_Output{Tracks: tracks}, nil -} - -func (svc *svc) SoundcloudTrack(_ context.Context, input *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) { - if input.TrackId < 1 { // pick random - track, err := svc.soundcloud.GetRandomTrack() - if err != nil { - return nil, err - } - return &SoundcloudTrack_Output{Track: track}, nil - } - track, err := svc.soundcloud.GetTrack(input.TrackId) - if err != nil { - return nil, err - } - return &SoundcloudTrack_Output{Track: track}, nil -} - -func (svc *svc) Metrics(_ context.Context, input *Metrics_Input) (*Metrics_Output, error) { - staticBoxSize := 0 - err := svc.opts.StaticBox.Walk(func(filepath string, file packd.File) error { - staticBoxSize++ - return nil - }) - if err != nil { - return nil, err - } - out := &Metrics_Output{ - StaticBoxSize: int32(staticBoxSize), - ServerStartTime: svc.startTime.Format(time.RFC3339), - ServerCurrentTime: time.Now().Format(time.RFC3339), - ServerUptime: time.Since(svc.startTime).String(), - } - return out, nil -} diff --git a/pkg/dashboard/dashboard.go b/pkg/dashboard/dashboard.go index 22985b0a..8435b146 100644 --- a/pkg/dashboard/dashboard.go +++ b/pkg/dashboard/dashboard.go @@ -218,7 +218,7 @@ func (d *Dashboard) Random() (*Entries, error) { // merch // // FIXME: add timeout - if (false) { + if false { merchs, err := d.merchEntries(2) if err != nil { zap.L().Error("failed to fetch merch", zap.Error(err))