Package

github4s.free

algebra

Permalink

package algebra

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AuthOp[A] extends AnyRef

    Permalink

    Auths ops ADT

  2. class AuthOps[F[_]] extends AnyRef

    Permalink

    Exposes Auths operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  3. final case class AuthorizeUrl(client_id: String, redirect_uri: String, scopes: List[String]) extends AuthOp[GHResponse[Authorize]] with Product with Serializable

    Permalink
  4. final case class GetAccessToken(client_id: String, client_secret: String, code: String, redirect_uri: String, state: String) extends AuthOp[GHResponse[OAuthToken]] with Product with Serializable

    Permalink
  5. final case class GetAuthUser(accessToken: Option[String] = None) extends UserOp[GHResponse[User]] with Product with Serializable

    Permalink
  6. final case class GetRepo(owner: String, repo: String, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[Repository]] with Product with Serializable

    Permalink
  7. final case class GetUser(username: String, accessToken: Option[String] = None) extends UserOp[GHResponse[User]] with Product with Serializable

    Permalink
  8. final case class GetUsers(since: Int, pagination: Option[Pagination] = None, accessToken: Option[String] = None) extends UserOp[GHResponse[List[User]]] with Product with Serializable

    Permalink
  9. sealed trait GistOp[A] extends AnyRef

    Permalink

    Gist ops ADT

  10. class GistOps[F[_]] extends AnyRef

    Permalink

    Exposes Gists operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  11. final case class ListCommits(owner: String, repo: String, sha: Option[String] = None, path: Option[String] = None, author: Option[String] = None, since: Option[String] = None, until: Option[String] = None, pagination: Option[Pagination] = None, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[List[Commit]]] with Product with Serializable

    Permalink
  12. final case class ListContributors(owner: String, repo: String, anon: Option[String] = None, accessToken: Option[String] = None) extends RepositoryOp[GHResponse[List[User]]] with Product with Serializable

    Permalink
  13. final case class NewAuth(username: String, password: String, scopes: List[String], note: String, client_id: String, client_secret: String) extends AuthOp[GHResponse[Authorization]] with Product with Serializable

    Permalink
  14. final case class NewGist(description: String, public: Boolean, files: Map[String, GistFile], accessToken: Option[String] = None) extends GistOp[GHResponse[Gist]] with Product with Serializable

    Permalink
  15. sealed trait RepositoryOp[A] extends AnyRef

    Permalink

    Repositories ops ADT

  16. class RepositoryOps[F[_]] extends AnyRef

    Permalink

    Exposes Repositories operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

  17. sealed trait UserOp[A] extends AnyRef

    Permalink

    Users ops ADT

  18. class UserOps[F[_]] extends AnyRef

    Permalink

    Exposes Users operations as a Free monadic algebra that may be combined with other Algebras via Coproduct

Value Members

  1. object AuthOps

    Permalink

    Default implicit based DI factory from which instances of the AuthOps may be obtained

  2. object GistOps

    Permalink

    Default implicit based DI factory from which instances of the GistOps may be obtained

  3. object RepositoryOps

    Permalink

    Default implicit based DI factory from which instances of the RepositoryOps may be obtained

  4. object UserOps

    Permalink

    Default implicit based DI factory from which instances of the UserOps may be obtained

Ungrouped