Instance Propertygrpc-swift 2.0.0GRPCCodeGen
accessLevel
The access level the generated code will have.
var accessLevel: AccessLevel
The access level the generated code will have.
var accessLevel: AccessLevel
s11GRPCCodeGen13CodeGeneratorV6ConfigV11accessLevelAE06AccessG0Vvp
What are these?9OYII
import GRPCCodeGen
struct Config
User options for the CodeGeneration.
struct CodeGenerator
Generates SourceFile
objects containing generated code for the RPCs represented in a CodeGenerationRequest
object.
struct AccessLevel
The possible access levels for the generated code.
init(accessLevel: AccessLevel, accessLevelOnImports: Bool, client: Bool, server: Bool, indentation: Int = 4)
Creates a new configuration.
var accessLevelOnImports: Bool
Whether imports have explicit access levels.
var client: Bool
Whether or not client code should be generated.
var indentation: Int
The indentation of the generated code as the number of spaces.
var server: Bool
Whether or not server code should be generated.