Documentation ¶
Overview ¶
Package vault implements security best practices in order to store sensitive information, compliant with regulations.
Currently is able to store Payment Cards and Personal Identifiable Information.
Fireblaze Server aims to be PCI DSS Level 1 and HIPAA compliant.
todo: needs refactor
Index ¶
- type Option
- type Server
- func (s Server) DelCard(ctx context.Context, r *pb.DelCardRequest) (*empty.Empty, error)
- func (s Server) DelPII(context.Context, *pb.DelPIIRequest) (*empty.Empty, error)
- func (s Server) GetCard(ctx context.Context, r *pb.GetCardRequest) (w *pb.GetCardResponse, err error)
- func (s Server) GetCardMetadata(ctx context.Context, r *pb.GetMetadataRequest) (*pb.CardMetadata, error)
- func (s Server) GetPII(context.Context, *pb.GetPIIRequest) (*pb.GetPIIResponse, error)
- func (s Server) HealthCheck(context.Context, *empty.Empty) (*empty.Empty, error)
- func (s Server) HealthCheckVerbose(ctx context.Context, empty *empty.Empty) (*pb.HealthCheckResponse, error)
- func (s Server) PutCard(ctx context.Context, r *pb.PutCardRequest) (w *pb.PutCardResponse, err error)
- func (s Server) PutPII(context.Context, *pb.PutPIIRequest) (*pb.PutPIIResponse, error)
- func (s Server) ServeGRPC(grpcPort string) error
- func (s Server) ServeHTTP(httpPort, grpcPort string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
func WithAuth ¶
func WithAuth(client pb_user.UserClient) Option
func WithReporting ¶
func WithReporting(client *errorreporting.Client) Option
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements proto/card.proto.
func (Server) GetCard ¶
func (s Server) GetCard(ctx context.Context, r *pb.GetCardRequest) (w *pb.GetCardResponse, err error)
func (Server) GetCardMetadata ¶
func (s Server) GetCardMetadata(ctx context.Context, r *pb.GetMetadataRequest) (*pb.CardMetadata, error)
func (Server) GetPII ¶
func (s Server) GetPII(context.Context, *pb.GetPIIRequest) (*pb.GetPIIResponse, error)
func (Server) HealthCheck ¶
func (Server) HealthCheckVerbose ¶
func (Server) PutCard ¶
func (s Server) PutCard(ctx context.Context, r *pb.PutCardRequest) (w *pb.PutCardResponse, err error)
func (Server) PutPII ¶
func (s Server) PutPII(context.Context, *pb.PutPIIRequest) (*pb.PutPIIResponse, error)
Click to show internal directories.
Click to hide internal directories.