package
0.0.0-20230816073800-5da36973e672
Repository: https://github.com/lc-1010/oneblogservice.git
Documentation: pkg.go.dev

# README

protoc

protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative

增加双端口

需要将googleapis下载到本地使用

tree proto 
proto
├── common.pb.go
├── common.proto
├── google
│   └── api
│       ├── annotations.proto
│       └── http.proto
├── readme.md
├── tag.pb.go
├── tag.pb.gw.go
├── tag.proto
└── tag_grpc.pb.go
 protoc -I ./proto/ \
 -I $GOPATH/src \
  --go_out ./proto --go_opt paths=source_relative \
  --go-grpc_out ./proto --go-grpc_opt paths=source_relative \
  --grpc-gateway_out ./proto --grpc-gateway_opt paths=source_relative \
./proto/*.proto
``` 

# Functions

No description provided by the author
RegisterTagServiceHandler registers the http handlers for service TagService to "mux".
RegisterTagServiceHandlerClient registers the http handlers for service TagService to "mux".
RegisterTagServiceHandlerFromEndpoint is same as RegisterTagServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterTagServiceHandlerServer registers the http handlers for service TagService to "mux".
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
TagService_ServiceDesc is the grpc.ServiceDesc for TagService service.

# 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
No description provided by the author
UnimplementedTagServiceServer must be embedded to have forward compatible implementations.

# Interfaces

TagServiceClient is the client API for TagService service.
TagServiceServer is the server API for TagService service.
UnsafeTagServiceServer may be embedded to opt out of forward compatibility for this service.