sms

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSMSAPIServer

func NewSMSAPIServer(ctx context.Context, opt *Options) (sms.SMSAPIServer, error)

NewSMSAPIServer creates a new sms API server

Types

type Options

type Options struct {
	Logger        grpclog.LoggerV2
	JWTSigningKey []byte
	APIKey        string
	AuthToken     string
	APIUsername   string
	APIPassword   string
	APIURL        string
}

Options contains parameters passed while calling NewSMSAPIServer

Jump to

Keyboard shortcuts

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