Documentation ¶
Overview ¶
Copyright 2017 - 2019 KB Kontrakt LLC - All Rights Reserved. *
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
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 - 2019 KB Kontrakt LLC - All Rights Reserved. *
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
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. *
Package chrono is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DateTime ¶
DateTime .
func DateTimeFromStub ¶
func DateTimeFromStub(stub shim.ChaincodeStubInterface) (*DateTime, error)
DateTimeFromStub .
func DateTimeFromTimestamp ¶
DateTimeFromTimestamp .
func (*DateTime) MarshalJSON ¶
MarshalJSON .
func (*DateTime) UnmarshalJSON ¶
UnmarshalJSON .
type MockTimeService ¶
type MockTimeService struct {
// contains filtered or unexported fields
}
MockTimeService is a mock of TimeService interface
func NewMockTimeService ¶
func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService
NewMockTimeService creates a new mock instance
func (*MockTimeService) EXPECT ¶
func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTimeService) NowDateTime ¶
func (m *MockTimeService) NowDateTime() (DateTime, error)
NowDateTime mocks base method
type MockTimeServiceMockRecorder ¶
type MockTimeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeServiceMockRecorder is the mock recorder for MockTimeService
func (*MockTimeServiceMockRecorder) NowDateTime ¶
func (mr *MockTimeServiceMockRecorder) NowDateTime() *gomock.Call
NowDateTime indicates an expected call of NowDateTime
type TimeService ¶
TimeService .
func NewTimeServiceImpl ¶
func NewTimeServiceImpl(stub shim.ChaincodeStubInterface) TimeService
NewTimeServiceImpl creates default implementation