config

fun config(baseUrl: String, token: String, others: GitlabContext.() -> Unit = { })

Config

Receiver

GitlabContext, token, url and other configurations management

Parameters

baseUrl

base url for api request

token

gitlab token for api request header, must be provided

others

other configurations, e.g. logging