mock_firebase

package
v0.0.0-...-da65bf1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApi

type MockApi struct {
	// contains filtered or unexported fields
}

Mock of Api interface

func NewMockApi

func NewMockApi(ctrl *gomock.Controller) *MockApi

func (*MockApi) Call

func (_m *MockApi) Call(method string, path string, auth string, body interface{}, params map[string]string, dest interface{}) error

func (*MockApi) EXPECT

func (_m *MockApi) EXPECT() *_MockApiRecorder

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

Mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

func (*MockClient) Child

func (_m *MockClient) Child(path string) Client

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *_MockClientRecorder

func (*MockClient) EndAt

func (_m *MockClient) EndAt(value string) Client

func (*MockClient) EqualTo

func (_m *MockClient) EqualTo(value string) Client

func (*MockClient) Iterator

func (_m *MockClient) Iterator(d Destination) <-chan *KeyedValue

func (*MockClient) Key

func (_m *MockClient) Key() string

func (*MockClient) LimitToFirst

func (_m *MockClient) LimitToFirst(value int) Client

func (*MockClient) LimitToLast

func (_m *MockClient) LimitToLast(value int) Client

func (*MockClient) OrderBy

func (_m *MockClient) OrderBy(prop string) Client

func (*MockClient) Push

func (_m *MockClient) Push(value interface{}, params map[string]string) (Client, error)

func (*MockClient) Remove

func (_m *MockClient) Remove(path string, params map[string]string) error

func (*MockClient) Rules

func (_m *MockClient) Rules(params map[string]string) (*Rules, error)

func (*MockClient) Set

func (_m *MockClient) Set(path string, value interface{}, params map[string]string) (Client, error)

func (*MockClient) SetRules

func (_m *MockClient) SetRules(rules *Rules, params map[string]string) error

func (*MockClient) Shallow

func (_m *MockClient) Shallow() ([]string, error)

func (*MockClient) StartAt

func (_m *MockClient) StartAt(value string) Client

func (*MockClient) String

func (_m *MockClient) String() string

func (*MockClient) Update

func (_m *MockClient) Update(path string, value interface{}, params map[string]string) error

func (*MockClient) Value

func (_m *MockClient) Value(destination interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL