Documentation
¶
Index ¶
- type ChannelClient
- func (c *ChannelClient) Close(ctx context.Context) error
- func (c *ChannelClient) GetSelectResponse(ctx context.Context) (int64, error)
- func (c *ChannelClient) GetSession(ctx context.Context) (int64, error)
- func (c *ChannelClient) IsBasicChannel(ctx context.Context) (bool, error)
- func (c *ChannelClient) IsOpen(ctx context.Context) (bool, error)
- func (c *ChannelClient) SelectNext(ctx context.Context) (bool, error)
- func (c *ChannelClient) Transmit(ctx context.Context, arg0 int64) (int64, error)
- type ReaderClient
- func (c *ReaderClient) CloseSessions(ctx context.Context) error
- func (c *ReaderClient) GetName(ctx context.Context) (string, error)
- func (c *ReaderClient) GetSEService(ctx context.Context) (int64, error)
- func (c *ReaderClient) IsSecureElementPresent(ctx context.Context) (bool, error)
- func (c *ReaderClient) OpenSession(ctx context.Context) (int64, error)
- type SEServiceClient
- func (c *SEServiceClient) GetReaders(ctx context.Context, handle int64) (int64, error)
- func (c *SEServiceClient) GetUiccReader(ctx context.Context, handle int64, arg0 int32) (int64, error)
- func (c *SEServiceClient) GetVersion(ctx context.Context, handle int64) (string, error)
- func (c *SEServiceClient) IsConnected(ctx context.Context, handle int64) (bool, error)
- func (c *SEServiceClient) Shutdown(ctx context.Context, handle int64) error
- type SEServiceOnConnectedListenerClient
- type SessionClient
- func (c *SessionClient) Close(ctx context.Context) error
- func (c *SessionClient) CloseChannels(ctx context.Context) error
- func (c *SessionClient) GetATR(ctx context.Context) (int64, error)
- func (c *SessionClient) GetReader(ctx context.Context) (int64, error)
- func (c *SessionClient) IsClosed(ctx context.Context) (bool, error)
- func (c *SessionClient) OpenBasicChannel1(ctx context.Context, arg0 int64) (int64, error)
- func (c *SessionClient) OpenBasicChannel2_1(ctx context.Context, arg0 int64, arg1 int8) (int64, error)
- func (c *SessionClient) OpenLogicalChannel1(ctx context.Context, arg0 int64) (int64, error)
- func (c *SessionClient) OpenLogicalChannel2_1(ctx context.Context, arg0 int64, arg1 int8) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelClient ¶
type ChannelClient struct {
// contains filtered or unexported fields
}
ChannelClient wraps the gRPC ChannelService client.
func NewChannelClient ¶
func NewChannelClient(cc grpc.ClientConnInterface) *ChannelClient
NewChannelClient creates a new Channel client.
func (*ChannelClient) Close ¶
func (c *ChannelClient) Close(ctx context.Context) error
Close calls the Close RPC.
func (*ChannelClient) GetSelectResponse ¶
func (c *ChannelClient) GetSelectResponse(ctx context.Context) (int64, error)
GetSelectResponse calls the GetSelectResponse RPC.
func (*ChannelClient) GetSession ¶
func (c *ChannelClient) GetSession(ctx context.Context) (int64, error)
GetSession calls the GetSession RPC.
func (*ChannelClient) IsBasicChannel ¶
func (c *ChannelClient) IsBasicChannel(ctx context.Context) (bool, error)
IsBasicChannel calls the IsBasicChannel RPC.
func (*ChannelClient) IsOpen ¶
func (c *ChannelClient) IsOpen(ctx context.Context) (bool, error)
IsOpen calls the IsOpen RPC.
func (*ChannelClient) SelectNext ¶
func (c *ChannelClient) SelectNext(ctx context.Context) (bool, error)
SelectNext calls the SelectNext RPC.
type ReaderClient ¶
type ReaderClient struct {
// contains filtered or unexported fields
}
ReaderClient wraps the gRPC ReaderService client.
func NewReaderClient ¶
func NewReaderClient(cc grpc.ClientConnInterface) *ReaderClient
NewReaderClient creates a new Reader client.
func (*ReaderClient) CloseSessions ¶
func (c *ReaderClient) CloseSessions(ctx context.Context) error
CloseSessions calls the CloseSessions RPC.
func (*ReaderClient) GetName ¶
func (c *ReaderClient) GetName(ctx context.Context) (string, error)
GetName calls the GetName RPC.
func (*ReaderClient) GetSEService ¶
func (c *ReaderClient) GetSEService(ctx context.Context) (int64, error)
GetSEService calls the GetSEService RPC.
func (*ReaderClient) IsSecureElementPresent ¶
func (c *ReaderClient) IsSecureElementPresent(ctx context.Context) (bool, error)
IsSecureElementPresent calls the IsSecureElementPresent RPC.
func (*ReaderClient) OpenSession ¶
func (c *ReaderClient) OpenSession(ctx context.Context) (int64, error)
OpenSession calls the OpenSession RPC.
type SEServiceClient ¶
type SEServiceClient struct {
// contains filtered or unexported fields
}
SEServiceClient wraps the gRPC SEServiceService client.
func NewSEServiceClient ¶
func NewSEServiceClient(cc grpc.ClientConnInterface) *SEServiceClient
NewSEServiceClient creates a new SEService client.
func (*SEServiceClient) GetReaders ¶
GetReaders calls the GetReaders RPC.
func (*SEServiceClient) GetUiccReader ¶
func (c *SEServiceClient) GetUiccReader(ctx context.Context, handle int64, arg0 int32) (int64, error)
GetUiccReader calls the GetUiccReader RPC.
func (*SEServiceClient) GetVersion ¶
GetVersion calls the GetVersion RPC.
func (*SEServiceClient) IsConnected ¶
IsConnected calls the IsConnected RPC.
type SEServiceOnConnectedListenerClient ¶
type SEServiceOnConnectedListenerClient struct {
// contains filtered or unexported fields
}
SEServiceOnConnectedListenerClient wraps the gRPC SEServiceOnConnectedListenerService client.
func NewSEServiceOnConnectedListenerClient ¶
func NewSEServiceOnConnectedListenerClient(cc grpc.ClientConnInterface) *SEServiceOnConnectedListenerClient
NewSEServiceOnConnectedListenerClient creates a new SEServiceOnConnectedListener client.
func (*SEServiceOnConnectedListenerClient) OnConnected ¶
func (c *SEServiceOnConnectedListenerClient) OnConnected(ctx context.Context) error
OnConnected calls the OnConnected RPC.
type SessionClient ¶
type SessionClient struct {
// contains filtered or unexported fields
}
SessionClient wraps the gRPC SessionService client.
func NewSessionClient ¶
func NewSessionClient(cc grpc.ClientConnInterface) *SessionClient
NewSessionClient creates a new Session client.
func (*SessionClient) Close ¶
func (c *SessionClient) Close(ctx context.Context) error
Close calls the Close RPC.
func (*SessionClient) CloseChannels ¶
func (c *SessionClient) CloseChannels(ctx context.Context) error
CloseChannels calls the CloseChannels RPC.
func (*SessionClient) GetATR ¶
func (c *SessionClient) GetATR(ctx context.Context) (int64, error)
GetATR calls the GetATR RPC.
func (*SessionClient) GetReader ¶
func (c *SessionClient) GetReader(ctx context.Context) (int64, error)
GetReader calls the GetReader RPC.
func (*SessionClient) IsClosed ¶
func (c *SessionClient) IsClosed(ctx context.Context) (bool, error)
IsClosed calls the IsClosed RPC.
func (*SessionClient) OpenBasicChannel1 ¶
OpenBasicChannel1 calls the OpenBasicChannel1 RPC.
func (*SessionClient) OpenBasicChannel2_1 ¶
func (c *SessionClient) OpenBasicChannel2_1(ctx context.Context, arg0 int64, arg1 int8) (int64, error)
OpenBasicChannel2_1 calls the OpenBasicChannel2_1 RPC.
func (*SessionClient) OpenLogicalChannel1 ¶
OpenLogicalChannel1 calls the OpenLogicalChannel1 RPC.
func (*SessionClient) OpenLogicalChannel2_1 ¶
func (c *SessionClient) OpenLogicalChannel2_1(ctx context.Context, arg0 int64, arg1 int8) (int64, error)
OpenLogicalChannel2_1 calls the OpenLogicalChannel2_1 RPC.