Versions in this module Expand all Collapse all v3 v3.0.1 Apr 1, 2020 v3.0.0 Mar 26, 2020 Changes in this version + const DecryptRequest + const DeleteCellKey + const DeleteGrantKey + const DeleteRoleAssignments + const DeleteUser + const ENROLL + const GetCellKey + const GetGrantKey + const GetRoleAssignment + const GetRoleAssignments + const GetRoles + const GetUser + const GetUsers + const InsertCellKey + const InsertGrantKey + const InsertRole + const InsertRoleAssignments + const InsertUser + const KmsAPIURL + const PheAPIURL + const PureAPIURL + const UpdateCellKey + const UpdateUser + const VerifyPassword + func DefaultErrorHandler(resp *client.Response) error + type Client struct + AppToken string + HTTPClient *client.Client + URL string + type KmsClient struct + func (c *KmsClient) Decrypt(req *protos.DecryptRequest) (resp *protos.DecryptResponse, err error) + type PheClient struct + func (c *PheClient) GetEnrollment(req *protos.EnrollmentRequest) (resp *protos.EnrollmentResponse, err error) + func (c *PheClient) VerifyPassword(req *protos.VerifyPasswordRequest) (resp *protos.VerifyPasswordResponse, err error) + type ProtobufCodec struct + func (c *ProtobufCodec) Marshal(obj interface{}) (body []byte, err error) + func (c *ProtobufCodec) Name() string + func (c *ProtobufCodec) Unmarshal(data []byte, obj interface{}) error + type PureClient struct + func (c *PureClient) DeleteCellKey(req *protos.UserIdAndDataIdRequest) (err error) + func (c *PureClient) DeleteGrantKey(req *protos.GrantKeyDescriptor) (err error) + func (c *PureClient) DeleteRoleAssignments(req *protos.DeleteRoleAssignments) (err error) + func (c *PureClient) DeleteUser(req *protos.UserIdRequest, cascade bool) (err error) + func (c *PureClient) GetCellKey(req *protos.UserIdAndDataIdRequest) (resp *protos.CellKey, err error) + func (c *PureClient) GetGrantKey(req *protos.GrantKeyDescriptor) (resp *protos.GrantKey, err error) + func (c *PureClient) GetRoleAssignment(req *protos.GetRoleAssignment) (resp *protos.RoleAssignment, err error) + func (c *PureClient) GetRoleAssignments(req *protos.GetRoleAssignments) (resp *protos.RoleAssignments, err error) + func (c *PureClient) GetRoles(req *protos.GetRoles) (resp *protos.Roles, err error) + func (c *PureClient) GetUser(req *protos.UserIdRequest) (resp *protos.UserRecord, err error) + func (c *PureClient) GetUsers(userIds ...string) (resp *protos.UserRecords, err error) + func (c *PureClient) InsertCellKey(req *protos.CellKey) (err error) + func (c *PureClient) InsertGrantKey(req *protos.GrantKey) (err error) + func (c *PureClient) InsertRole(req *protos.Role) (err error) + func (c *PureClient) InsertRoleAssignments(req *protos.RoleAssignments) (err error) + func (c *PureClient) InsertUser(req *protos.UserRecord) (err error) + func (c *PureClient) UpdateCellKey(req *protos.CellKey) (err error) + func (c *PureClient) UpdateUser(req *protos.UserRecord) (err error)