Documentation
¶
Index ¶
- type Registry
- func (r *Registry) Close() error
- func (r *Registry) CreateSpace(ctx context.Context, s Space) error
- func (r *Registry) DeleteSpace(ctx context.Context, codeSpaceID string) error
- func (r *Registry) GetSpace(ctx context.Context, codeSpaceID string) (*Space, error)
- func (r *Registry) ListSpaces(ctx context.Context) ([]Space, error)
- func (r *Registry) TouchLastOpened(ctx context.Context, codeSpaceID string) error
- func (r *Registry) UpdateMeta(ctx context.Context, codeSpaceID string, name string, description string) error
- type Space
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) DeleteSpace ¶
func (*Registry) TouchLastOpened ¶
type Space ¶
type Space struct {
CodeSpaceID string `json:"code_space_id"`
WorkspacePath string `json:"workspace_path"`
Name string `json:"name"`
Description string `json:"description"`
CreatedAtUnixMs int64 `json:"created_at_unix_ms"`
UpdatedAtUnixMs int64 `json:"updated_at_unix_ms"`
LastOpenedAtUnixMs int64 `json:"last_opened_at_unix_ms"`
}
Click to show internal directories.
Click to hide internal directories.