Documentation ¶
Index ¶
- func StartAuthClient()
- func StartOrgClient()
- func StopGrpcClient()
- func StopOrgClient()
- type AuthInfo
- type DepAttendanceConf
- type GrpcClient
- type OrgAttendanceConf
- type OrgClient
- func (a *OrgClient) GetDepAttendanceConf(depName, domain string) (DepAttendanceConf, error)
- func (a *OrgClient) GetOrgAttendanceConf(orgName, domain string) (OrgAttendanceConf, error)
- func (a *OrgClient) InitOrganization(e OrgInitInfo) (string, error)
- func (a *OrgClient) OrgAddEmployee(e OrgEmployeeInfo) (string, error)
- func (a *OrgClient) OrgRemoveEmployee(e OrgEmployeeInfo) (string, error)
- func (a *OrgClient) OrgUpdateEmployee(e OrgEmployeeInfo) (string, error)
- type OrgEmployeeInfo
- type OrgInitInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartAuthClient ¶
func StartAuthClient()
func StartOrgClient ¶
func StartOrgClient()
func StopGrpcClient ¶
func StopGrpcClient()
func StopOrgClient ¶
func StopOrgClient()
Types ¶
type AuthInfo ¶
type AuthInfo struct { Authorised bool Tenant string Domain string Department string Name string EmailId string PhoneNumber string Role string }
func GetAuthInfo ¶
type DepAttendanceConf ¶
type DepAttendanceConf struct { DepId string Department string CaptureCheckInLocation bool EnforceLocationCheckIn bool EnforceLocationCheckOut bool RequiredLat float64 RequiredLng float64 FlexiHoursEnabled bool FlexiHourWindowInMin int32 OrgCheckInTime string OrgCheckOutTime string CheckinMarginInMin int32 DailyWorkingHours float32 WorkingDaysPerWeek float32 WeeklyOffDays []string }
type GrpcClient ¶
type GrpcClient struct {
// contains filtered or unexported fields
}
func GetAuthClient ¶
func GetAuthClient() *GrpcClient
type OrgAttendanceConf ¶
type OrgAttendanceConf struct { OrgId string OrgName string CaptureCheckInLocation bool EnforceLocationCheckIn bool EnforceLocationCheckOut bool RequiredLat float64 RequiredLng float64 FlexiHoursEnabled bool FlexiHourWindowInMin int32 OrgCheckInTime string OrgCheckOutTime string CheckinMarginInMin int32 DailyWorkingHours float32 WorkingDaysPerWeek float32 WeeklyOffDays []string }
type OrgClient ¶
type OrgClient struct {
// contains filtered or unexported fields
}
func GetOrgClient ¶
func GetOrgClient() *OrgClient
func (*OrgClient) GetDepAttendanceConf ¶
func (a *OrgClient) GetDepAttendanceConf(depName, domain string) (DepAttendanceConf, error)
func (*OrgClient) GetOrgAttendanceConf ¶
func (a *OrgClient) GetOrgAttendanceConf(orgName, domain string) (OrgAttendanceConf, error)
func (*OrgClient) InitOrganization ¶
func (a *OrgClient) InitOrganization(e OrgInitInfo) (string, error)
func (*OrgClient) OrgAddEmployee ¶
func (a *OrgClient) OrgAddEmployee(e OrgEmployeeInfo) (string, error)
func (*OrgClient) OrgRemoveEmployee ¶
func (a *OrgClient) OrgRemoveEmployee(e OrgEmployeeInfo) (string, error)
func (*OrgClient) OrgUpdateEmployee ¶
func (a *OrgClient) OrgUpdateEmployee(e OrgEmployeeInfo) (string, error)
type OrgEmployeeInfo ¶
Click to show internal directories.
Click to hide internal directories.