Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct{}
Client to interact with storage API
type MockClient ¶
type MockClient struct{}
MockClient mocks storage client functionality for unit tests
func (MockClient) NewRef ¶
func (i MockClient) NewRef(path string) *db.Ref
NewRef returns a reference to path in Realtime DB (it's a mock!)
func (MockClient) RunTransaction ¶
RunTransaction runs f in a transaction (but not, because it's a mock)
Click to show internal directories.
Click to hide internal directories.