Documentation ¶
Index ¶
- func NfToOpConfig(nfConfig *nfpb.ServiceConfig) *pb.NotificationConfig
- func OpToNfConfig(opConfig *pb.NotificationConfig) *nfpb.ServiceConfig
- func Serve(cfg *config.Config)
- type Server
- func (p *Server) GetServiceConfig(ctx context.Context, req *pb.GetServiceConfigRequest) (*pb.GetServiceConfigResponse, error)
- func (p *Server) SetServiceConfig(ctx context.Context, req *pb.SetServiceConfigRequest) (*pb.SetServiceConfigResponse, error)
- func (p *Server) ValidateEmailService(ctx context.Context, req *pb.ValidateEmailServiceRequest) (*pb.ValidateEmailServiceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NfToOpConfig ¶
func NfToOpConfig(nfConfig *nfpb.ServiceConfig) *pb.NotificationConfig
func OpToNfConfig ¶
func OpToNfConfig(opConfig *pb.NotificationConfig) *nfpb.ServiceConfig
Types ¶
type Server ¶
type Server struct { }
func (*Server) GetServiceConfig ¶
func (p *Server) GetServiceConfig(ctx context.Context, req *pb.GetServiceConfigRequest) (*pb.GetServiceConfigResponse, error)
func (*Server) SetServiceConfig ¶
func (p *Server) SetServiceConfig(ctx context.Context, req *pb.SetServiceConfigRequest) (*pb.SetServiceConfigResponse, error)
func (*Server) ValidateEmailService ¶
func (p *Server) ValidateEmailService(ctx context.Context, req *pb.ValidateEmailServiceRequest) (*pb.ValidateEmailServiceResponse, error)
Click to show internal directories.
Click to hide internal directories.