Documentation
¶
Index ¶
- type GitHubRelease
- type Rust
- func (r *Rust) GetDefaultVersion(ctx context.Context) *core.InstalledVersion
- func (r *Rust) Install(ctx context.Context, version *core.RemoteVersion) error
- func (r *Rust) ListInstalledVersions(ctx context.Context) ([]*core.InstalledVersion, error)
- func (r *Rust) ListRemoteVersions(ctx context.Context) ([]*core.RemoteVersion, error)
- func (r *Rust) Name() string
- func (r *Rust) SetDefaultVersion(ctx context.Context, version string) error
- func (r *Rust) Uninstall(ctx context.Context, version string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubRelease ¶
type Rust ¶
type Rust struct{}
func (*Rust) GetDefaultVersion ¶
func (r *Rust) GetDefaultVersion(ctx context.Context) *core.InstalledVersion
func (*Rust) ListInstalledVersions ¶
func (*Rust) ListRemoteVersions ¶
ListRemoteVersions 获取远程Rust版本列表
func (*Rust) SetDefaultVersion ¶
Click to show internal directories.
Click to hide internal directories.