//would want this to be a []byte or even a some sort of binary stream func (c Connection) Put(data string) (string, error) { var uuid, _ = utils.GenerateV4String() err := storage.Store(uuid, data, c.filename) return uuid, err }
func (c Connection) Post(uuid string, data string) error { storage.Store(uuid, data, c.filename) return nil }