server

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable(ctx context.Context, docker docker.Client, serverNames []string) error

func Enable

func Enable(ctx context.Context, docker docker.Client, serverNames []string) error

func List

func List(ctx context.Context, docker docker.Client) ([]string, error)

Types

type Info

type Info struct {
	Tools  []any  `json:"tools"`
	Readme string `json:"readme"`
}

func Inspect

func Inspect(ctx context.Context, serverName string) (Info, error)

func (Info) ToJSON

func (s Info) ToJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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