Create & Init Project...

This commit is contained in:
2019-04-22 18:49:16 +08:00
commit fc4fa37393
25440 changed files with 4054998 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
go_library(
name = "go_default_library",
srcs = ["client.go"],
importpath = "go-common/app/service/live/relation/api/liverpc",
tags = ["automanaged"],
visibility = ["//visibility:public"],
deps = [
"//app/service/live/relation/api/liverpc/v1:go_default_library",
"//app/service/live/relation/api/liverpc/v2:go_default_library",
"//library/net/rpc/liverpc:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//app/service/live/relation/api/liverpc/v1:all-srcs",
"//app/service/live/relation/api/liverpc/v2:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)

View File

@@ -0,0 +1,52 @@
// Code generated by liverpcgen, DO NOT EDIT.
// source: *.proto files under this directory
// If you want to change this file, Please see README in go-common/app/tool/liverpc/protoc-gen-liverpc/
package liverpc
import (
"go-common/app/service/live/relation/api/liverpc/v1"
"go-common/app/service/live/relation/api/liverpc/v2"
"go-common/library/net/rpc/liverpc"
)
// Client that represents a liverpc relation service api
type Client struct {
cli *liverpc.Client
// V1App presents the controller in liverpc
V1App v1.App
// V1BaseInfo presents the controller in liverpc
V1BaseInfo v1.BaseInfo
// V1Feed presents the controller in liverpc
V1Feed v1.Feed
// V2App presents the controller in liverpc
V2App v2.App
}
// DiscoveryAppId the discovery id is not the tree name
var DiscoveryAppId = "live.relation"
// New a Client that represents a liverpc live.relation service api
// conf can be empty, and it will use discovery to find service by default
// conf.AppID will be overwrite by a fixed value DiscoveryAppId
// therefore is no need to set
func New(conf *liverpc.ClientConfig) *Client {
if conf == nil {
conf = &liverpc.ClientConfig{}
}
conf.AppID = DiscoveryAppId
var realCli = liverpc.NewClient(conf)
cli := &Client{cli: realCli}
cli.clientInit(realCli)
return cli
}
func (cli *Client) GetRawCli() *liverpc.Client {
return cli.cli
}
func (cli *Client) clientInit(realCli *liverpc.Client) {
cli.V1App = v1.NewAppRpcClient(realCli)
cli.V1BaseInfo = v1.NewBaseInfoRpcClient(realCli)
cli.V1Feed = v1.NewFeedRpcClient(realCli)
cli.V2App = v2.NewAppRpcClient(realCli)
}

View File

@@ -0,0 +1,65 @@
// Code generated by protoc-gen-liverpc v0.1, DO NOT EDIT.
// source: v1/App.proto
/*
Package v1 is a generated liverpc stub package.
This code was generated with go-common/app/tool/liverpc/protoc-gen-liverpc v0.1.
It is generated from these files:
v1/App.proto
v1/BaseInfo.proto
v1/Feed.proto
*/
package v1
import context "context"
import proto "github.com/golang/protobuf/proto"
import "go-common/library/net/rpc/liverpc"
var _ proto.Message // generate to suppress unused imports
// Imports only used by utility functions:
// =============
// App Interface
// =============
type App interface {
// * 关注接口
// 【粉版APP5.31 关注排序改版】App首页我的关注部分【全量数据】
LiveHomePage(context.Context, *AppLiveHomePageReq) (*AppLiveHomePageResp, error)
}
// ===================
// App Live Rpc Client
// ===================
type appRpcClient struct {
client *liverpc.Client
}
// NewAppRpcClient creates a Rpc client that implements the App interface.
// It communicates using Rpc and can be configured with a custom HTTPClient.
func NewAppRpcClient(client *liverpc.Client) App {
return &appRpcClient{
client: client,
}
}
func (c *appRpcClient) LiveHomePage(ctx context.Context, in *AppLiveHomePageReq) (*AppLiveHomePageResp, error) {
out := new(AppLiveHomePageResp)
err := doRpcRequest(ctx, c.client, 1, "App.LiveHomePage", in, out)
if err != nil {
return nil, err
}
return out, nil
}
// =====
// Utils
// =====
func doRpcRequest(ctx context.Context, client *liverpc.Client, version int, method string, in, out proto.Message) (err error) {
err = client.Call(ctx, version, method, in, out)
return
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,99 @@
syntax = "proto3";
package relation.v1;
option go_package = "v1";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
service App {
/** 关注接口
* 【粉版APP5.31 关注排序改版】App首页我的关注部分【全量数据】
*/
rpc LiveHomePage (AppLiveHomePageReq) returns (AppLiveHomePageResp);
}
message AppLiveHomePageReq {
// 页号
int64 relation_page = 1 [(gogoproto.jsontag) = "relation_page"];
}
message AppLiveHomePageResp {
//
int64 code = 1 [(gogoproto.jsontag) = "code"];
//
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
string message = 3 [(gogoproto.jsontag) = "message"];
//
Data data = 4 [(gogoproto.jsontag) = "data"];
message Rooms {
//
int64 roomid = 1 [(gogoproto.jsontag) = "roomid"];
//
int64 uid = 2 [(gogoproto.jsontag) = "uid"];
//
string uname = 3 [(gogoproto.jsontag) = "uname"];
//
string face = 4 [(gogoproto.jsontag) = "face"];
//
string cover = 5 [(gogoproto.jsontag) = "cover"];
//
string title = 6 [(gogoproto.jsontag) = "title"];
//
int64 area = 7 [(gogoproto.jsontag) = "area"];
//
int64 live_time = 8 [(gogoproto.jsontag) = "live_time"];
//
string area_name = 9 [(gogoproto.jsontag) = "area_name"];
//
int64 area_v2_id = 10 [(gogoproto.jsontag) = "area_v2_id"];
//
string area_v2_name = 11 [(gogoproto.jsontag) = "area_v2_name"];
//
string area_v2_parent_name = 12 [(gogoproto.jsontag) = "area_v2_parent_name"];
//
int64 area_v2_parent_id = 13 [(gogoproto.jsontag) = "area_v2_parent_id"];
//
string live_tag_name = 14 [(gogoproto.jsontag) = "live_tag_name"];
//
int64 online = 15 [(gogoproto.jsontag) = "online"];
//
string playurl = 16 [(gogoproto.jsontag) = "playurl"];
//
repeated int64 accept_quality = 17 [(gogoproto.jsontag) = "accept_quality"];
//
int64 current_quality = 18 [(gogoproto.jsontag) = "current_quality"];
//
int64 pk_id = 19 [(gogoproto.jsontag) = "pk_id"];
//
int64 official_verify = 20 [(gogoproto.jsontag) = "official_verify"];
//
string link = 21 [(gogoproto.jsontag) = "link"];
//
int64 special_attention = 22 [(gogoproto.jsontag) = "special_attention"];
//
int64 broadcast_type = 23 [(gogoproto.jsontag) = "broadcast_type"];
}
message Data {
//
int64 total_count = 1 [(gogoproto.jsontag) = "total_count"];
//
int64 card_type = 2 [(gogoproto.jsontag) = "card_type"];
//
int64 big_card_type = 3 [(gogoproto.jsontag) = "big_card_type"];
//
string time_desc = 4 [(gogoproto.jsontag) = "time_desc"];
//
string uname_desc = 5 [(gogoproto.jsontag) = "uname_desc"];
//
string tags_desc = 6 [(gogoproto.jsontag) = "tags_desc"];
//
repeated Rooms rooms = 7 [(gogoproto.jsontag) = "rooms"];
}
}

View File

@@ -0,0 +1,64 @@
load(
"@io_bazel_rules_go//proto:def.bzl",
"go_proto_library",
)
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
proto_library(
name = "v1_proto",
srcs = [
"App.proto",
"BaseInfo.proto",
"Feed.proto",
],
tags = ["automanaged"],
deps = ["@gogo_special_proto//github.com/gogo/protobuf/gogoproto"],
)
go_proto_library(
name = "v1_go_proto",
compilers = ["@io_bazel_rules_go//proto:gogofast_grpc"],
importpath = "go-common/app/service/live/relation/api/liverpc/v1",
proto = ":v1_proto",
tags = ["automanaged"],
deps = ["@com_github_gogo_protobuf//gogoproto:go_default_library"],
)
go_library(
name = "go_default_library",
srcs = [
"App.liverpc.go",
"BaseInfo.liverpc.go",
"Feed.liverpc.go",
],
embed = [":v1_go_proto"],
importpath = "go-common/app/service/live/relation/api/liverpc/v1",
tags = ["automanaged"],
visibility = ["//visibility:public"],
deps = [
"//library/net/rpc/liverpc:go_default_library",
"@com_github_gogo_protobuf//gogoproto:go_default_library",
"@com_github_gogo_protobuf//proto:go_default_library",
"@com_github_golang_protobuf//proto:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)

View File

@@ -0,0 +1,59 @@
// Code generated by protoc-gen-liverpc v0.1, DO NOT EDIT.
// source: v1/BaseInfo.proto
package v1
import context "context"
import proto "github.com/golang/protobuf/proto"
import "go-common/library/net/rpc/liverpc"
var _ proto.Message // generate to suppress unused imports
// ==================
// BaseInfo Interface
// ==================
type BaseInfo interface {
// * uid获取关注列表和粉丝数
//
GetFollowType(context.Context, *BaseInfoGetFollowTypeReq) (*BaseInfoGetFollowTypeResp, error)
// * uid获取最近30天送礼数据
//
GetGiftInfo(context.Context, *BaseInfoGetGiftInfoReq) (*BaseInfoGetGiftInfoResp, error)
}
// ========================
// BaseInfo Live Rpc Client
// ========================
type baseInfoRpcClient struct {
client *liverpc.Client
}
// NewBaseInfoRpcClient creates a Rpc client that implements the BaseInfo interface.
// It communicates using Rpc and can be configured with a custom HTTPClient.
func NewBaseInfoRpcClient(client *liverpc.Client) BaseInfo {
return &baseInfoRpcClient{
client: client,
}
}
func (c *baseInfoRpcClient) GetFollowType(ctx context.Context, in *BaseInfoGetFollowTypeReq) (*BaseInfoGetFollowTypeResp, error) {
out := new(BaseInfoGetFollowTypeResp)
err := doRpcRequest(ctx, c.client, 1, "BaseInfo.getFollowType", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *baseInfoRpcClient) GetGiftInfo(ctx context.Context, in *BaseInfoGetGiftInfoReq) (*BaseInfoGetGiftInfoResp, error) {
out := new(BaseInfoGetGiftInfoResp)
err := doRpcRequest(ctx, c.client, 1, "BaseInfo.getGiftInfo", in, out)
if err != nil {
return nil, err
}
return out, nil
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,66 @@
syntax = "proto3";
package relation.v1;
option go_package = "v1";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
service BaseInfo {
/** uid获取关注列表和粉丝数
*
*/
rpc getFollowType (BaseInfoGetFollowTypeReq) returns (BaseInfoGetFollowTypeResp);
/** uid获取最近30天送礼数据
*
*/
rpc getGiftInfo (BaseInfoGetGiftInfoReq) returns (BaseInfoGetGiftInfoResp);
}
message BaseInfoGetFollowTypeReq {
}
message BaseInfoGetFollowTypeResp {
//
int64 code = 1 [(gogoproto.jsontag) = "code"];
//
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
map<int64, UidInfo> data = 3 [(gogoproto.jsontag) = "data"];
message UidInfo {
// 用户uid
int64 mid = 1 [(gogoproto.jsontag) = "mid"];
// 关注类型
int64 attribute = 2 [(gogoproto.jsontag) = "attribute"];
// 是否特别关注
int64 special = 3 [(gogoproto.jsontag) = "special"];
}
}
message BaseInfoGetGiftInfoReq {
}
message BaseInfoGetGiftInfoResp {
//
int64 code = 1 [(gogoproto.jsontag) = "code"];
//
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
map<int64, UidInfo> data = 3 [(gogoproto.jsontag) = "data"];
message UidInfo {
// 用户uid
int64 mid = 1 [(gogoproto.jsontag) = "mid"];
// 金瓜子数
int64 gold = 2 [(gogoproto.jsontag) = "gold"];
}
}

View File

@@ -0,0 +1,72 @@
// Code generated by protoc-gen-liverpc v0.1, DO NOT EDIT.
// source: v1/Feed.proto
package v1
import context "context"
import proto "github.com/golang/protobuf/proto"
import "go-common/library/net/rpc/liverpc"
var _ proto.Message // generate to suppress unused imports
// ==============
// Feed Interface
// ==============
type Feed interface {
// * 获取粉丝数
// 根据uid获取用户的粉丝数
GetUserFc(context.Context, *FeedGetUserFcReq) (*FeedGetUserFcResp, error)
// * 获取粉丝数
// 根据uid批量获取用户的粉丝数
GetUserFcBatch(context.Context, *FeedGetUserFcBatchReq) (*FeedGetUserFcBatchResp, error)
// * 获取关注列表
// 根据uid获取用户的关注列表
GetAttentionList(context.Context, *FeedGetAttentionListReq) (*FeedGetAttentionListResp, error)
}
// ====================
// Feed Live Rpc Client
// ====================
type feedRpcClient struct {
client *liverpc.Client
}
// NewFeedRpcClient creates a Rpc client that implements the Feed interface.
// It communicates using Rpc and can be configured with a custom HTTPClient.
func NewFeedRpcClient(client *liverpc.Client) Feed {
return &feedRpcClient{
client: client,
}
}
func (c *feedRpcClient) GetUserFc(ctx context.Context, in *FeedGetUserFcReq) (*FeedGetUserFcResp, error) {
out := new(FeedGetUserFcResp)
err := doRpcRequest(ctx, c.client, 1, "Feed.GetUserFc", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *feedRpcClient) GetUserFcBatch(ctx context.Context, in *FeedGetUserFcBatchReq) (*FeedGetUserFcBatchResp, error) {
out := new(FeedGetUserFcBatchResp)
err := doRpcRequest(ctx, c.client, 1, "Feed.GetUserFcBatch", in, out)
if err != nil {
return nil, err
}
return out, nil
}
func (c *feedRpcClient) GetAttentionList(ctx context.Context, in *FeedGetAttentionListReq) (*FeedGetAttentionListResp, error) {
out := new(FeedGetAttentionListResp)
err := doRpcRequest(ctx, c.client, 1, "Feed.get_attention_list", in, out)
if err != nil {
return nil, err
}
return out, nil
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,96 @@
syntax = "proto3";
package relation.v1;
option go_package = "v1";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
service Feed {
/** 获取粉丝数
* 根据uid获取用户的粉丝数
*/
rpc GetUserFc (FeedGetUserFcReq) returns (FeedGetUserFcResp);
/** 获取粉丝数
* 根据uid批量获取用户的粉丝数
*/
rpc GetUserFcBatch (FeedGetUserFcBatchReq) returns (FeedGetUserFcBatchResp);
/** 获取关注列表
* 根据uid获取用户的关注列表
*/
rpc get_attention_list (FeedGetAttentionListReq) returns (FeedGetAttentionListResp);
}
message FeedGetUserFcReq {
// 用户uid
int64 follow = 1 [(gogoproto.jsontag) = "follow"];
}
message FeedGetUserFcResp {
//
int64 code = 1 [(gogoproto.jsontag) = "code"];
//
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
string message = 3 [(gogoproto.jsontag) = "message"];
//
Data data = 4 [(gogoproto.jsontag) = "data"];
message Data {
//
int64 fc = 1 [(gogoproto.jsontag) = "fc"];
}
}
message FeedGetUserFcBatchReq {
// 用户uid
repeated int64 uids = 1 [(gogoproto.jsontag) = "uids"];
}
message FeedGetUserFcBatchResp {
//
int64 code = 1 [(gogoproto.jsontag) = "code"];
//
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
string message = 3 [(gogoproto.jsontag) = "message"];
//
map<int64, RelationList> data = 4 [(gogoproto.jsontag) = "data"];
message RelationList {
//
int64 uid = 1 [(gogoproto.jsontag) = "uid"];
//
int64 fc = 2 [(gogoproto.jsontag) = "fc"];
}
}
message FeedGetAttentionListReq {
// 用户uid
int64 uid = 1 [(gogoproto.jsontag) = "uid"];
}
message FeedGetAttentionListResp {
//
int64 code = 1 [(gogoproto.jsontag) = "code"];
//
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
string message = 3 [(gogoproto.jsontag) = "message"];
//
Data data = 4 [(gogoproto.jsontag) = "data"];
message Data {
//
repeated string list = 1 [(gogoproto.jsontag) = "list"];
}
}

View File

@@ -0,0 +1,63 @@
// Code generated by protoc-gen-liverpc v0.1, DO NOT EDIT.
// source: v2/App.proto
/*
Package v2 is a generated liverpc stub package.
This code was generated with go-common/app/tool/liverpc/protoc-gen-liverpc v0.1.
It is generated from these files:
v2/App.proto
*/
package v2
import context "context"
import proto "github.com/golang/protobuf/proto"
import "go-common/library/net/rpc/liverpc"
var _ proto.Message // generate to suppress unused imports
// Imports only used by utility functions:
// =============
// App Interface
// =============
type App interface {
// * 关注接口
// 【粉版APP5.33 关注排序改版】App首页我的关注部分【全量数据】
LiveHomePage(context.Context, *AppLiveHomePageReq) (*AppLiveHomePageResp, error)
}
// ===================
// App Live Rpc Client
// ===================
type appRpcClient struct {
client *liverpc.Client
}
// NewAppRpcClient creates a Rpc client that implements the App interface.
// It communicates using Rpc and can be configured with a custom HTTPClient.
func NewAppRpcClient(client *liverpc.Client) App {
return &appRpcClient{
client: client,
}
}
func (c *appRpcClient) LiveHomePage(ctx context.Context, in *AppLiveHomePageReq) (*AppLiveHomePageResp, error) {
out := new(AppLiveHomePageResp)
err := doRpcRequest(ctx, c.client, 2, "App.LiveHomePage", in, out)
if err != nil {
return nil, err
}
return out, nil
}
// =====
// Utils
// =====
func doRpcRequest(ctx context.Context, client *liverpc.Client, version int, method string, in, out proto.Message) (err error) {
err = client.Call(ctx, version, method, in, out)
return
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,107 @@
syntax = "proto3";
package relation.v2;
option go_package = "v2";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
service App {
/** 关注接口
* 【粉版APP5.33 关注排序改版】App首页我的关注部分【全量数据】
*/
rpc LiveHomePage (AppLiveHomePageReq) returns (AppLiveHomePageResp);
}
message AppLiveHomePageReq {
// 页号
int64 relation_page = 1 [(gogoproto.jsontag) = "relation_page"];
}
message AppLiveHomePageResp {
//
int64 code = 1 [(gogoproto.jsontag) = "code"];
//
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
string message = 3 [(gogoproto.jsontag) = "message"];
//
Data data = 4 [(gogoproto.jsontag) = "data"];
message Rooms {
//
int64 roomid = 1 [(gogoproto.jsontag) = "roomid"];
//
int64 uid = 2 [(gogoproto.jsontag) = "uid"];
//
string uname = 3 [(gogoproto.jsontag) = "uname"];
//
string face = 4 [(gogoproto.jsontag) = "face"];
//
string cover = 5 [(gogoproto.jsontag) = "cover"];
//
string title = 6 [(gogoproto.jsontag) = "title"];
//
int64 area = 7 [(gogoproto.jsontag) = "area"];
//
string live_time = 8 [(gogoproto.jsontag) = "live_time"];
//
string area_name = 9 [(gogoproto.jsontag) = "area_name"];
//
int64 area_v2_id = 10 [(gogoproto.jsontag) = "area_v2_id"];
//
string area_v2_name = 11 [(gogoproto.jsontag) = "area_v2_name"];
//
string area_v2_parent_name = 12 [(gogoproto.jsontag) = "area_v2_parent_name"];
//
int64 area_v2_parent_id = 13 [(gogoproto.jsontag) = "area_v2_parent_id"];
//
string live_tag_name = 14 [(gogoproto.jsontag) = "live_tag_name"];
//
int64 online = 15 [(gogoproto.jsontag) = "online"];
//
string play_url = 16 [(gogoproto.jsontag) = "play_url"];
//
string play_url_h265 = 17 [(gogoproto.jsontag) = "play_url_h265"];
//
repeated int64 accept_quality = 18 [(gogoproto.jsontag) = "accept_quality"];
//
int64 current_quality = 19 [(gogoproto.jsontag) = "current_quality"];
//
int64 pk_id = 20 [(gogoproto.jsontag) = "pk_id"];
//
int64 official_verify = 21 [(gogoproto.jsontag) = "official_verify"];
//
string link = 22 [(gogoproto.jsontag) = "link"];
//
int64 special_attention = 23 [(gogoproto.jsontag) = "special_attention"];
//
string pendent_ru = 24 [(gogoproto.jsontag) = "pendent_ru"];
//
string pendent_ru_pic = 25 [(gogoproto.jsontag) = "pendent_ru_pic"];
//
string pendent_ru_color = 26 [(gogoproto.jsontag) = "pendent_ru_color"];
}
message Data {
//
int64 total_count = 1 [(gogoproto.jsontag) = "total_count"];
//
int64 card_type = 2 [(gogoproto.jsontag) = "card_type"];
//
int64 big_card_type = 3 [(gogoproto.jsontag) = "big_card_type"];
//
string time_desc = 4 [(gogoproto.jsontag) = "time_desc"];
//
string uname_desc = 5 [(gogoproto.jsontag) = "uname_desc"];
//
string tags_desc = 6 [(gogoproto.jsontag) = "tags_desc"];
//
int64 relation_page = 7 [(gogoproto.jsontag) = "relation_page"];
//
repeated Rooms rooms = 8 [(gogoproto.jsontag) = "rooms"];
}
}

View File

@@ -0,0 +1,56 @@
load(
"@io_bazel_rules_go//proto:def.bzl",
"go_proto_library",
)
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
proto_library(
name = "v2_proto",
srcs = ["App.proto"],
tags = ["automanaged"],
deps = ["@gogo_special_proto//github.com/gogo/protobuf/gogoproto"],
)
go_proto_library(
name = "v2_go_proto",
compilers = ["@io_bazel_rules_go//proto:gogofast_grpc"],
importpath = "go-common/app/service/live/relation/api/liverpc/v2",
proto = ":v2_proto",
tags = ["automanaged"],
deps = ["@com_github_gogo_protobuf//gogoproto:go_default_library"],
)
go_library(
name = "go_default_library",
srcs = ["App.liverpc.go"],
embed = [":v2_go_proto"],
importpath = "go-common/app/service/live/relation/api/liverpc/v2",
tags = ["automanaged"],
visibility = ["//visibility:public"],
deps = [
"//library/net/rpc/liverpc:go_default_library",
"@com_github_gogo_protobuf//gogoproto:go_default_library",
"@com_github_gogo_protobuf//proto:go_default_library",
"@com_github_golang_protobuf//proto:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)