From 20ec3a02c82816c69e5bd7cd84b5a158500c0c28 Mon Sep 17 00:00:00 2001 From: mya Date: Thu, 28 Dec 2023 16:50:20 -0600 Subject: [PATCH] initial --- licensing/contributors/v1/service.proto | 15 +++++++++++++++ licensing/licenses/v1/service.proto | 15 +++++++++++++++ licensing/packages/v1/service.proto | 15 +++++++++++++++ licensing/products/v1/service.proto | 15 +++++++++++++++ licensing/users/v1/service.proto | 24 ++++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 licensing/contributors/v1/service.proto create mode 100644 licensing/licenses/v1/service.proto create mode 100644 licensing/packages/v1/service.proto create mode 100644 licensing/products/v1/service.proto create mode 100644 licensing/users/v1/service.proto diff --git a/licensing/contributors/v1/service.proto b/licensing/contributors/v1/service.proto new file mode 100644 index 0000000..49b2d5c --- /dev/null +++ b/licensing/contributors/v1/service.proto @@ -0,0 +1,15 @@ +// +// This file attempts to follow common styles and design patterns described by +// Google Cloud based on their extensive use of protocol buffers. +// +// - See here for more: https://cloud.google.com/apis/design/design_patterns +// +syntax = "proto3"; + +package licensing.contributors.v1; + +option go_package = "code.pitz.tech/licensing/api-go/contributors/v1;contributorsv1"; + +service ContributorService { + +} diff --git a/licensing/licenses/v1/service.proto b/licensing/licenses/v1/service.proto new file mode 100644 index 0000000..ece7060 --- /dev/null +++ b/licensing/licenses/v1/service.proto @@ -0,0 +1,15 @@ +// +// This file attempts to follow common styles and design patterns described by +// Google Cloud based on their extensive use of protocol buffers. +// +// - See here for more: https://cloud.google.com/apis/design/design_patterns +// +syntax = "proto3"; + +package licensing.licenses.v1; + +option go_package = "code.pitz.tech/licensing/api-go/licenses/v1;licensesv1"; + +service LicenseService { + +} diff --git a/licensing/packages/v1/service.proto b/licensing/packages/v1/service.proto new file mode 100644 index 0000000..195cc59 --- /dev/null +++ b/licensing/packages/v1/service.proto @@ -0,0 +1,15 @@ +// +// This file attempts to follow common styles and design patterns described by +// Google Cloud based on their extensive use of protocol buffers. +// +// - See here for more: https://cloud.google.com/apis/design/design_patterns +// +syntax = "proto3"; + +package licensing.packages.v1; + +option go_package = "code.pitz.tech/licensing/api-go/packages/v1;packagesv1"; + +service PackageService { + +} diff --git a/licensing/products/v1/service.proto b/licensing/products/v1/service.proto new file mode 100644 index 0000000..3f3115e --- /dev/null +++ b/licensing/products/v1/service.proto @@ -0,0 +1,15 @@ +// +// This file attempts to follow common styles and design patterns described by +// Google Cloud based on their extensive use of protocol buffers. +// +// - See here for more: https://cloud.google.com/apis/design/design_patterns +// +syntax = "proto3"; + +package licensing.products.v1; + +option go_package = "code.pitz.tech/licensing/api-go/products/v1;productsv1"; + +service ProductService { + +} diff --git a/licensing/users/v1/service.proto b/licensing/users/v1/service.proto new file mode 100644 index 0000000..b870638 --- /dev/null +++ b/licensing/users/v1/service.proto @@ -0,0 +1,24 @@ +// +// This file attempts to follow common styles and design patterns described by +// Google Cloud based on their extensive use of protocol buffers. +// +// - See here for more: https://cloud.google.com/apis/design/design_patterns +// +syntax = "proto3"; + +package licensing.users.v1; + +option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1"; + +import "google/protobuf/empty.proto"; + +message SignupRequest {} +message SignupResponse {} + +message CurrentResponse {} + +service UserService { + rpc Signup(SignupRequest) returns (SignupResponse); + + rpc Current(google.protobuf.Empty) returns (CurrentResponse); +}