steve

command module
v0.0.0-...-adc1ce0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

steve

Steve generates generic gRPC APIs with database support from a protobuf inspired specification.

Protobuf limitations

  • Options in enums

##TODO

  • Use id from Meta as index
  • Determine if plural should be kept or not
  • Support
    • Repeated messages
      • SetMany
      • GetMany
      • DeleteMany
    • Streamed messages
      • StreamSet
      • StreamGet
  • Interceptors
    • JWT / oauth
    • Prometheus

Learn

Methods

Alternative 1

  • Get
  • Set
  • Delete
  1. Template protobuf files
  • Add methods
  1. Generate gRPC
  • Run protoc
  1. Template plugin
  • Add protobuf into to plugin
  1. Build shared library
  • Compile protobuf code and plugin together

  • add inotify

    • resources templates -> generated new protobuf files
    • profobuf files -> generate new stubs and new plugins
    • plugins -> try load

Configuration

steve config

  • run dir
    • generated protobuf
    • generated templates
  • plugins
  • plugin based config parsing
    • mongo parser

resource config

References

https://github.com/grpc/grpc-go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cli
pkg
cfg
pb
spb
tpl
srv
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL