email

package
v0.0.0-...-fa223cd Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	*abs.Service
	pb.UnimplementedEmailServer
	// contains filtered or unexported fields
}

Define the service structure

func NewService

func NewService(ctx *core.Context, name string, config core.ServiceConfig) *Service

func (*Service) Create

func (o *Service) Create(ctx context.Context, in *pb.EmailCreateParams) (*pb.EmailResponse, error)

func (*Service) Delete

func (o *Service) Delete(ctx context.Context, in *pb.EmailEntity) (*ms.Response, error)

func (*Service) Get

func (o *Service) Get(ctx context.Context, in *pb.EmailEntity) (*pb.EmailResponse, error)

func (*Service) GetClient

func (o *Service) GetClient(conn *grpc.ClientConn) any

func (*Service) List

func (o *Service) List(in *empty.Empty, stream pb.Email_ListServer) error

func (*Service) RegisterGrpc

func (o *Service) RegisterGrpc(gs *core.GoMsGrpcServer)

func (*Service) RegisterHttp

func (o *Service) RegisterHttp(gh *core.GoMsHttpServer, endpoint string) error

func (*Service) Update

func (o *Service) Update(ctx context.Context, in *pb.EmailUpdateParams) (*ms.Response, error)

Directories

Path Synopsis
Package protobuf is a reverse proxy.
Package protobuf is a reverse proxy.

Jump to

Keyboard shortcuts

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