Documentation ¶
Overview ¶
Copyright 2017 Mosaic Networks Ltd
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Mosaic Networks Ltd ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Mosaic Networks Ltd ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Mosaic Networks Ltd ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InmemAppProxy ¶
type InmemAppProxy struct {
// contains filtered or unexported fields
}
InmemProxy is used for testing
func NewInmemAppProxy ¶
func NewInmemAppProxy(logger *logrus.Logger) *InmemAppProxy
func (*InmemAppProxy) CommitTx ¶
func (p *InmemAppProxy) CommitTx(tx []byte) error
func (*InmemAppProxy) GetCommittedTransactions ¶
func (p *InmemAppProxy) GetCommittedTransactions() [][]byte
func (*InmemAppProxy) SubmitCh ¶
func (p *InmemAppProxy) SubmitCh() chan []byte
func (*InmemAppProxy) SubmitTx ¶
func (p *InmemAppProxy) SubmitTx(tx []byte)
type SocketAppProxy ¶
type SocketAppProxy struct {
// contains filtered or unexported fields
}
func NewSocketAppProxy ¶
func (*SocketAppProxy) CommitTx ¶
func (p *SocketAppProxy) CommitTx(tx []byte) error
func (*SocketAppProxy) SubmitCh ¶
func (p *SocketAppProxy) SubmitCh() chan []byte
type SocketAppProxyClient ¶
type SocketAppProxyClient struct {
// contains filtered or unexported fields
}
func NewSocketAppProxyClient ¶
type SocketAppProxyServer ¶
type SocketAppProxyServer struct {
// contains filtered or unexported fields
}
func NewSocketAppProxyServer ¶
func NewSocketAppProxyServer(bindAddress string, logger *logrus.Logger) *SocketAppProxyServer