目录
目录README.md

Kitura-Session-Kuery

Kitura-Session store using Swift-Kuery as the backing store

Mac OS X Linux MIT

Summary

Kitura-Session store using Swift-Kuery as the backing store

Table of Contents

Swift version

The latest version of Kitura-Session-Kuery requires Swift 4.0.3. You can download this version of the Swift binaries by following this link. Compatibility with other Swift versions is not guaranteed.

API

In order to use Kuery as session store, create an instance of KueryStore, and pass it to Session constructor:

import KituraSession
import KituraSessionKuery

let pool = ...
guard let connection = pool.getConnection() else {
    // Error
}

let kueryStore = KueryStore(connection: kueryConnection)
let session = Session(secret: <secret>, store: kueryStore)

License

This library is licensed under MIT. Full license text is available in LICENSE.

关于
37.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号