Instance Propertygrpc-swift 2.0.0GRPCCodeGen
name
The name of the service.
var name: ServiceName
The name of the service.
var name: ServiceName
import GRPCCodeGen
struct ServiceDescriptor
Represents a service described in an IDL file.
struct ServiceName
init(documentation: String, name: ServiceName, methods: [MethodDescriptor])
var documentation: String
Documentation from comments above the IDL service description. It is already formatted, meaning it contains “///” and new lines.
var methods: [MethodDescriptor]
A description of each method of a service.
init(documentation: String, name: Name, namespace: Name, methods: [MethodDescriptor])