link

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0, NCSA Imports: 19 Imported by: 0

Documentation

Overview

Package link implements the link resolver service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	Client interface {
		CrossReferences(context.Context, *xpb.CrossReferencesRequest) (*xpb.CrossReferencesReply, error)
		Find(context.Context, *ipb.FindRequest) (*ipb.FindReply, error)
	}
}

A Resolver implements the link service resolver by dispatching to a Kythe XRefService and IdentifierService to resolve qualified names.

func (*Resolver) Resolve

func (s *Resolver) Resolve(ctx context.Context, req *linkpb.LinkRequest) (*linkpb.LinkReply, error)

Resolve implements the internals of the resolve method.

Jump to

Keyboard shortcuts

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