mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChannelClient

type MockChannelClient struct {
	Err error
}

MockChannelClient mocks channel client

func NewMockChannelClient

func NewMockChannelClient() *MockChannelClient

NewMockChannelClient returns mock channel client

func (*MockChannelClient) Query

func (cc *MockChannelClient) Query(request channel.Request, options ...channel.RequestOption) (channel.Response, error)

Query mocks query

type Operation

type Operation struct {
	Type string `json:"type"`
	ID   string `json:"id"`
}

Operation defines sample operation

Jump to

Keyboard shortcuts

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