Skip to content

Commit 9371a91

Browse files
committed
Add Go package options to proto files for core and gate entities
1 parent 9d257c2 commit 9371a91

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tcnapi/exile/core/v2/entities.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ syntax = "proto3";
1717
// This package contains the core entities for the Exile system.
1818
package tcnapi.exile.core.v2;
1919

20+
option go_package = "github.com/tcncloud/tcnapi/exile/core/v2;corev2";
21+
2022
message Pool {
2123
string pool_id = 1;
2224
string description = 2;

tcnapi/exile/gate/v2/entities.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ package tcnapi.exile.gate.v2;
1818

1919
import "google/protobuf/struct.proto";
2020
import "google/protobuf/timestamp.proto";
21-
import "google/protobuf/wrappers.proto";
22-
import "tcnapi/exile/core/v2/entities.proto";
21+
22+
option go_package = "github.com/tcncloud/exileapi/tcnapi/exile/gate/v2;gatev2";
2323

2424
message ExileAgentCall {
2525
int64 agent_call_sid = 1;

tcnapi/exile/gate/v2/public.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ import "google/protobuf/wrappers.proto";
3333
import "tcnapi/exile/core/v2/entities.proto";
3434
import "tcnapi/exile/gate/v2/entities.proto";
3535

36+
option go_package = "github.com/tcncloud/exileapi/tcnapi/exile/gate/v2;gatev2";
37+
3638
/**
3739
* The GateService provides a set of RPCs for the Exile Gate service.
3840
* The service requires mTLS authentication for secure client-server communications.

0 commit comments

Comments
 (0)