protocol

package
v0.0.0-...-a0a84a9 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2018 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangedEvent

type ChangedEvent struct{}

func (ChangedEvent) Data

func (t ChangedEvent) Data() string

func (ChangedEvent) Event

func (t ChangedEvent) Event() string

func (ChangedEvent) Id

func (t ChangedEvent) Id() string

type ErrorRequest

type ErrorRequest struct {
	Error string `json:"error"`
}

type FetchRequest

type FetchRequest struct {
	SrcID  SrcID
	Cached []FileID
}

type FetchResponse

type FetchResponse struct {
	Files    map[string]FileID
	Contents map[FileID][]byte
	Error    string
}

type FileID

type FileID string

type SrcID

type SrcID struct {
	ImportPath   string
	IncludeTests bool
}

Jump to

Keyboard shortcuts

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