Documentation ¶
Index ¶
- Variables
- func RegisterLinkMetaDataServiceServer(s grpc.ServiceRegistrar, srv LinkMetaDataServiceServer)
- type GetLinkMetaDataRequest
- func (*GetLinkMetaDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLinkMetaDataRequest) GetLink() string
- func (*GetLinkMetaDataRequest) ProtoMessage()
- func (x *GetLinkMetaDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetLinkMetaDataRequest) Reset()
- func (x *GetLinkMetaDataRequest) String() string
- type GetLinkMetaDataResponse
- func (*GetLinkMetaDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLinkMetaDataResponse) GetDescription() string
- func (x *GetLinkMetaDataResponse) GetHost() string
- func (x *GetLinkMetaDataResponse) GetImageUrl() string
- func (x *GetLinkMetaDataResponse) GetTitle() string
- func (*GetLinkMetaDataResponse) ProtoMessage()
- func (x *GetLinkMetaDataResponse) ProtoReflect() protoreflect.Message
- func (x *GetLinkMetaDataResponse) Reset()
- func (x *GetLinkMetaDataResponse) String() string
- type LinkMetaDataServiceClient
- type LinkMetaDataServiceServer
- type UnimplementedLinkMetaDataServiceServer
- type UnsafeLinkMetaDataServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_linkmetadata_api_linkmetadata_v1_linkmetadata_proto protoreflect.FileDescriptor
var LinkMetaDataService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "linkmetadata.v1.LinkMetaDataService", HandlerType: (*LinkMetaDataServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLinkMetaData", Handler: _LinkMetaDataService_GetLinkMetaData_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "linkmetadata-api/linkmetadata/v1/linkmetadata.proto", }
LinkMetaDataService_ServiceDesc is the grpc.ServiceDesc for LinkMetaDataService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLinkMetaDataServiceServer ¶
func RegisterLinkMetaDataServiceServer(s grpc.ServiceRegistrar, srv LinkMetaDataServiceServer)
Types ¶
type GetLinkMetaDataRequest ¶
type GetLinkMetaDataRequest struct { Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
func (*GetLinkMetaDataRequest) Descriptor
deprecated
func (*GetLinkMetaDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkMetaDataRequest.ProtoReflect.Descriptor instead.
func (*GetLinkMetaDataRequest) GetLink ¶
func (x *GetLinkMetaDataRequest) GetLink() string
func (*GetLinkMetaDataRequest) ProtoMessage ¶
func (*GetLinkMetaDataRequest) ProtoMessage()
func (*GetLinkMetaDataRequest) ProtoReflect ¶
func (x *GetLinkMetaDataRequest) ProtoReflect() protoreflect.Message
func (*GetLinkMetaDataRequest) Reset ¶
func (x *GetLinkMetaDataRequest) Reset()
func (*GetLinkMetaDataRequest) String ¶
func (x *GetLinkMetaDataRequest) String() string
type GetLinkMetaDataResponse ¶
type GetLinkMetaDataResponse struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ImageUrl string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // contains filtered or unexported fields }
func (*GetLinkMetaDataResponse) Descriptor
deprecated
func (*GetLinkMetaDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkMetaDataResponse.ProtoReflect.Descriptor instead.
func (*GetLinkMetaDataResponse) GetDescription ¶
func (x *GetLinkMetaDataResponse) GetDescription() string
func (*GetLinkMetaDataResponse) GetHost ¶
func (x *GetLinkMetaDataResponse) GetHost() string
func (*GetLinkMetaDataResponse) GetImageUrl ¶
func (x *GetLinkMetaDataResponse) GetImageUrl() string
func (*GetLinkMetaDataResponse) GetTitle ¶
func (x *GetLinkMetaDataResponse) GetTitle() string
func (*GetLinkMetaDataResponse) ProtoMessage ¶
func (*GetLinkMetaDataResponse) ProtoMessage()
func (*GetLinkMetaDataResponse) ProtoReflect ¶
func (x *GetLinkMetaDataResponse) ProtoReflect() protoreflect.Message
func (*GetLinkMetaDataResponse) Reset ¶
func (x *GetLinkMetaDataResponse) Reset()
func (*GetLinkMetaDataResponse) String ¶
func (x *GetLinkMetaDataResponse) String() string
type LinkMetaDataServiceClient ¶
type LinkMetaDataServiceClient interface {
GetLinkMetaData(ctx context.Context, in *GetLinkMetaDataRequest, opts ...grpc.CallOption) (*GetLinkMetaDataResponse, error)
}
LinkMetaDataServiceClient is the client API for LinkMetaDataService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLinkMetaDataServiceClient ¶
func NewLinkMetaDataServiceClient(cc grpc.ClientConnInterface) LinkMetaDataServiceClient
type LinkMetaDataServiceServer ¶
type LinkMetaDataServiceServer interface { GetLinkMetaData(context.Context, *GetLinkMetaDataRequest) (*GetLinkMetaDataResponse, error) // contains filtered or unexported methods }
LinkMetaDataServiceServer is the server API for LinkMetaDataService service. All implementations must embed UnimplementedLinkMetaDataServiceServer for forward compatibility
type UnimplementedLinkMetaDataServiceServer ¶
type UnimplementedLinkMetaDataServiceServer struct { }
UnimplementedLinkMetaDataServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedLinkMetaDataServiceServer) GetLinkMetaData ¶
func (UnimplementedLinkMetaDataServiceServer) GetLinkMetaData(context.Context, *GetLinkMetaDataRequest) (*GetLinkMetaDataResponse, error)
type UnsafeLinkMetaDataServiceServer ¶
type UnsafeLinkMetaDataServiceServer interface {
// contains filtered or unexported methods
}
UnsafeLinkMetaDataServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LinkMetaDataServiceServer will result in compilation errors.