27 lines
662 B
Protocol Buffer
27 lines
662 B
Protocol Buffer
// Copyright (C) 2023 The Licensing Authors
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
//
|
|
// 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 users.v1;
|
|
|
|
option go_package = "code.pitz.tech/licensing/api-go/users/v1;usersv1";
|
|
|
|
message SignupRequest {}
|
|
message SignupResponse {}
|
|
|
|
message CurrentRequest {}
|
|
message CurrentResponse {}
|
|
|
|
service UserService {
|
|
rpc Signup(SignupRequest) returns (SignupResponse);
|
|
rpc Current(CurrentRequest) returns (CurrentResponse);
|
|
}
|