mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-15 08:30:36 +03:00
22 lines
318 B
Go
22 lines
318 B
Go
package sshchat
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/shazow/ssh-chat/chat"
|
|
"github.com/shazow/ssh-chat/chat/message"
|
|
"github.com/shazow/ssh-chat/sshd"
|
|
)
|
|
|
|
type Client struct {
|
|
user chat.Member
|
|
conn sshd.Connection
|
|
|
|
timestamp time.Time
|
|
}
|
|
|
|
type Replier interface {
|
|
ReplyTo() message.Author
|
|
SetReplyTo(message.Author)
|
|
}
|