Created
October 26, 2017 12:54
-
-
Save iref/e81984befd046e6481f6afb09c7083bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.language.higherKinds | |
import cats.data._ | |
import cats.effect.Sync | |
import cats.implicits._ | |
import org.http4s.HttpService | |
import org.http4s.dsl.Http4sDsl | |
import org.http4s.implicits._ | |
class Example[F[_] : Sync] extends Http4sDsl[F] { | |
private def get: HttpService[F] = ??? | |
private def post: HttpService[F] = ??? | |
def endpoints(): HttpService[F] = | |
get.combineK(post) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment