Skip to content

Commit

Permalink
Fixes fir miek@ comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Witkowski committed Sep 24, 2015
1 parent b6c2899 commit 5c83df7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monitoring/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const (
Streaming RpcType = "streaming"
)

// RpcMonitor is a per-RPC datastructure
// RpcMonitor is a per-RPC datastructure.
type RpcMonitor interface {
// ReceivedMessage is called on every stream message received by the monitor.
ReceivedMessage()
Expand All @@ -22,7 +22,7 @@ type RpcMonitor interface {
// Handled is called whenever the RPC handling completes (with OK or AppError).
Handled(code codes.Code)

// Errored is called whenever the RPC failed due to RPC-layer errors.
// Erred is called whenever the RPC failed due to RPC-layer errors.
Erred(err error)
}

Expand All @@ -32,7 +32,7 @@ type ServerMonitor interface {
NewServerMonitor(rpcType RpcType, fullMethod string) RpcMonitor
}

// ServerMonitor allocates new per-RPC monitors on the server side.
// Client allocates new per-RPC monitors on the client side.
type ClientMonitor interface {
// NewMonitor allocates a new per-RPC monitor, also signifying the start of an RPC call.
NewClientMonitor(rpcType RpcType, fullMethod string) RpcMonitor
Expand Down

0 comments on commit 5c83df7

Please sign in to comment.