connector

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Listen string `yaml:"listen"`

	// Access Log Report
	KafkaBrokers []string `yaml:"kafka_brokers"`
	KafkaTopic   string   `yaml:"kafka_topic"`

	// State management
	EtcdEndpoints []string `yaml:"etcd_endpoints"`
	EtcdUsername  *string  `yaml:"etcd_username"`
	EtcdPassword  *string  `yaml:"etcd_password"`
}

type Connector

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

func NewRPC

func NewRPC(accesslogClient *accesslog.ProducerClient, controlClient *control.StateClientReader) *Connector

func (*Connector) AccesslogProduceLog

func (c *Connector) AccesslogProduceLog(args *types.AccesslogProduceLogArgs, _ *struct{}) error

func (*Connector) ControlCheckAccountPaused

func (c *Connector) ControlCheckAccountPaused(args *types.CheckAccountPausedArgs, reply *types.CheckAccountPausedReply) error

func (*Connector) ControlCheckKey

func (c *Connector) ControlCheckKey(args *types.ControlCheckKeyArgs, reply *types.ControlCheckKeyReply) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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