email

package
v0.0.0-...-cd595cc Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitClient

func InitClient(dstService string, opts ...client.Option)

func Send

func Send(ctx context.Context, req *email.EmailReq, callOptions ...callopt.Option) (resp *email.EmailResp, err error)

Types

type RPCClient

type RPCClient interface {
	KitexClient() emailservice.Client
	Service() string
	Send(ctx context.Context, Req *email.EmailReq, callOptions ...callopt.Option) (r *email.EmailResp, err error)
}

func DefaultClient

func DefaultClient() RPCClient

func NewRPCClient

func NewRPCClient(dstService string, opts ...client.Option) (RPCClient, error)

Jump to

Keyboard shortcuts

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