1
proto/users/v1/service.proto

27 lines
662 B
Protocol Buffer
Raw Normal View History

2023-12-28 23:45:50 +00:00
// Copyright (C) 2023 The Licensing Authors
// SPDX-License-Identifier: MIT
2023-12-28 22:50:20 +00:00
//
// 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
//
2023-12-28 23:45:50 +00:00
2023-12-28 22:50:20 +00:00
syntax = "proto3";
2023-12-28 23:45:50 +00:00
package users.v1;
2023-12-28 22:50:20 +00:00
option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1";
message SignupRequest {}
message SignupResponse {}
2023-12-28 22:55:41 +00:00
message CurrentRequest {}
2023-12-28 22:50:20 +00:00
message CurrentResponse {}
service UserService {
rpc Signup(SignupRequest) returns (SignupResponse);
2023-12-28 22:55:41 +00:00
rpc Current(CurrentRequest) returns (CurrentResponse);
2023-12-28 22:50:20 +00:00
}