v1

package
v0.2.92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_linkmetadata_api_linkmetadata_v1_linkmetadata_proto protoreflect.FileDescriptor
View Source
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 added in v0.2.11

func RegisterLinkMetadataServiceServer(s grpc.ServiceRegistrar, srv LinkMetadataServiceServer)

Types

type GetLinkMetadataRequest added in v0.2.11

type GetLinkMetadataRequest struct {
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkMetadataRequest) Descriptor deprecated added in v0.2.11

func (*GetLinkMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLinkMetadataRequest.ProtoReflect.Descriptor instead.

func (x *GetLinkMetadataRequest) GetLink() string

func (*GetLinkMetadataRequest) ProtoMessage added in v0.2.11

func (*GetLinkMetadataRequest) ProtoMessage()

func (*GetLinkMetadataRequest) ProtoReflect added in v0.2.11

func (x *GetLinkMetadataRequest) ProtoReflect() protoreflect.Message

func (*GetLinkMetadataRequest) Reset added in v0.2.11

func (x *GetLinkMetadataRequest) Reset()

func (*GetLinkMetadataRequest) String added in v0.2.11

func (x *GetLinkMetadataRequest) String() string

type GetLinkMetadataResponse added in v0.2.11

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 added in v0.2.11

func (*GetLinkMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLinkMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetLinkMetadataResponse) GetDescription added in v0.2.11

func (x *GetLinkMetadataResponse) GetDescription() string

func (*GetLinkMetadataResponse) GetHost added in v0.2.11

func (x *GetLinkMetadataResponse) GetHost() string

func (*GetLinkMetadataResponse) GetImageUrl added in v0.2.11

func (x *GetLinkMetadataResponse) GetImageUrl() string

func (*GetLinkMetadataResponse) GetTitle added in v0.2.11

func (x *GetLinkMetadataResponse) GetTitle() string

func (*GetLinkMetadataResponse) ProtoMessage added in v0.2.11

func (*GetLinkMetadataResponse) ProtoMessage()

func (*GetLinkMetadataResponse) ProtoReflect added in v0.2.11

func (x *GetLinkMetadataResponse) ProtoReflect() protoreflect.Message

func (*GetLinkMetadataResponse) Reset added in v0.2.11

func (x *GetLinkMetadataResponse) Reset()

func (*GetLinkMetadataResponse) String added in v0.2.11

func (x *GetLinkMetadataResponse) String() string

type LinkMetadataServiceClient added in v0.2.11

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 added in v0.2.11

func NewLinkMetadataServiceClient(cc grpc.ClientConnInterface) LinkMetadataServiceClient

type LinkMetadataServiceServer added in v0.2.11

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 added in v0.2.11

type UnimplementedLinkMetadataServiceServer struct {
}

UnimplementedLinkMetadataServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLinkMetadataServiceServer) GetLinkMetadata added in v0.2.12

type UnsafeLinkMetadataServiceServer added in v0.2.11

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.

Directories

Path Synopsis
Package linkmetadata_mock is a generated GoMock package.
Package linkmetadata_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL