model

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenRequest

type OpenRequest struct {
	ProjectID string `json:"projectId"`
	Path      string `json:"path"`
	Line      int    `json:"line"`
	Column    int    `json:"column"`
	Origin    string `json:"origin"`
}

type PingRequest

type PingRequest struct {
	ProjectID string `json:"projectId"`
	Origin    string `json:"origin"`
}

type RegisterRequest

type RegisterRequest struct {
	SessionID   string `json:"sessionId"`
	ProjectID   string `json:"projectId"`
	RepoID      string `json:"repoId,omitempty"`
	Root        string `json:"root"`
	DisplayName string `json:"displayName"`
	Endpoint    string `json:"endpoint"`
}

type Session

type Session struct {
	SessionID   string    `json:"sessionId"`
	ProjectID   string    `json:"projectId"`
	RepoID      string    `json:"repoId,omitempty"`
	Root        string    `json:"root"`
	DisplayName string    `json:"displayName"`
	Endpoint    string    `json:"endpoint"`
	LastSeenAt  time.Time `json:"lastSeenAt"`
}

type UnregisterRequest

type UnregisterRequest struct {
	SessionID string `json:"sessionId"`
}

Jump to

Keyboard shortcuts

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