Package-level declarations

Types

Link copied to clipboard
interface GitHub
Link copied to clipboard
interface GitHubAction<R> : Action<Result<R, RemoteFailure>>
Link copied to clipboard
abstract class GitHubWebhookAction(event: WebhookEventType, autoMarshalling: AutoMarshalling = Moshi) : Action<Result<Unit, RemoteFailure>>
Link copied to clipboard
abstract class PagedGitHubAction<ItemType : Any, PageType : Paged<Uri, ItemType>, Self : PagedGitHubAction<ItemType, PageType, Self>>(toResult: (List<ItemType>, Uri?) -> PageType, autoMarshalling: AutoMarshalling, kClass: KClass<PageType>) : AutomarshalledPagedAction<Uri, ItemType, PageType, Self> , GitHubAction<PageType>

Functions

Link copied to clipboard
fun GitHub.getAuthedUser(): Result<GitHubUser, RemoteFailure>
Link copied to clipboard
fun GitHub.getUser(user: Owner): Result<GitHubUser, RemoteFailure>
Link copied to clipboard
fun GitHub.Companion.Http(token: () -> GitHubToken, http: HttpHandler = JavaHttpClient(), authScheme: String = "token"): GitHub