client

package
v0.0.0-...-4d27263 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TimeOut = 120 * time.Second

Variables

View Source
var (
	EmailClient *emailServiceClient
)

Functions

func CloseConnect

func CloseConnect()

func ContextWithTimeOut

func ContextWithTimeOut() context.Context

func GrpcEmailClient

func GrpcEmailClient() *emailServiceClient

func InitEnvironment

func InitEnvironment(emailUrl string)

Types

type SendEmailData

type SendEmailData struct {
	Date    string `json:"date"`
	Package string `json:"package"`
	Amount  string `json:"amount"`
	Symbol  string `json:"symbol"`
}

Jump to

Keyboard shortcuts

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