ailiyun

package
v0.0.0-...-c1a7e98 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 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 Options

type Options struct {
	SmsOptions SmsOptions `json:"ailiyun" mapstructure:"ailiyun"`
}

func NewOptions

func NewOptions() *Options

NewOptions creates a new SmsOptions object with default values.

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

AddFlags adds command line flags for the configuration.

func (*Options) Validate

func (o *Options) Validate() []error

Validate verifies flags passed to LogsOptions.

type SmsOptions

type SmsOptions struct {
	AccessKeyId     string `json:"accessKeyId,omitempty" mapstructure:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret,omitempty" mapstructure:"accessKeySecret"`
}

SmsOptions contains configuration options for logging.

func (*SmsOptions) NewSmsClient

func (o *SmsOptions) NewSmsClient() (_result *dysmsapi.Client, _err error)

Jump to

Keyboard shortcuts

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