libsql
Types
pub type Authority {
Authority(
host: String,
port: Option(Int),
user_info: Option(UserInfo),
)
}
Constructors
-
Authority( host: String, port: Option(Int), user_info: Option(UserInfo), )
pub type Config {
Config(
tls: Bool,
url: String,
auth_token: Option(String),
authority: Option(Authority),
)
}
Constructors
-
Config( tls: Bool, url: String, auth_token: Option(String), authority: Option(Authority), )
Functions
pub fn create_client(config: Config) -> Result(Client, Nil)