Commit 3e5a44aa authored by vicotor's avatar vicotor

add pb and go.mod go.sum.

parent a8b536dd
module github.com/cmpchain/metacrypter
go 1.15
require (
github.com/gogo/protobuf v1.3.2
github.com/golang/protobuf v1.5.2
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
google.golang.org/grpc v1.50.1
)
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=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI=
github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
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/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
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-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
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-20190108225652-1e06a53dbb7e/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=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/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-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/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-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
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-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
google.golang.org/grpc v1.50.1 h1:DS/BukOZWp8s6p4Dt/tOaJaTQyPyOoCcrjroHuCeLzY=
google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ=
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: meta/crypter/v1/request_response.proto
package crypterv1
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "github.com/golang/protobuf/ptypes/timestamp"
_ "google.golang.org/genproto/protobuf/field_mask"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type SignRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Privk []byte `protobuf:"bytes,2,opt,name=privk,proto3" json:"privk,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
CryptType CryptType `protobuf:"varint,4,opt,name=crypt_type,json=cryptType,proto3,enum=meta.crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SignRequest) Reset() { *m = SignRequest{} }
func (m *SignRequest) String() string { return proto.CompactTextString(m) }
func (*SignRequest) ProtoMessage() {}
func (*SignRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{0}
}
func (m *SignRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SignRequest.Unmarshal(m, b)
}
func (m *SignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SignRequest.Marshal(b, m, deterministic)
}
func (m *SignRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignRequest.Merge(m, src)
}
func (m *SignRequest) XXX_Size() int {
return xxx_messageInfo_SignRequest.Size(m)
}
func (m *SignRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SignRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SignRequest proto.InternalMessageInfo
func (m *SignRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *SignRequest) GetPrivk() []byte {
if m != nil {
return m.Privk
}
return nil
}
func (m *SignRequest) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *SignRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type SignResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SignResponse) Reset() { *m = SignResponse{} }
func (m *SignResponse) String() string { return proto.CompactTextString(m) }
func (*SignResponse) ProtoMessage() {}
func (*SignResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{1}
}
func (m *SignResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SignResponse.Unmarshal(m, b)
}
func (m *SignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SignResponse.Marshal(b, m, deterministic)
}
func (m *SignResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SignResponse.Merge(m, src)
}
func (m *SignResponse) XXX_Size() int {
return xxx_messageInfo_SignResponse.Size(m)
}
func (m *SignResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SignResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SignResponse proto.InternalMessageInfo
func (m *SignResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *SignResponse) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
type VerifyRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
CryptType CryptType `protobuf:"varint,4,opt,name=crypt_type,json=cryptType,proto3,enum=meta.crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VerifyRequest) Reset() { *m = VerifyRequest{} }
func (m *VerifyRequest) String() string { return proto.CompactTextString(m) }
func (*VerifyRequest) ProtoMessage() {}
func (*VerifyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{2}
}
func (m *VerifyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VerifyRequest.Unmarshal(m, b)
}
func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VerifyRequest.Marshal(b, m, deterministic)
}
func (m *VerifyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_VerifyRequest.Merge(m, src)
}
func (m *VerifyRequest) XXX_Size() int {
return xxx_messageInfo_VerifyRequest.Size(m)
}
func (m *VerifyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_VerifyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_VerifyRequest proto.InternalMessageInfo
func (m *VerifyRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *VerifyRequest) GetPubkey() []byte {
if m != nil {
return m.Pubkey
}
return nil
}
func (m *VerifyRequest) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *VerifyRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type VerifyResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Verified bool `protobuf:"varint,2,opt,name=verified,proto3" json:"verified,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VerifyResponse) Reset() { *m = VerifyResponse{} }
func (m *VerifyResponse) String() string { return proto.CompactTextString(m) }
func (*VerifyResponse) ProtoMessage() {}
func (*VerifyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{3}
}
func (m *VerifyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VerifyResponse.Unmarshal(m, b)
}
func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VerifyResponse.Marshal(b, m, deterministic)
}
func (m *VerifyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_VerifyResponse.Merge(m, src)
}
func (m *VerifyResponse) XXX_Size() int {
return xxx_messageInfo_VerifyResponse.Size(m)
}
func (m *VerifyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_VerifyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_VerifyResponse proto.InternalMessageInfo
func (m *VerifyResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *VerifyResponse) GetVerified() bool {
if m != nil {
return m.Verified
}
return false
}
type RecoverRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
CryptType CryptType `protobuf:"varint,4,opt,name=crypt_type,json=cryptType,proto3,enum=meta.crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RecoverRequest) Reset() { *m = RecoverRequest{} }
func (m *RecoverRequest) String() string { return proto.CompactTextString(m) }
func (*RecoverRequest) ProtoMessage() {}
func (*RecoverRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{4}
}
func (m *RecoverRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RecoverRequest.Unmarshal(m, b)
}
func (m *RecoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RecoverRequest.Marshal(b, m, deterministic)
}
func (m *RecoverRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RecoverRequest.Merge(m, src)
}
func (m *RecoverRequest) XXX_Size() int {
return xxx_messageInfo_RecoverRequest.Size(m)
}
func (m *RecoverRequest) XXX_DiscardUnknown() {
xxx_messageInfo_RecoverRequest.DiscardUnknown(m)
}
var xxx_messageInfo_RecoverRequest proto.InternalMessageInfo
func (m *RecoverRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *RecoverRequest) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *RecoverRequest) GetSignature() []byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *RecoverRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type RecoverResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RecoverResponse) Reset() { *m = RecoverResponse{} }
func (m *RecoverResponse) String() string { return proto.CompactTextString(m) }
func (*RecoverResponse) ProtoMessage() {}
func (*RecoverResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{5}
}
func (m *RecoverResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RecoverResponse.Unmarshal(m, b)
}
func (m *RecoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RecoverResponse.Marshal(b, m, deterministic)
}
func (m *RecoverResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_RecoverResponse.Merge(m, src)
}
func (m *RecoverResponse) XXX_Size() int {
return xxx_messageInfo_RecoverResponse.Size(m)
}
func (m *RecoverResponse) XXX_DiscardUnknown() {
xxx_messageInfo_RecoverResponse.DiscardUnknown(m)
}
var xxx_messageInfo_RecoverResponse proto.InternalMessageInfo
func (m *RecoverResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *RecoverResponse) GetPubkey() []byte {
if m != nil {
return m.Pubkey
}
return nil
}
type BatchSignRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Privk [][]byte `protobuf:"bytes,2,rep,name=privk,proto3" json:"privk,omitempty"`
Data [][]byte `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
CryptType CryptType `protobuf:"varint,4,opt,name=crypt_type,json=cryptType,proto3,enum=meta.crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchSignRequest) Reset() { *m = BatchSignRequest{} }
func (m *BatchSignRequest) String() string { return proto.CompactTextString(m) }
func (*BatchSignRequest) ProtoMessage() {}
func (*BatchSignRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{6}
}
func (m *BatchSignRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchSignRequest.Unmarshal(m, b)
}
func (m *BatchSignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchSignRequest.Marshal(b, m, deterministic)
}
func (m *BatchSignRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchSignRequest.Merge(m, src)
}
func (m *BatchSignRequest) XXX_Size() int {
return xxx_messageInfo_BatchSignRequest.Size(m)
}
func (m *BatchSignRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchSignRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchSignRequest proto.InternalMessageInfo
func (m *BatchSignRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *BatchSignRequest) GetPrivk() [][]byte {
if m != nil {
return m.Privk
}
return nil
}
func (m *BatchSignRequest) GetData() [][]byte {
if m != nil {
return m.Data
}
return nil
}
func (m *BatchSignRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type BatchSignResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Signature [][]byte `protobuf:"bytes,2,rep,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchSignResponse) Reset() { *m = BatchSignResponse{} }
func (m *BatchSignResponse) String() string { return proto.CompactTextString(m) }
func (*BatchSignResponse) ProtoMessage() {}
func (*BatchSignResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{7}
}
func (m *BatchSignResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchSignResponse.Unmarshal(m, b)
}
func (m *BatchSignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchSignResponse.Marshal(b, m, deterministic)
}
func (m *BatchSignResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchSignResponse.Merge(m, src)
}
func (m *BatchSignResponse) XXX_Size() int {
return xxx_messageInfo_BatchSignResponse.Size(m)
}
func (m *BatchSignResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchSignResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchSignResponse proto.InternalMessageInfo
func (m *BatchSignResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *BatchSignResponse) GetSignature() [][]byte {
if m != nil {
return m.Signature
}
return nil
}
type BatchVerifyRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Pubkey [][]byte `protobuf:"bytes,2,rep,name=pubkey,proto3" json:"pubkey,omitempty"`
Signature [][]byte `protobuf:"bytes,3,rep,name=signature,proto3" json:"signature,omitempty"`
CryptType CryptType `protobuf:"varint,4,opt,name=crypt_type,json=cryptType,proto3,enum=meta.crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchVerifyRequest) Reset() { *m = BatchVerifyRequest{} }
func (m *BatchVerifyRequest) String() string { return proto.CompactTextString(m) }
func (*BatchVerifyRequest) ProtoMessage() {}
func (*BatchVerifyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{8}
}
func (m *BatchVerifyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchVerifyRequest.Unmarshal(m, b)
}
func (m *BatchVerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchVerifyRequest.Marshal(b, m, deterministic)
}
func (m *BatchVerifyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchVerifyRequest.Merge(m, src)
}
func (m *BatchVerifyRequest) XXX_Size() int {
return xxx_messageInfo_BatchVerifyRequest.Size(m)
}
func (m *BatchVerifyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchVerifyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchVerifyRequest proto.InternalMessageInfo
func (m *BatchVerifyRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *BatchVerifyRequest) GetPubkey() [][]byte {
if m != nil {
return m.Pubkey
}
return nil
}
func (m *BatchVerifyRequest) GetSignature() [][]byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *BatchVerifyRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type BatchVerifyResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Verified []bool `protobuf:"varint,2,rep,packed,name=verified,proto3" json:"verified,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchVerifyResponse) Reset() { *m = BatchVerifyResponse{} }
func (m *BatchVerifyResponse) String() string { return proto.CompactTextString(m) }
func (*BatchVerifyResponse) ProtoMessage() {}
func (*BatchVerifyResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{9}
}
func (m *BatchVerifyResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchVerifyResponse.Unmarshal(m, b)
}
func (m *BatchVerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchVerifyResponse.Marshal(b, m, deterministic)
}
func (m *BatchVerifyResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchVerifyResponse.Merge(m, src)
}
func (m *BatchVerifyResponse) XXX_Size() int {
return xxx_messageInfo_BatchVerifyResponse.Size(m)
}
func (m *BatchVerifyResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchVerifyResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchVerifyResponse proto.InternalMessageInfo
func (m *BatchVerifyResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *BatchVerifyResponse) GetVerified() []bool {
if m != nil {
return m.Verified
}
return nil
}
type BatchRecoverRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Data [][]byte `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
Signature [][]byte `protobuf:"bytes,3,rep,name=signature,proto3" json:"signature,omitempty"`
CryptType CryptType `protobuf:"varint,4,opt,name=crypt_type,json=cryptType,proto3,enum=meta.crypter.v1.CryptType" json:"crypt_type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchRecoverRequest) Reset() { *m = BatchRecoverRequest{} }
func (m *BatchRecoverRequest) String() string { return proto.CompactTextString(m) }
func (*BatchRecoverRequest) ProtoMessage() {}
func (*BatchRecoverRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{10}
}
func (m *BatchRecoverRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchRecoverRequest.Unmarshal(m, b)
}
func (m *BatchRecoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchRecoverRequest.Marshal(b, m, deterministic)
}
func (m *BatchRecoverRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchRecoverRequest.Merge(m, src)
}
func (m *BatchRecoverRequest) XXX_Size() int {
return xxx_messageInfo_BatchRecoverRequest.Size(m)
}
func (m *BatchRecoverRequest) XXX_DiscardUnknown() {
xxx_messageInfo_BatchRecoverRequest.DiscardUnknown(m)
}
var xxx_messageInfo_BatchRecoverRequest proto.InternalMessageInfo
func (m *BatchRecoverRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *BatchRecoverRequest) GetData() [][]byte {
if m != nil {
return m.Data
}
return nil
}
func (m *BatchRecoverRequest) GetSignature() [][]byte {
if m != nil {
return m.Signature
}
return nil
}
func (m *BatchRecoverRequest) GetCryptType() CryptType {
if m != nil {
return m.CryptType
}
return CryptType_CRYPT_TYPE_INVALID
}
type BatchRecoverResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Pubkey [][]byte `protobuf:"bytes,2,rep,name=pubkey,proto3" json:"pubkey,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BatchRecoverResponse) Reset() { *m = BatchRecoverResponse{} }
func (m *BatchRecoverResponse) String() string { return proto.CompactTextString(m) }
func (*BatchRecoverResponse) ProtoMessage() {}
func (*BatchRecoverResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_d7c5a8fed3f673bd, []int{11}
}
func (m *BatchRecoverResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BatchRecoverResponse.Unmarshal(m, b)
}
func (m *BatchRecoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BatchRecoverResponse.Marshal(b, m, deterministic)
}
func (m *BatchRecoverResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_BatchRecoverResponse.Merge(m, src)
}
func (m *BatchRecoverResponse) XXX_Size() int {
return xxx_messageInfo_BatchRecoverResponse.Size(m)
}
func (m *BatchRecoverResponse) XXX_DiscardUnknown() {
xxx_messageInfo_BatchRecoverResponse.DiscardUnknown(m)
}
var xxx_messageInfo_BatchRecoverResponse proto.InternalMessageInfo
func (m *BatchRecoverResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *BatchRecoverResponse) GetPubkey() [][]byte {
if m != nil {
return m.Pubkey
}
return nil
}
func init() {
proto.RegisterType((*SignRequest)(nil), "meta.crypter.v1.SignRequest")
proto.RegisterType((*SignResponse)(nil), "meta.crypter.v1.SignResponse")
proto.RegisterType((*VerifyRequest)(nil), "meta.crypter.v1.VerifyRequest")
proto.RegisterType((*VerifyResponse)(nil), "meta.crypter.v1.VerifyResponse")
proto.RegisterType((*RecoverRequest)(nil), "meta.crypter.v1.RecoverRequest")
proto.RegisterType((*RecoverResponse)(nil), "meta.crypter.v1.RecoverResponse")
proto.RegisterType((*BatchSignRequest)(nil), "meta.crypter.v1.BatchSignRequest")
proto.RegisterType((*BatchSignResponse)(nil), "meta.crypter.v1.BatchSignResponse")
proto.RegisterType((*BatchVerifyRequest)(nil), "meta.crypter.v1.BatchVerifyRequest")
proto.RegisterType((*BatchVerifyResponse)(nil), "meta.crypter.v1.BatchVerifyResponse")
proto.RegisterType((*BatchRecoverRequest)(nil), "meta.crypter.v1.BatchRecoverRequest")
proto.RegisterType((*BatchRecoverResponse)(nil), "meta.crypter.v1.BatchRecoverResponse")
}
func init() {
proto.RegisterFile("meta/crypter/v1/request_response.proto", fileDescriptor_d7c5a8fed3f673bd)
}
var fileDescriptor_d7c5a8fed3f673bd = []byte{
// 419 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x41, 0xcb, 0xd3, 0x40,
0x10, 0x86, 0xd9, 0xec, 0xe7, 0x47, 0x33, 0xad, 0xa9, 0xc6, 0x22, 0x21, 0x88, 0x86, 0x1c, 0xa4,
0xa7, 0x84, 0xea, 0xa9, 0x20, 0x42, 0xeb, 0x3f, 0x88, 0xe2, 0xc1, 0x4b, 0x49, 0x93, 0x69, 0x5c,
0xda, 0x34, 0xeb, 0x66, 0x13, 0xc8, 0xd5, 0x8b, 0x27, 0x41, 0x04, 0xff, 0xaf, 0x34, 0xd9, 0xd6,
0xa6, 0x35, 0x10, 0xb0, 0xde, 0x76, 0x36, 0xb3, 0x33, 0xef, 0x3b, 0xf3, 0x10, 0x78, 0x99, 0xa2,
0x0c, 0xfd, 0x48, 0x54, 0x5c, 0xa2, 0xf0, 0xcb, 0x99, 0x2f, 0xf0, 0x4b, 0x81, 0xb9, 0x5c, 0x09,
0xcc, 0x79, 0xb6, 0xcf, 0xd1, 0xe3, 0x22, 0x93, 0x99, 0x39, 0x3e, 0xe4, 0x79, 0x2a, 0xcf, 0x2b,
0x67, 0xb6, 0x93, 0x64, 0x59, 0xb2, 0x43, 0xbf, 0xfe, 0xbc, 0x2e, 0x36, 0xfe, 0x86, 0xe1, 0x2e,
0x5e, 0xa5, 0x61, 0xbe, 0x6d, 0x9e, 0xd8, 0x2f, 0x2e, 0x33, 0x24, 0x4b, 0x31, 0x97, 0x61, 0xca,
0x55, 0xc2, 0xf3, 0xeb, 0xde, 0x79, 0x56, 0x88, 0x48, 0xf5, 0x74, 0xbf, 0x12, 0x18, 0xbe, 0x67,
0xc9, 0x3e, 0x68, 0x24, 0x99, 0x06, 0x68, 0x2c, 0xb6, 0x88, 0x43, 0xa6, 0x7a, 0xa0, 0xb1, 0xd8,
0x9c, 0xc0, 0x03, 0x2e, 0x58, 0xb9, 0xb5, 0x34, 0x87, 0x4c, 0x47, 0x41, 0x13, 0x98, 0x26, 0xdc,
0xc5, 0xa1, 0x0c, 0x2d, 0x5a, 0x5f, 0xd6, 0x67, 0x73, 0x0e, 0x50, 0xb7, 0x59, 0xc9, 0x8a, 0xa3,
0x75, 0xe7, 0x90, 0xa9, 0xf1, 0xca, 0xf6, 0x2e, 0x2c, 0x79, 0xef, 0x0e, 0xc7, 0x0f, 0x15, 0xc7,
0x40, 0x8f, 0x8e, 0x47, 0xf7, 0x0d, 0x8c, 0x1a, 0x0d, 0xcd, 0x38, 0xae, 0x44, 0x3c, 0x03, 0x3d,
0x67, 0xc9, 0x3e, 0x94, 0x85, 0x40, 0x25, 0xe4, 0xcf, 0x85, 0xfb, 0x83, 0xc0, 0xc3, 0x8f, 0x28,
0xd8, 0xa6, 0xea, 0x32, 0xf1, 0x14, 0xee, 0x79, 0xb1, 0xde, 0x62, 0xa5, 0x1e, 0xab, 0xa8, 0x5d,
0x97, 0x5e, 0xd4, 0xfd, 0x37, 0x43, 0xc6, 0x51, 0x51, 0x87, 0x25, 0x1b, 0x06, 0xe5, 0x21, 0x83,
0x61, 0x5c, 0x8b, 0x1a, 0x04, 0xa7, 0xd8, 0xfd, 0x4e, 0xc0, 0x08, 0x30, 0xca, 0x4a, 0x14, 0x5d,
0x8e, 0x8e, 0x0b, 0xd0, 0xce, 0x16, 0xf0, 0xdf, 0xdc, 0xcc, 0x61, 0x7c, 0x92, 0xd3, 0x61, 0xa7,
0x63, 0xc2, 0xee, 0x37, 0x02, 0x8f, 0x96, 0xa1, 0x8c, 0x3e, 0xf7, 0x64, 0x8c, 0xfe, 0x8d, 0x31,
0x7a, 0x0b, 0xc6, 0x16, 0xf0, 0xf8, 0x4c, 0x48, 0x3f, 0xd0, 0x68, 0x1b, 0xb4, 0x5f, 0x04, 0xcc,
0xba, 0x46, 0x7f, 0xda, 0x68, 0x37, 0x6d, 0xf4, 0x66, 0xfb, 0x59, 0xc0, 0x93, 0x96, 0xac, 0x5e,
0xc8, 0xd1, 0x16, 0x72, 0x3f, 0x89, 0xaa, 0xd1, 0x9b, 0x3b, 0xda, 0xc5, 0xdd, 0xed, 0x7c, 0xbd,
0x85, 0x49, 0x5b, 0x53, 0x0f, 0xf8, 0xce, 0x06, 0xbe, 0x1c, 0x7e, 0xd2, 0x55, 0x8b, 0x72, 0xb6,
0xbe, 0xaf, 0xff, 0x77, 0xaf, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x46, 0x33, 0xb7, 0xba, 0x8d,
0x05, 0x00, 0x00,
}
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: meta/crypter/v1/resource.proto
package crypterv1
import (
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
_ "github.com/golang/protobuf/ptypes/timestamp"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type CryptType int32
const (
CryptType_CRYPT_TYPE_INVALID CryptType = 0
CryptType_CRYPT_TYPE_SECP256K1 CryptType = 1
)
var CryptType_name = map[int32]string{
0: "CRYPT_TYPE_INVALID",
1: "CRYPT_TYPE_SECP256K1",
}
var CryptType_value = map[string]int32{
"CRYPT_TYPE_INVALID": 0,
"CRYPT_TYPE_SECP256K1": 1,
}
func (x CryptType) String() string {
return proto.EnumName(CryptType_name, int32(x))
}
func (CryptType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_01f1bddfec97ea3e, []int{0}
}
func init() {
proto.RegisterEnum("meta.crypter.v1.CryptType", CryptType_name, CryptType_value)
}
func init() { proto.RegisterFile("meta/crypter/v1/resource.proto", fileDescriptor_01f1bddfec97ea3e) }
var fileDescriptor_01f1bddfec97ea3e = []byte{
// 157 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcb, 0x4d, 0x2d, 0x49,
0xd4, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0x49, 0x2d, 0xd2, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce,
0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x07, 0xc9, 0xeb, 0x41,
0xe5, 0xf5, 0xca, 0x0c, 0xa5, 0xe4, 0xd3, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0xc1, 0xd2, 0x49,
0xa5, 0x69, 0xfa, 0x25, 0x99, 0xb9, 0xa9, 0xc5, 0x25, 0x89, 0xb9, 0x05, 0x10, 0x1d, 0x5a, 0xb6,
0x5c, 0x9c, 0xce, 0x20, 0xe5, 0x21, 0x95, 0x05, 0xa9, 0x42, 0x62, 0x5c, 0x42, 0xce, 0x41, 0x91,
0x01, 0x21, 0xf1, 0x21, 0x91, 0x01, 0xae, 0xf1, 0x9e, 0x7e, 0x61, 0x8e, 0x3e, 0x9e, 0x2e, 0x02,
0x0c, 0x42, 0x12, 0x5c, 0x22, 0x48, 0xe2, 0xc1, 0xae, 0xce, 0x01, 0x46, 0xa6, 0x66, 0xde, 0x86,
0x02, 0x8c, 0x4e, 0xdc, 0x51, 0x9c, 0x50, 0xdb, 0xca, 0x0c, 0x93, 0xd8, 0xc0, 0x46, 0x1a, 0x03,
0x02, 0x00, 0x00, 0xff, 0xff, 0x54, 0x54, 0x92, 0x6c, 0xa6, 0x00, 0x00, 0x00,
}
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: meta/crypter/v1/service.proto
package crypterv1
import (
context "context"
fmt "fmt"
proto "github.com/gogo/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func init() { proto.RegisterFile("meta/crypter/v1/service.proto", fileDescriptor_0bcfc3d2961e80ff) }
var fileDescriptor_0bcfc3d2961e80ff = []byte{
// 242 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcd, 0x4d, 0x2d, 0x49,
0xd4, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0x49, 0x2d, 0xd2, 0x2f, 0x33, 0xd4, 0x2f, 0x4e, 0x2d, 0x2a,
0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x07, 0x49, 0xeb, 0x41, 0xa5,
0xf5, 0xca, 0x0c, 0xa5, 0xd4, 0xd0, 0xd5, 0x17, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0xc4, 0x17,
0xa5, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0x43, 0x35, 0x1a, 0xb5, 0xb2, 0x70, 0xf1, 0x39, 0x43, 0x54,
0x05, 0x43, 0x4c, 0x14, 0x72, 0xe5, 0x62, 0x09, 0xce, 0x4c, 0xcf, 0x13, 0x92, 0xd1, 0x43, 0x33,
0x54, 0x0f, 0x24, 0x1c, 0x04, 0x31, 0x47, 0x4a, 0x16, 0x87, 0x2c, 0xc4, 0x74, 0x25, 0x06, 0x21,
0x6f, 0x2e, 0xb6, 0xb0, 0xd4, 0xa2, 0xcc, 0xb4, 0x4a, 0x21, 0x39, 0x0c, 0xa5, 0x10, 0x09, 0x98,
0x51, 0xf2, 0x38, 0xe5, 0xe1, 0x86, 0xf9, 0x71, 0xb1, 0x07, 0xa5, 0x26, 0xe7, 0x97, 0xa5, 0x16,
0x09, 0x61, 0xaa, 0x86, 0xca, 0xc0, 0x8c, 0x53, 0xc0, 0xad, 0x00, 0x6e, 0x5e, 0x08, 0x17, 0xa7,
0x53, 0x62, 0x49, 0x72, 0x06, 0xd8, 0xa3, 0x8a, 0x18, 0x1a, 0xe0, 0x72, 0x30, 0x33, 0x95, 0xf0,
0x29, 0x81, 0x9b, 0x1a, 0xc5, 0xc5, 0x0d, 0x16, 0x86, 0xfa, 0x5b, 0x19, 0xbb, 0x26, 0x54, 0xcf,
0xab, 0xe0, 0x57, 0x04, 0x37, 0x3b, 0x96, 0x8b, 0x07, 0x2c, 0x01, 0x0b, 0x06, 0x1c, 0xfa, 0xd0,
0xc2, 0x42, 0x95, 0x80, 0x2a, 0x98, 0xf1, 0x4e, 0xdc, 0x51, 0x9c, 0x50, 0x45, 0x65, 0x86, 0x49,
0x6c, 0xe0, 0xb4, 0x61, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xfc, 0xc9, 0xf3, 0xc6, 0x75, 0x02,
0x00, 0x00,
}
// 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
// CrypterServiceClient is the client API for CrypterService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type CrypterServiceClient interface {
Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error)
Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error)
Recover(ctx context.Context, in *RecoverRequest, opts ...grpc.CallOption) (*RecoverResponse, error)
BatchSign(ctx context.Context, in *BatchSignRequest, opts ...grpc.CallOption) (*BatchSignResponse, error)
BatchVerify(ctx context.Context, in *BatchVerifyRequest, opts ...grpc.CallOption) (*BatchVerifyResponse, error)
BatchRecover(ctx context.Context, in *BatchRecoverRequest, opts ...grpc.CallOption) (*BatchRecoverResponse, error)
}
type crypterServiceClient struct {
cc *grpc.ClientConn
}
func NewCrypterServiceClient(cc *grpc.ClientConn) CrypterServiceClient {
return &crypterServiceClient{cc}
}
func (c *crypterServiceClient) Sign(ctx context.Context, in *SignRequest, opts ...grpc.CallOption) (*SignResponse, error) {
out := new(SignResponse)
err := c.cc.Invoke(ctx, "/meta.crypter.v1.CrypterService/Sign", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *crypterServiceClient) Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error) {
out := new(VerifyResponse)
err := c.cc.Invoke(ctx, "/meta.crypter.v1.CrypterService/Verify", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *crypterServiceClient) Recover(ctx context.Context, in *RecoverRequest, opts ...grpc.CallOption) (*RecoverResponse, error) {
out := new(RecoverResponse)
err := c.cc.Invoke(ctx, "/meta.crypter.v1.CrypterService/Recover", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *crypterServiceClient) BatchSign(ctx context.Context, in *BatchSignRequest, opts ...grpc.CallOption) (*BatchSignResponse, error) {
out := new(BatchSignResponse)
err := c.cc.Invoke(ctx, "/meta.crypter.v1.CrypterService/BatchSign", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *crypterServiceClient) BatchVerify(ctx context.Context, in *BatchVerifyRequest, opts ...grpc.CallOption) (*BatchVerifyResponse, error) {
out := new(BatchVerifyResponse)
err := c.cc.Invoke(ctx, "/meta.crypter.v1.CrypterService/BatchVerify", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *crypterServiceClient) BatchRecover(ctx context.Context, in *BatchRecoverRequest, opts ...grpc.CallOption) (*BatchRecoverResponse, error) {
out := new(BatchRecoverResponse)
err := c.cc.Invoke(ctx, "/meta.crypter.v1.CrypterService/BatchRecover", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// CrypterServiceServer is the server API for CrypterService service.
type CrypterServiceServer interface {
Sign(context.Context, *SignRequest) (*SignResponse, error)
Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
Recover(context.Context, *RecoverRequest) (*RecoverResponse, error)
BatchSign(context.Context, *BatchSignRequest) (*BatchSignResponse, error)
BatchVerify(context.Context, *BatchVerifyRequest) (*BatchVerifyResponse, error)
BatchRecover(context.Context, *BatchRecoverRequest) (*BatchRecoverResponse, error)
}
// UnimplementedCrypterServiceServer can be embedded to have forward compatible implementations.
type UnimplementedCrypterServiceServer struct {
}
func (*UnimplementedCrypterServiceServer) Sign(ctx context.Context, req *SignRequest) (*SignResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Sign not implemented")
}
func (*UnimplementedCrypterServiceServer) Verify(ctx context.Context, req *VerifyRequest) (*VerifyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Verify not implemented")
}
func (*UnimplementedCrypterServiceServer) Recover(ctx context.Context, req *RecoverRequest) (*RecoverResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Recover not implemented")
}
func (*UnimplementedCrypterServiceServer) BatchSign(ctx context.Context, req *BatchSignRequest) (*BatchSignResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchSign not implemented")
}
func (*UnimplementedCrypterServiceServer) BatchVerify(ctx context.Context, req *BatchVerifyRequest) (*BatchVerifyResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchVerify not implemented")
}
func (*UnimplementedCrypterServiceServer) BatchRecover(ctx context.Context, req *BatchRecoverRequest) (*BatchRecoverResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BatchRecover not implemented")
}
func RegisterCrypterServiceServer(s *grpc.Server, srv CrypterServiceServer) {
s.RegisterService(&_CrypterService_serviceDesc, srv)
}
func _CrypterService_Sign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SignRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).Sign(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/meta.crypter.v1.CrypterService/Sign",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).Sign(ctx, req.(*SignRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CrypterService_Verify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(VerifyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).Verify(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/meta.crypter.v1.CrypterService/Verify",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).Verify(ctx, req.(*VerifyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CrypterService_Recover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RecoverRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).Recover(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/meta.crypter.v1.CrypterService/Recover",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).Recover(ctx, req.(*RecoverRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CrypterService_BatchSign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchSignRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).BatchSign(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/meta.crypter.v1.CrypterService/BatchSign",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).BatchSign(ctx, req.(*BatchSignRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CrypterService_BatchVerify_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchVerifyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).BatchVerify(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/meta.crypter.v1.CrypterService/BatchVerify",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).BatchVerify(ctx, req.(*BatchVerifyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _CrypterService_BatchRecover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchRecoverRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CrypterServiceServer).BatchRecover(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/meta.crypter.v1.CrypterService/BatchRecover",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CrypterServiceServer).BatchRecover(ctx, req.(*BatchRecoverRequest))
}
return interceptor(ctx, in, info, handler)
}
var _CrypterService_serviceDesc = grpc.ServiceDesc{
ServiceName: "meta.crypter.v1.CrypterService",
HandlerType: (*CrypterServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Sign",
Handler: _CrypterService_Sign_Handler,
},
{
MethodName: "Verify",
Handler: _CrypterService_Verify_Handler,
},
{
MethodName: "Recover",
Handler: _CrypterService_Recover_Handler,
},
{
MethodName: "BatchSign",
Handler: _CrypterService_BatchSign_Handler,
},
{
MethodName: "BatchVerify",
Handler: _CrypterService_BatchVerify_Handler,
},
{
MethodName: "BatchRecover",
Handler: _CrypterService_BatchRecover_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "meta/crypter/v1/service.proto",
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment