flags

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrValidationFailed = errors.New("validation failed")
)

Functions

func Send

func Send() []cli.Flag

Types

type SendFlags

type SendFlags struct {
	DeviceID            string
	SimNumber           *uint8
	DeliveryReport      bool
	Priority            smsgateway.MessagePriority
	TTL                 *uint64
	ValidUntil          *time.Time
	SkipPhoneValidation bool
	DeviceActiveWithin  uint
}

func NewSendFlags

func NewSendFlags(c *cli.Context) (*SendFlags, error)

func (SendFlags) Merge

func (SendFlags) Option

func (s SendFlags) Option() []smsgateway.SendOption

Jump to

Keyboard shortcuts

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