package
1.0.0
Repository: https://github.com/little-bit-shy/go-xgz.git
Documentation: pkg.go.dev

# README

不确定

message SearchRequest {
string query = 1;
int32 page_number = 2;
int32 result_per_page = 3;
enum Corpus {
UNIVERSAL = 0;
WEB = 1;
IMAGES = 2;
LOCAL = 3;
NEWS = 4;
PRODUCTS = 5;
VIDEO = 6;
}
Corpus corpus = 4;
}

引用

message SearchResponse {
repeated Result results = 1;
}

message Result {
string url = 1;
string title = 2;
repeated string snippets = 3;
}

嵌套

message SearchResponse {
message Result {
string url = 1;
string title = 2;
repeated string snippets = 3;
}
repeated Result results = 1;
}
message SomeOtherMessage {
SearchResponse.Result result = 1;
}

任意类型

import "google/protobuf/any.proto";

message ErrorStatus {
string message = 1;
repeated google.protobuf.Any details = 2;
}

package foo.bar;
message Open { ... }
message Foo {
...
required foo.bar.Open open = 1;
...
}

# Functions

New new client.
No description provided by the author
RegisterAppBMServer Register the blademaster route.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedAppServer can be embedded to have forward compatible implementations.

# Interfaces

AppBMServer is the server API for App service.
AppClient is the client API for App service.
AppServer is the server API for App service.