Skip to content

Commit

Permalink
move gen folder in api-spec/protobuf (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
louisinger authored Feb 11, 2022
1 parent 660d1fe commit e662f74
Show file tree
Hide file tree
Showing 20 changed files with 13 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class NotificationServiceStub(object):
It offers 2 way of getting notified about events: with the help of grpc
server-side stream or by subscribing webhooks invoked whenever an event
occurs.
**************//
STREAMS //
**************//
"""

def __init__(self, channel):
Expand Down Expand Up @@ -52,6 +55,9 @@ class NotificationServiceServicer(object):
It offers 2 way of getting notified about events: with the help of grpc
server-side stream or by subscribing webhooks invoked whenever an event
occurs.
**************//
STREAMS //
**************//
"""

def TransactionNotifications(self, request, context):
Expand Down Expand Up @@ -134,6 +140,9 @@ class NotificationService(object):
It offers 2 way of getting notified about events: with the help of grpc
server-side stream or by subscribing webhooks invoked whenever an event
occurs.
**************//
STREAMS //
**************//
"""

@staticmethod
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ managed:
plugins:
# Golang
- remote: buf.build/protocolbuffers/plugins/go
out: gen/go
out: api-spec/protobuf/gen/go
opt: paths=source_relative
- remote: buf.build/grpc/plugins/go
out: gen/go
out: api-spec/protobuf/gen/go
opt: paths=source_relative,require_unimplemented_servers=false
# Python
- remote: buf.build/protocolbuffers/plugins/python
out: gen/python
out: api-spec/protobuf/gen/python
- remote: buf.build/grpc/plugins/python
out: gen/python
out: api-spec/protobuf/gen/python

0 comments on commit e662f74

Please sign in to comment.