summaryrefslogtreecommitdiff
path: root/buddy.go
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2014-03-24 20:53:46 +0100
committerKevin Chabowski <kevin@kch42.de>2014-03-24 20:53:46 +0100
commitef1ba61ca79e8348d782a3298fcbd97a0bdb7dc5 (patch)
tree74d2bf499fb116da1a22de1f79256530f5d7b79a /buddy.go
parent79fed0e58753d50c613d15589b8f687474c2224c (diff)
downloadsimplechat-ef1ba61ca79e8348d782a3298fcbd97a0bdb7dc5.tar.gz
simplechat-ef1ba61ca79e8348d782a3298fcbd97a0bdb7dc5.tar.bz2
simplechat-ef1ba61ca79e8348d782a3298fcbd97a0bdb7dc5.zip
Chatrooms roughly implemented
Diffstat (limited to 'buddy.go')
-rw-r--r--buddy.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/buddy.go b/buddy.go
new file mode 100644
index 0000000..0d1fb0c
--- /dev/null
+++ b/buddy.go
@@ -0,0 +1,10 @@
+package main
+
+type Buddy struct {
+ Nick string
+ Receive chan Message
+}
+
+func NewBuddy(nick string, room *Room) *Buddy {
+ // TODO: Implement me!
+}