Documentation ¶
Index ¶
- type Client
- func (c *Client) Cast(ctx context.Context, addr string, url string) (*Status, error)
- func (c *Client) Reset(ctx context.Context, addr string) (*Status, error)
- func (c *Client) Scan(ctx context.Context, funcs ...ScanOptionFunc) ([]*Player, error)
- func (c *Client) Status(ctx context.Context, addr string) (*Status, error)
- type HTTPOptionFunc
- type HTTPOptions
- type Player
- type ScanOptionFunc
- type ScanOptions
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type HTTPOptionFunc ¶
type HTTPOptionFunc func(opts *HTTPOptions)
type HTTPOptions ¶
func NewHTTPOptions ¶
func NewHTTPOptions(funcs ...HTTPOptionFunc) *HTTPOptions
type ScanOptionFunc ¶
type ScanOptionFunc func(opts *ScanOptions)
func WithPlayerIDs ¶
func WithPlayerIDs(ids ...string) ScanOptionFunc
type ScanOptions ¶
type ScanOptions struct {
PlayerIDs []string
}
func NewScanOptions ¶
func NewScanOptions(funcs ...ScanOptionFunc) *ScanOptions
type Status ¶
type Status = server.StatusResponse
Source Files ¶
Click to show internal directories.
Click to hide internal directories.