Skip to content

Commit

Permalink
HandlerFunc type alias public
Browse files Browse the repository at this point in the history
  • Loading branch information
sideeffffect committed May 27, 2019
1 parent 595fecf commit 4325fa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import scala.util.control.NonFatal
object ReflectionGrpcJsonBridge extends StrictLogging {

// JSON body and headers to a response (fail status or JSON response)
private type HandlerFunc[F[_]] = (String, Map[String, String]) => F[Either[Status, String]]
type HandlerFunc[F[_]] = (String, Map[String, String]) => F[Either[Status, String]]

private val parser: JsonFormat.Parser = JsonFormat.parser()

Expand Down

0 comments on commit 4325fa0

Please sign in to comment.