23 lines
921 B
TypeScript
23 lines
921 B
TypeScript
// AUTO-GENERATED FILE - DO NOT MODIFY DIRECTLY
|
|
// Generated by proto/build-proto.js
|
|
|
|
import { createServiceRegistry, ServiceMethodHandler, StreamingMethodHandler } from "../grpc-service"
|
|
import { StreamingResponseHandler } from "../grpc-handler"
|
|
import { registerAllMethods } from "./methods"
|
|
|
|
// Create slash service registry
|
|
const slashService = createServiceRegistry("slash")
|
|
|
|
// Export the method handler types and registration function
|
|
export type SlashMethodHandler = ServiceMethodHandler
|
|
export type SlashStreamingMethodHandler = StreamingMethodHandler
|
|
export const registerMethod = slashService.registerMethod
|
|
|
|
// Export the request handlers
|
|
export const handleSlashServiceRequest = slashService.handleRequest
|
|
export const handleSlashServiceStreamingRequest = slashService.handleStreamingRequest
|
|
export const isStreamingMethod = slashService.isStreamingMethod
|
|
|
|
// Register all slash methods
|
|
registerAllMethods()
|