Skip to content

Commit c97e12d

Browse files
committed
fix(util): handle when errch is nil
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent 5b69710 commit c97e12d

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ replace (
2626

2727
require (
2828
github.com/aperturerobotics/ts-proto-common-types v0.20.2 // latest
29-
github.com/aperturerobotics/util v1.12.1 // master
29+
github.com/aperturerobotics/util v1.13.0 // master
3030
github.com/blang/semver v3.5.1+incompatible
3131
github.com/cenkalti/backoff v2.2.1+incompatible
3232
github.com/djherbis/buffer v1.2.0

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ github.com/aperturerobotics/timestamp v0.8.2 h1:+HA/uI9ZGz8qqim+kkXqz3cijR8kMcQ4
2222
github.com/aperturerobotics/timestamp v0.8.2/go.mod h1:nrwzlUGvxs244CIBjDWHZ8qRudqk8m/SQ5n5GKXaFVw=
2323
github.com/aperturerobotics/ts-proto-common-types v0.20.2 h1:xFy3ErasS5PNWV0ABdlJxqfUsZGL2OLlc0Kio5aIm2s=
2424
github.com/aperturerobotics/ts-proto-common-types v0.20.2/go.mod h1:TgjsdPI5YvNF1iewbvCPmEnVkV8WVP1AyZxiOc9SEbo=
25-
github.com/aperturerobotics/util v1.12.1 h1:1jQh0wRUtQOjM/X9SGs1lr5Bi/LQjUise02GK71siUM=
26-
github.com/aperturerobotics/util v1.12.1/go.mod h1:d84OAQAGXCpl7JOBstnal91Lm6nKgk+vBgtHPgxBYrQ=
25+
github.com/aperturerobotics/util v1.13.0 h1:p5ouQnnV//BYj5UwdWw7hW8xkTXnvD5U/weyiVEJHXU=
26+
github.com/aperturerobotics/util v1.13.0/go.mod h1:d84OAQAGXCpl7JOBstnal91Lm6nKgk+vBgtHPgxBYrQ=
2727
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
2828
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
2929
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=

signaling/rpc/signaling.proto

-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
syntax = "proto3";
22
package signaling.rpc;
33

4-
// TODO: Both sides should set a 32-byte random nonce for the session.
5-
// TODO: Hash both sides 32-byte nonce to get the session nonce.
6-
// TODO: Provide the session nonce, seqno, and timestamp as part of the signed body.
7-
// TODO: This will avoid replay attacks with the signed messages.
8-
94
import "github.com/aperturerobotics/bifrost/peer/peer.proto";
105

116
// Signaling is a service which allows peers to signal each other via a RPC server.

0 commit comments

Comments
 (0)