client

package
v0.0.0-...-17e6b21 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 NewClient

func NewClient(config ClientConfig) (*Client, error)

func (*Client) ValidateCompliance

func (c *Client) ValidateCompliance(ctx context.Context, req *proto.ComplianceRequest) (*proto.ComplianceResponse, error)

type ClientConfig

type ClientConfig struct {
	Endpoint       string
	Timeout        time.Duration
	RetryAttempts  int
	RetryDelay     time.Duration
	TLSConfig      *credentials.TransportCredentials
	Authentication AuthConfig
}

Jump to

Keyboard shortcuts

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