From dc819093234ba21ec6ccdd8ed94f01ba1648154e Mon Sep 17 00:00:00 2001
From: a <a@tuxpa.in>
Date: Mon, 26 Jun 2023 18:30:34 -0500
Subject: [PATCH] ok

---
 exports.go | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/exports.go b/exports.go
index 0d4f7cc..d4361dc 100644
--- a/exports.go
+++ b/exports.go
@@ -23,6 +23,8 @@ type (
 	StreamingConn = codec.Conn
 	// Request is the request object
 	Request = codec.Request
+	// Server is a jrpc server
+	Server = server.Server
 )
 type (
 	// BatchElem is an element of a batch request
@@ -31,6 +33,9 @@ type (
 
 var (
 
+	// NewServer creates a jrpc server
+	NewServer = server.NewServer
+
 	// DialContext is to dial a conn with context
 	DialContext = codecs.DialContext
 	// Dial is to dial a conn with context.Background()
-- 
GitLab