Documentation ¶
Overview ¶
Package tda implements the IndyKite TrustedDataAccess Service API Client.
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) DataAccess(ctx context.Context, req *tdapb.DataAccessRequest, opts ...grpc.CallOption) (*tdapb.DataAccessResponse, error)
- func (c *Client) GrantConsent(ctx context.Context, req *tdapb.GrantConsentRequest, opts ...grpc.CallOption) (*tdapb.GrantConsentResponse, error)
- func (c *Client) ListConsents(ctx context.Context, req *tdapb.ListConsentsRequest, opts ...grpc.CallOption) (*tdapb.ListConsentsResponse, error)
- func (c *Client) RevokeConsent(ctx context.Context, req *tdapb.RevokeConsentRequest, opts ...grpc.CallOption) (*tdapb.RevokeConsentResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewTestClient ¶
func NewTestClient(client accesspb.TrustedDataAccessAPIClient) (*Client, error)
NewTestClient creates a new Trusted Data Control gRPC Client for Testing.
func (*Client) Close ¶
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*Client) DataAccess ¶
func (c *Client) DataAccess( ctx context.Context, req *tdapb.DataAccessRequest, opts ...grpc.CallOption, ) (*tdapb.DataAccessResponse, error)
func (*Client) GrantConsent ¶
func (c *Client) GrantConsent( ctx context.Context, req *tdapb.GrantConsentRequest, opts ...grpc.CallOption, ) (*tdapb.GrantConsentResponse, error)
func (*Client) ListConsents ¶
func (c *Client) ListConsents( ctx context.Context, req *tdapb.ListConsentsRequest, opts ...grpc.CallOption, ) (*tdapb.ListConsentsResponse, error)
func (*Client) RevokeConsent ¶
func (c *Client) RevokeConsent( ctx context.Context, req *tdapb.RevokeConsentRequest, opts ...grpc.CallOption, ) (*tdapb.RevokeConsentResponse, error)
Click to show internal directories.
Click to hide internal directories.