admin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthUnaryServerInterceptor

func AuthUnaryServerInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)

func SendEmail

func SendEmail(to string, subject string, body string) error

func SendPrivilegedEmail

func SendPrivilegedEmail(userId string, firebaseApp validation.IFirebaseApp)

func SendPurchasedEmail

func SendPurchasedEmail(transactionDetails transaction.TransactionDetails, firebaseApp validation.IFirebaseApp)

func SendShippedEmail

func SendShippedEmail(transactionDetails transaction.TransactionDetails)

Types

type ItemServiceServer

type ItemServiceServer struct {
	itempb.UnimplementedItemServiceServer
}

func (*ItemServiceServer) All

func (*ItemServiceServer) Remove

type TransactionServiceServer

type TransactionServiceServer struct {
	transactionpb.UnimplementedTransactionServiceServer
}

func (*TransactionServiceServer) All

func (*TransactionServiceServer) RegisterStatus

func (*TransactionServiceServer) RegisterTrackingId

type UserServiceServer

type UserServiceServer struct {
	userpb.UserServiceServer
}

func (*UserServiceServer) All

func (*UserServiceServer) Privilege

func (*UserServiceServer) Remove

func (*UserServiceServer) Transaction

Jump to

Keyboard shortcuts

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