Http4sGrpcCodeGenerator

nscn.polaris2.mill.generator.Http4sGrpcCodeGenerator
object Http4sGrpcCodeGenerator extends CodeGenApp

Ported from org.http4s.grpc.generator.Http4sGrpcCodeGenerator (http4s-grpc).

This is a plain protocbridge.ProtocCodeGenerator, so it is usable both in-process (how nscn.polaris2.mill.Http4sGrpcModule drives it) and as a standalone protoc plugin via its inherited main.

Attributes

Graph
Supertypes
trait CodeGenApp
trait ProtocCodeGenerator
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def generateServiceFiles(file: FileDescriptor, di: DescriptorImplicits): Seq[File]
def process(request: CodeGenRequest): CodeGenResponse
override def registerExtensions(registry: ExtensionRegistry): Unit

Attributes

Definition Classes
CodeGenApp

Inherited methods

final def main(args: Array[String]): Unit

Attributes

Inherited from:
CodeGenApp
final def run(input: CodedInputStream): Array[Byte]

Attributes

Inherited from:
CodeGenApp
final override def run(req: Array[Byte]): Array[Byte]

Attributes

Definition Classes
CodeGenApp -> ProtocCodeGenerator
Inherited from:
CodeGenApp
def suggestedDependencies: Seq[Artifact]

Attributes

Inherited from:
ProtocCodeGenerator

Concrete fields

val generatorName: String

The name protoc knows this generator by, i.e. --scala-http4s-grpc_out.

The name protoc knows this generator by, i.e. --scala-http4s-grpc_out.

Attributes