static_grpc_generator 0.0.1-dev copy "static_grpc_generator: ^0.0.1-dev" to clipboard
static_grpc_generator: ^0.0.1-dev copied to clipboard

outdated

A static grpc generator. Automate you grpc server for relational databases.

example/static_grpc_generator_example.dart

import 'package:static_grpc_generator/static_grpc_generator.dart';
import 'package:postgres/postgres.dart';

void main() {
  var connection = PostgreSQLConnection('192.168.1.81', 5432, 'db_teste',
      username: 'postgres', password: '1489');
  generatePgGrpcService(
    connection,
    //path: 'example/generated',
    path:
        '/Volumes/MacDocs/dev/dart/projects/upper_project_sample/lib/services/grpc_product/lib/src/',
    schemaInName: false,
    //tableName: 'product',
  );

  generatePgProto3(
    connection,
    //path: 'example/protos',
    path: '/Volumes/MacDocs/dev/dart/projects/upper_project_sample/protos/',
    schemaInName: false,
    //tableName: 'product',
  );
}
0
likes
0
points
98
downloads

Publisher

unverified uploader

Weekly Downloads

A static grpc generator. Automate you grpc server for relational databases.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

data_db, file_utils, grpc, postgres, static_grpc, static_postgres_orm, strings

More

Packages that depend on static_grpc_generator