omapi

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

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.

func (*ChannelClient) Transmit

func (c *ChannelClient) Transmit(ctx context.Context, arg0 int64) (int64, error)

Transmit calls the Transmit 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

func (c *SEServiceClient) GetReaders(ctx context.Context, handle int64) (int64, error)

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

func (c *SEServiceClient) GetVersion(ctx context.Context, handle int64) (string, error)

GetVersion calls the GetVersion RPC.

func (*SEServiceClient) IsConnected

func (c *SEServiceClient) IsConnected(ctx context.Context, handle int64) (bool, error)

IsConnected calls the IsConnected RPC.

func (*SEServiceClient) Shutdown

func (c *SEServiceClient) Shutdown(ctx context.Context, handle int64) error

Shutdown calls the Shutdown 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

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

func (c *SessionClient) OpenBasicChannel1(ctx context.Context, arg0 int64) (int64, error)

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

func (c *SessionClient) OpenLogicalChannel1(ctx context.Context, arg0 int64) (int64, error)

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.

Jump to

Keyboard shortcuts

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