mirror of https://github.com/vacp2p/dasy.git
fix
This commit is contained in:
parent
889b3a0b94
commit
c9a069e580
|
@ -1,4 +1,4 @@
|
|||
/// This package contains the implementation of a `dasy` client.
|
||||
// This package contains the implementation of a `dasy` client.
|
||||
package client
|
||||
|
||||
import (
|
||||
|
@ -8,37 +8,37 @@ import (
|
|||
|
||||
type Chat state.GroupID
|
||||
|
||||
/// The dasy client.
|
||||
// The dasy client.
|
||||
type Client struct {
|
||||
node mvds.Node
|
||||
}
|
||||
|
||||
/// Invite invites a peer to a chat.
|
||||
// Invite invites a peer to a chat.
|
||||
func (c *Client) Invite(chat Chat, peer []byte) {
|
||||
|
||||
}
|
||||
|
||||
/// Join joins a chat.
|
||||
// Join joins a chat.
|
||||
func (c *Client) Join(chat Chat) {
|
||||
|
||||
}
|
||||
|
||||
/// Leave leaves a chat.
|
||||
// Leave leaves a chat.
|
||||
func (c *Client) Leave(chat Chat) {
|
||||
|
||||
}
|
||||
|
||||
/// Kick kicks peer from a chat.
|
||||
// Kick kicks peer from a chat.
|
||||
func (c *Client) Kick(chat Chat, peer []byte) {
|
||||
|
||||
}
|
||||
|
||||
/// Ack acknowledges `Join`, `Leave` and `Kick` messages.
|
||||
// Ack acknowledges `Join`, `Leave` and `Kick` messages.
|
||||
func (c *Client) Ack(chat Chat, messageID []byte) {
|
||||
|
||||
}
|
||||
|
||||
/// Post sends a message to a chat.
|
||||
// Post sends a message to a chat.
|
||||
func (c *Client) Post(chat Chat, body []byte) {
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue