tencentcloud

package module
v0.0.0-...-836d06d Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	log.Logger
	Producer() *cls.AsyncProducerClient
	Close() error
}

func NewLogger

func NewLogger(options ...Option) (Logger, error)

type Option

type Option func(cls *TCloud)

func WithAccessKey

func WithAccessKey(ak string) Option

func WithAccessSecret

func WithAccessSecret(as string) Option

func WithEndpoint

func WithEndpoint(endpoint string) Option

func WithTopicID

func WithTopicID(topicID string) Option

type TCloud

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

Jump to

Keyboard shortcuts

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