Versions in this module Expand all Collapse all v1 v1.0.0 Nov 29, 2016 Changes in this version + func ContainingPackage(bctx *build.Context, filename string) (*build.Package, error) + func IsFileSystemRequest(method string) bool + func IsVendorDir(dir string) bool + func NewHandler() jsonrpc2.Handler + func PathHasPrefix(s, prefix string) bool + func PathTrimPrefix(s, prefix string) string + type FilterType string + const FilterDir + const FilterExported + type HandlerCommon struct + RootFSPath string + func (h *HandlerCommon) CheckReady() error + func (h *HandlerCommon) InitTracer(conn *jsonrpc2.Conn) + func (h *HandlerCommon) Reset(rootURI string) error + func (h *HandlerCommon) ShutDown() + func (h *HandlerCommon) SpanForRequest(ctx context.Context, buildOrLang string, req *jsonrpc2.Request, ...) (opentracing.Span, context.Context, error) + type HandlerShared struct + FS ctxvfs.NameSpace + Mu sync.Mutex + OverlayMountPath string + Shared bool + func (h *HandlerShared) FilePath(uri string) string + func (h *HandlerShared) HandleFileSystemRequest(ctx context.Context, req *jsonrpc2.Request) error + func (h *HandlerShared) OverlayBuildContext(ctx context.Context, orig *build.Context, useOSFileSystem bool) *build.Context + func (h *HandlerShared) Reset(overlayRootURI string, useOSFS bool) error + type InitializeBuildContextParams struct + BuildTags []string + CgoEnabled bool + Compiler string + GOARCH string + GOOS string + GOPATH string + GOROOT string + UseAllFiles bool + type InitializeParams struct + BuildContext *InitializeBuildContextParams + NoOSFileSystemAccess bool + RootImportPath string + type JSONRPC2Conn interface + Notify func(ctx context.Context, method string, params interface{}, ...) error + type LangHandler struct + func (h *LangHandler) Handle(ctx context.Context, conn JSONRPC2Conn, req *jsonrpc2.Request) (result interface{}, err error) + type Query struct + Dir string + File string + Filter FilterType + Kind lsp.SymbolKind + Tokens []string + func ParseQuery(q string) (qu Query) + func (q Query) String() string Incompatible versions in this module v2.0.0+incompatible Sep 17, 2018