diskwriter

package
v0.0.0-...-377ab0e Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Directory string

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(g *group.Group) *Client

func (*Client) Addr

func (client *Client) Addr() net.Addr

func (*Client) Close

func (client *Client) Close() error

func (*Client) Data

func (client *Client) Data() map[string]interface{}

func (*Client) Group

func (client *Client) Group() *group.Group

func (*Client) Id

func (client *Client) Id() string

func (*Client) Joined

func (client *Client) Joined(group, kind string) error

func (*Client) Kick

func (client *Client) Kick(id string, user *string, message string) error

func (*Client) Permissions

func (client *Client) Permissions() []string

func (*Client) PushClient

func (client *Client) PushClient(group, kind, id, username string, perms []string, data map[string]interface{}) error

func (*Client) PushConn

func (client *Client) PushConn(g *group.Group, id string, up conn.Up, tracks []conn.UpTrack, replace string) error

func (*Client) RequestConns

func (client *Client) RequestConns(target group.Client, g *group.Group, id string) error

func (*Client) SetPermissions

func (client *Client) SetPermissions(perms []string)

func (*Client) SetUsername

func (client *Client) SetUsername(string)

func (*Client) Username

func (client *Client) Username() string

Jump to

Keyboard shortcuts

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