mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
12 lines
315 B
TypeScript
12 lines
315 B
TypeScript
import Server, { ServerOptions } from "./server";
|
|
|
|
/**
|
|
* Create a Coral Server.
|
|
*
|
|
* @param options ServerOptions that will be used to configure Coral.
|
|
*/
|
|
export default function createCoral(options: ServerOptions = {}): Server {
|
|
// Create the server with the provided options.
|
|
return new Server(options);
|
|
}
|