usp_cato

package
v1.26.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatoAdapter

type CatoAdapter struct {
	// contains filtered or unexported fields
}

func NewCatoAdapter

func NewCatoAdapter(conf CatoConfig) (*CatoAdapter, chan struct{}, error)

func (*CatoAdapter) Close

func (a *CatoAdapter) Close() error

type CatoConfig

type CatoConfig struct {
	ClientOptions   uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	WriteTimeoutSec uint64                  `json:"write_timeout_sec,omitempty" yaml:"write_timeout_sec,omitempty"`
	ApiKey          string                  `json:"apikey" yaml:"apikey"`
	AccountId       int                     `json:"accountid" yaml:"accountid"`
}

func (*CatoConfig) Validate

func (c *CatoConfig) Validate() error

Jump to

Keyboard shortcuts

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