-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
65 lines (49 loc) · 1.36 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// package core allows communciation over the fabric.
//
// See the official WAMP documentation at exis.io for
// more details on the protocol.
package core
/* This is an list of the tests clients should implement
# NOTE-- these should go into core, not client!
# Client just had to test Cumin and threading implementation.
Noargs
Success
subscribe()
publish()
register()
call()
Failure
Domain does not exist
Poorly constructed endpoint
Incorrect number of arguments
Incorrect types of arguments
Timeout error (?)
What happens when a called function throws into a caller?
Primitives
subscribe(primitive)
publish(primitive)
register(primitive)
call(primitive)
Models
subscribe(RiffleModel)
publish(RiffleModel)
register(RiffleModel)
call(RiffleModel)
Collections- Success
subscribe([])
publish([])
register([])
call([])
subscribe([primitives])
publish([primitives])
register([primitives])
call([primitives])
subscribe({})
publish({})
register({})
call({})
subscribe({primitives: primitives})
publish({primitives: primitives})
register({primitives: primitives})
call({primitives: primitives})
*/