parent
1ea7df3267
commit
e8c6e03841
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ func serverMethod[P Params, R Result](
|
|||
}
|
||||
}
|
||||
|
||||
// clientMethod is glue for creating a typedMethodHandler from a method on Server.
|
||||
// clientMethod is glue for creating a typedMethodHandler from a method on Client.
|
||||
func clientMethod[P Params, R Result](
|
||||
f func(*Client, context.Context, *ClientSession, P) (R, error),
|
||||
) typedMethodHandler[*ClientSession, P, R] {
|
||||
|
|
|
|||
Loading…
Reference in a new issue