Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAccessServiceServer(s grpc.ServiceRegistrar, srv AccessServiceServer)
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterBranchServiceServer(s grpc.ServiceRegistrar, srv BranchServiceServer)
- func RegisterCompanyServiceServer(s grpc.ServiceRegistrar, srv CompanyServiceServer)
- func RegisterEmployeeServiceServer(s grpc.ServiceRegistrar, srv EmployeeServiceServer)
- func RegisterFeatureServiceServer(s grpc.ServiceRegistrar, srv FeatureServiceServer)
- func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
- func RegisterPackageFeatureServiceServer(s grpc.ServiceRegistrar, srv PackageFeatureServiceServer)
- func RegisterRegionServiceServer(s grpc.ServiceRegistrar, srv RegionServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type Access
- func (*Access) Descriptor() ([]byte, []int)deprecated
- func (x *Access) GetCreatedAt() string
- func (x *Access) GetDescription() string
- func (x *Access) GetId() string
- func (x *Access) GetName() string
- func (x *Access) GetRoute() string
- func (*Access) ProtoMessage()
- func (x *Access) ProtoReflect() protoreflect.Message
- func (x *Access) Reset()
- func (x *Access) String() string
- type AccessLevel1
- func (*AccessLevel1) Descriptor() ([]byte, []int)deprecated
- func (x *AccessLevel1) GetChildren() []*AccessLevel2
- func (x *AccessLevel1) GetCreatedAt() string
- func (x *AccessLevel1) GetDescription() string
- func (x *AccessLevel1) GetId() string
- func (x *AccessLevel1) GetName() string
- func (x *AccessLevel1) GetRoute() string
- func (*AccessLevel1) ProtoMessage()
- func (x *AccessLevel1) ProtoReflect() protoreflect.Message
- func (x *AccessLevel1) Reset()
- func (x *AccessLevel1) String() string
- type AccessLevel2
- func (*AccessLevel2) Descriptor() ([]byte, []int)deprecated
- func (x *AccessLevel2) GetChildren() []*Access
- func (x *AccessLevel2) GetCreatedAt() string
- func (x *AccessLevel2) GetDescription() string
- func (x *AccessLevel2) GetId() string
- func (x *AccessLevel2) GetName() string
- func (x *AccessLevel2) GetRoute() string
- func (*AccessLevel2) ProtoMessage()
- func (x *AccessLevel2) ProtoReflect() protoreflect.Message
- func (x *AccessLevel2) Reset()
- func (x *AccessLevel2) String() string
- type AccessServiceClient
- type AccessServiceServer
- type AuthServiceClient
- type AuthServiceServer
- type Branch
- func (*Branch) Descriptor() ([]byte, []int)deprecated
- func (x *Branch) GetAddress() string
- func (x *Branch) GetCity() string
- func (x *Branch) GetCode() string
- func (x *Branch) GetCompanyId() string
- func (x *Branch) GetCreatedAt() string
- func (x *Branch) GetCreatedBy() string
- func (x *Branch) GetId() string
- func (x *Branch) GetName() string
- func (x *Branch) GetNpwp() string
- func (x *Branch) GetPhone() string
- func (x *Branch) GetPic() string
- func (x *Branch) GetPicPhone() string
- func (x *Branch) GetProvince() string
- func (x *Branch) GetRegionId() string
- func (x *Branch) GetRegionName() string
- func (x *Branch) GetUpdatedAt() string
- func (x *Branch) GetUpdatedBy() string
- func (*Branch) ProtoMessage()
- func (x *Branch) ProtoReflect() protoreflect.Message
- func (x *Branch) Reset()
- func (x *Branch) String() string
- type BranchPaginationResponse
- func (*BranchPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BranchPaginationResponse) GetCount() uint32
- func (x *BranchPaginationResponse) GetPagination() *Pagination
- func (x *BranchPaginationResponse) GetRegionId() string
- func (*BranchPaginationResponse) ProtoMessage()
- func (x *BranchPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *BranchPaginationResponse) Reset()
- func (x *BranchPaginationResponse) String() string
- type BranchServiceClient
- type BranchServiceServer
- type BranchService_ListClient
- type BranchService_ListServer
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetNewPassword() string
- func (x *ChangePasswordRequest) GetOldPassword() string
- func (x *ChangePasswordRequest) GetRePassword() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- type Company
- func (*Company) Descriptor() ([]byte, []int)deprecated
- func (x *Company) GetAddress() string
- func (x *Company) GetCity() string
- func (x *Company) GetCode() string
- func (x *Company) GetCreatedAt() string
- func (x *Company) GetFeatures() []*Feature
- func (x *Company) GetId() string
- func (x *Company) GetLogo() string
- func (x *Company) GetName() string
- func (x *Company) GetNpwp() string
- func (x *Company) GetPackageOfFeature() EnumPackageOfFeature
- func (x *Company) GetPhone() string
- func (x *Company) GetPic() string
- func (x *Company) GetPicPhone() string
- func (x *Company) GetProvince() string
- func (x *Company) GetUpdatedAt() string
- func (x *Company) GetUpdatedBy() string
- func (*Company) ProtoMessage()
- func (x *Company) ProtoReflect() protoreflect.Message
- func (x *Company) Reset()
- func (x *Company) String() string
- type CompanyRegistration
- func (*CompanyRegistration) Descriptor() ([]byte, []int)deprecated
- func (x *CompanyRegistration) GetCompany() *Company
- func (x *CompanyRegistration) GetUser() *User
- func (*CompanyRegistration) ProtoMessage()
- func (x *CompanyRegistration) ProtoReflect() protoreflect.Message
- func (x *CompanyRegistration) Reset()
- func (x *CompanyRegistration) String() string
- type CompanyServiceClient
- type CompanyServiceServer
- type Employee
- func (*Employee) Descriptor() ([]byte, []int)deprecated
- func (x *Employee) GetAddress() string
- func (x *Employee) GetCity() string
- func (x *Employee) GetCode() string
- func (x *Employee) GetCreatedAt() string
- func (x *Employee) GetCreatedBy() string
- func (x *Employee) GetId() string
- func (x *Employee) GetJabatan() string
- func (x *Employee) GetName() string
- func (x *Employee) GetProvince() string
- func (x *Employee) GetUpdatedAt() string
- func (x *Employee) GetUpdatedBy() string
- func (x *Employee) GetUser() *User
- func (*Employee) ProtoMessage()
- func (x *Employee) ProtoReflect() protoreflect.Message
- func (x *Employee) Reset()
- func (x *Employee) String() string
- type EmployeePaginationResponse
- func (*EmployeePaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EmployeePaginationResponse) GetBranchId() string
- func (x *EmployeePaginationResponse) GetCount() uint32
- func (x *EmployeePaginationResponse) GetPagination() *Pagination
- func (x *EmployeePaginationResponse) GetRegionId() string
- func (*EmployeePaginationResponse) ProtoMessage()
- func (x *EmployeePaginationResponse) ProtoReflect() protoreflect.Message
- func (x *EmployeePaginationResponse) Reset()
- func (x *EmployeePaginationResponse) String() string
- type EmployeeServiceClient
- type EmployeeServiceServer
- type EmployeeService_ListClient
- type EmployeeService_ListServer
- type EnumPackageOfFeature
- func (EnumPackageOfFeature) Descriptor() protoreflect.EnumDescriptor
- func (x EnumPackageOfFeature) Enum() *EnumPackageOfFeature
- func (EnumPackageOfFeature) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumPackageOfFeature) Number() protoreflect.EnumNumber
- func (x EnumPackageOfFeature) String() string
- func (EnumPackageOfFeature) Type() protoreflect.EnumType
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)deprecated
- func (x *Feature) GetCreatedAt() string
- func (x *Feature) GetCreatedBy() string
- func (x *Feature) GetId() string
- func (x *Feature) GetName() string
- func (x *Feature) GetUpdatedAt() string
- func (x *Feature) GetUpdatedBy() string
- func (*Feature) ProtoMessage()
- func (x *Feature) ProtoReflect() protoreflect.Message
- func (x *Feature) Reset()
- func (x *Feature) String() string
- type FeatureServiceClient
- type FeatureServiceServer
- type FeatureService_ListClient
- type FeatureService_ListServer
- type ForgotPasswordRequest
- func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgotPasswordRequest) GetEmail() string
- func (*ForgotPasswordRequest) ProtoMessage()
- func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ForgotPasswordRequest) Reset()
- func (x *ForgotPasswordRequest) String() string
- type GrantAccessRequest
- func (*GrantAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantAccessRequest) GetAccessId() string
- func (x *GrantAccessRequest) GetGroupId() string
- func (*GrantAccessRequest) ProtoMessage()
- func (x *GrantAccessRequest) ProtoReflect() protoreflect.Message
- func (x *GrantAccessRequest) Reset()
- func (x *GrantAccessRequest) String() string
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetAccess() []*Access
- func (x *Group) GetCompanyId() string
- func (x *Group) GetCreatedAt() string
- func (x *Group) GetCreatedBy() string
- func (x *Group) GetId() string
- func (x *Group) GetIsMutable() bool
- func (x *Group) GetName() string
- func (x *Group) GetUpdatedAt() string
- func (x *Group) GetUpdatedBy() string
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type GroupPaginationResponse
- func (*GroupPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupPaginationResponse) GetCount() uint32
- func (x *GroupPaginationResponse) GetPagination() *Pagination
- func (*GroupPaginationResponse) ProtoMessage()
- func (x *GroupPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *GroupPaginationResponse) Reset()
- func (x *GroupPaginationResponse) String() string
- type GroupServiceClient
- type GroupServiceServer
- type GroupService_ListClient
- type GroupService_ListServer
- type Id
- type ListAccessResponse
- func (*ListAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessResponse) GetAccess() []*AccessLevel1
- func (*ListAccessResponse) ProtoMessage()
- func (x *ListAccessResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccessResponse) Reset()
- func (x *ListAccessResponse) String() string
- type ListBranchRequest
- func (*ListBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchRequest) GetPagination() *Pagination
- func (x *ListBranchRequest) GetRegionId() string
- func (*ListBranchRequest) ProtoMessage()
- func (x *ListBranchRequest) ProtoReflect() protoreflect.Message
- func (x *ListBranchRequest) Reset()
- func (x *ListBranchRequest) String() string
- type ListBranchResponse
- func (*ListBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBranchResponse) GetBranch() *Branch
- func (x *ListBranchResponse) GetPagination() *BranchPaginationResponse
- func (*ListBranchResponse) ProtoMessage()
- func (x *ListBranchResponse) ProtoReflect() protoreflect.Message
- func (x *ListBranchResponse) Reset()
- func (x *ListBranchResponse) String() string
- type ListEmployeeRequest
- func (*ListEmployeeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEmployeeRequest) GetBranchId() string
- func (x *ListEmployeeRequest) GetPagination() *Pagination
- func (x *ListEmployeeRequest) GetRegionId() string
- func (*ListEmployeeRequest) ProtoMessage()
- func (x *ListEmployeeRequest) ProtoReflect() protoreflect.Message
- func (x *ListEmployeeRequest) Reset()
- func (x *ListEmployeeRequest) String() string
- type ListEmployeeResponse
- func (*ListEmployeeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEmployeeResponse) GetEmployee() *Employee
- func (x *ListEmployeeResponse) GetPagination() *EmployeePaginationResponse
- func (*ListEmployeeResponse) ProtoMessage()
- func (x *ListEmployeeResponse) ProtoReflect() protoreflect.Message
- func (x *ListEmployeeResponse) Reset()
- func (x *ListEmployeeResponse) String() string
- type ListFeatureResponse
- func (*ListFeatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFeatureResponse) GetFeature() *Feature
- func (*ListFeatureResponse) ProtoMessage()
- func (x *ListFeatureResponse) ProtoReflect() protoreflect.Message
- func (x *ListFeatureResponse) Reset()
- func (x *ListFeatureResponse) String() string
- type ListGroupRequest
- func (*ListGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupRequest) GetCompanyId() string
- func (x *ListGroupRequest) GetPagination() *Pagination
- func (*ListGroupRequest) ProtoMessage()
- func (x *ListGroupRequest) ProtoReflect() protoreflect.Message
- func (x *ListGroupRequest) Reset()
- func (x *ListGroupRequest) String() string
- type ListGroupResponse
- func (*ListGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGroupResponse) GetGroup() *Group
- func (x *ListGroupResponse) GetPagination() *GroupPaginationResponse
- func (*ListGroupResponse) ProtoMessage()
- func (x *ListGroupResponse) ProtoReflect() protoreflect.Message
- func (x *ListGroupResponse) Reset()
- func (x *ListGroupResponse) String() string
- type ListPackageFeatureResponse
- func (*ListPackageFeatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPackageFeatureResponse) GetPackageOfFeature() *PackageOfFeature
- func (*ListPackageFeatureResponse) ProtoMessage()
- func (x *ListPackageFeatureResponse) ProtoReflect() protoreflect.Message
- func (x *ListPackageFeatureResponse) Reset()
- func (x *ListPackageFeatureResponse) String() string
- type ListRegionRequest
- func (*ListRegionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegionRequest) GetCompanyId() string
- func (x *ListRegionRequest) GetPagination() *Pagination
- func (*ListRegionRequest) ProtoMessage()
- func (x *ListRegionRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegionRequest) Reset()
- func (x *ListRegionRequest) String() string
- type ListRegionResponse
- func (*ListRegionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegionResponse) GetPagination() *RegionPaginationResponse
- func (x *ListRegionResponse) GetRegion() *Region
- func (*ListRegionResponse) ProtoMessage()
- func (x *ListRegionResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegionResponse) Reset()
- func (x *ListRegionResponse) String() string
- type ListUserRequest
- func (*ListUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserRequest) GetBranchId() string
- func (x *ListUserRequest) GetCompanyId() string
- func (x *ListUserRequest) GetPagination() *Pagination
- func (*ListUserRequest) ProtoMessage()
- func (x *ListUserRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserRequest) Reset()
- func (x *ListUserRequest) String() string
- type ListUserResponse
- func (*ListUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserResponse) GetPagination() *UserPaginationResponse
- func (x *ListUserResponse) GetUser() *User
- func (*ListUserResponse) ProtoMessage()
- func (x *ListUserResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserResponse) Reset()
- func (x *ListUserResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetToken() string
- func (x *LoginResponse) GetUser() *User
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type Message
- type MyBoolean
- type MyEmpty
- type MyString
- type PackageFeatureServiceClient
- type PackageFeatureServiceServer
- type PackageFeatureService_ListClient
- type PackageFeatureService_ListServer
- type PackageOfFeature
- func (*PackageOfFeature) Descriptor() ([]byte, []int)deprecated
- func (x *PackageOfFeature) GetFeatures() []*Feature
- func (x *PackageOfFeature) GetId() string
- func (x *PackageOfFeature) GetName() EnumPackageOfFeature
- func (*PackageOfFeature) ProtoMessage()
- func (x *PackageOfFeature) ProtoReflect() protoreflect.Message
- func (x *PackageOfFeature) Reset()
- func (x *PackageOfFeature) String() string
- type Pagination
- func (*Pagination) Descriptor() ([]byte, []int)deprecated
- func (x *Pagination) GetLimit() uint32
- func (x *Pagination) GetOffset() uint32
- func (x *Pagination) GetOrderBy() string
- func (x *Pagination) GetPage() uint32
- func (x *Pagination) GetSearch() string
- func (x *Pagination) GetSort() Pagination_Sort
- func (*Pagination) ProtoMessage()
- func (x *Pagination) ProtoReflect() protoreflect.Message
- func (x *Pagination) Reset()
- func (x *Pagination) String() string
- type Pagination_Sort
- func (Pagination_Sort) Descriptor() protoreflect.EnumDescriptor
- func (x Pagination_Sort) Enum() *Pagination_Sort
- func (Pagination_Sort) EnumDescriptor() ([]byte, []int)deprecated
- func (x Pagination_Sort) Number() protoreflect.EnumNumber
- func (x Pagination_Sort) String() string
- func (Pagination_Sort) Type() protoreflect.EnumType
- type Region
- func (*Region) Descriptor() ([]byte, []int)deprecated
- func (x *Region) GetBranches() []*Branch
- func (x *Region) GetCode() string
- func (x *Region) GetCompanyId() string
- func (x *Region) GetCreatedAt() string
- func (x *Region) GetCreatedBy() string
- func (x *Region) GetId() string
- func (x *Region) GetName() string
- func (x *Region) GetUpdatedAt() string
- func (x *Region) GetUpdatedBy() string
- func (*Region) ProtoMessage()
- func (x *Region) ProtoReflect() protoreflect.Message
- func (x *Region) Reset()
- func (x *Region) String() string
- type RegionPaginationResponse
- func (*RegionPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegionPaginationResponse) GetCompanyId() string
- func (x *RegionPaginationResponse) GetCount() uint32
- func (x *RegionPaginationResponse) GetPagination() *Pagination
- func (*RegionPaginationResponse) ProtoMessage()
- func (x *RegionPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *RegionPaginationResponse) Reset()
- func (x *RegionPaginationResponse) String() string
- type RegionServiceClient
- type RegionServiceServer
- type RegionService_ListClient
- type RegionService_ListServer
- type RequestPassword
- func (*RequestPassword) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPassword) GetCreatedAt() string
- func (x *RequestPassword) GetId() string
- func (x *RequestPassword) GetIsUsed() bool
- func (x *RequestPassword) GetUserId() string
- func (*RequestPassword) ProtoMessage()
- func (x *RequestPassword) ProtoReflect() protoreflect.Message
- func (x *RequestPassword) Reset()
- func (x *RequestPassword) String() string
- type ResetPasswordRequest
- func (*ResetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordRequest) GetNewPassword() string
- func (x *ResetPasswordRequest) GetRePassword() string
- func (x *ResetPasswordRequest) GetToken() string
- func (*ResetPasswordRequest) ProtoMessage()
- func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordRequest) Reset()
- func (x *ResetPasswordRequest) String() string
- type UnimplementedAccessServiceServer
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*Message, error)
- func (UnimplementedAuthServiceServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*Message, error)
- func (UnimplementedAuthServiceServer) IsAuth(context.Context, *MyString) (*MyBoolean, error)
- func (UnimplementedAuthServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedAuthServiceServer) ResetPassword(context.Context, *ResetPasswordRequest) (*Message, error)
- type UnimplementedBranchServiceServer
- func (UnimplementedBranchServiceServer) Create(context.Context, *Branch) (*Branch, error)
- func (UnimplementedBranchServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedBranchServiceServer) List(*ListBranchRequest, BranchService_ListServer) error
- func (UnimplementedBranchServiceServer) Update(context.Context, *Branch) (*Branch, error)
- func (UnimplementedBranchServiceServer) View(context.Context, *Id) (*Branch, error)
- type UnimplementedCompanyServiceServer
- func (UnimplementedCompanyServiceServer) Registration(context.Context, *CompanyRegistration) (*CompanyRegistration, error)
- func (UnimplementedCompanyServiceServer) Update(context.Context, *Company) (*Company, error)
- func (UnimplementedCompanyServiceServer) View(context.Context, *Id) (*Company, error)
- type UnimplementedEmployeeServiceServer
- func (UnimplementedEmployeeServiceServer) Create(context.Context, *Employee) (*Employee, error)
- func (UnimplementedEmployeeServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedEmployeeServiceServer) List(*ListEmployeeRequest, EmployeeService_ListServer) error
- func (UnimplementedEmployeeServiceServer) Update(context.Context, *Employee) (*Employee, error)
- func (UnimplementedEmployeeServiceServer) View(context.Context, *Id) (*Employee, error)
- type UnimplementedFeatureServiceServer
- type UnimplementedGroupServiceServer
- func (UnimplementedGroupServiceServer) Create(context.Context, *Group) (*Group, error)
- func (UnimplementedGroupServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedGroupServiceServer) GrantAccess(context.Context, *GrantAccessRequest) (*Message, error)
- func (UnimplementedGroupServiceServer) List(*ListGroupRequest, GroupService_ListServer) error
- func (UnimplementedGroupServiceServer) RevokeAccess(context.Context, *GrantAccessRequest) (*Message, error)
- func (UnimplementedGroupServiceServer) Update(context.Context, *Group) (*Group, error)
- func (UnimplementedGroupServiceServer) View(context.Context, *Id) (*Group, error)
- type UnimplementedPackageFeatureServiceServer
- type UnimplementedRegionServiceServer
- func (UnimplementedRegionServiceServer) Create(context.Context, *Region) (*Region, error)
- func (UnimplementedRegionServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedRegionServiceServer) List(*ListRegionRequest, RegionService_ListServer) error
- func (UnimplementedRegionServiceServer) Update(context.Context, *Region) (*Region, error)
- func (UnimplementedRegionServiceServer) View(context.Context, *Id) (*Region, error)
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) Create(context.Context, *User) (*User, error)
- func (UnimplementedUserServiceServer) Delete(context.Context, *Id) (*MyBoolean, error)
- func (UnimplementedUserServiceServer) GetByToken(context.Context, *MyEmpty) (*User, error)
- func (UnimplementedUserServiceServer) List(*ListUserRequest, UserService_ListServer) error
- func (UnimplementedUserServiceServer) Update(context.Context, *User) (*User, error)
- func (UnimplementedUserServiceServer) View(context.Context, *Id) (*User, error)
- type UnsafeAccessServiceServer
- type UnsafeAuthServiceServer
- type UnsafeBranchServiceServer
- type UnsafeCompanyServiceServer
- type UnsafeEmployeeServiceServer
- type UnsafeFeatureServiceServer
- type UnsafeGroupServiceServer
- type UnsafePackageFeatureServiceServer
- type UnsafeRegionServiceServer
- type UnsafeUserServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetBranchId() string
- func (x *User) GetCompanyId() string
- func (x *User) GetCreatedAt() string
- func (x *User) GetEmail() string
- func (x *User) GetGroup() *Group
- func (x *User) GetId() string
- func (x *User) GetName() string
- func (x *User) GetRegionId() string
- func (x *User) GetUpdatedAt() string
- func (x *User) GetUpdatedBy() string
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserPaginationResponse
- func (*UserPaginationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserPaginationResponse) GetBranchId() string
- func (x *UserPaginationResponse) GetCompanyId() string
- func (x *UserPaginationResponse) GetCount() uint32
- func (x *UserPaginationResponse) GetPagination() *Pagination
- func (*UserPaginationResponse) ProtoMessage()
- func (x *UserPaginationResponse) ProtoReflect() protoreflect.Message
- func (x *UserPaginationResponse) Reset()
- func (x *UserPaginationResponse) String() string
- type UserServiceClient
- type UserServiceServer
- type UserService_ListClient
- type UserService_ListServer
Constants ¶
const ( AuthService_Login_FullMethodName = "/wiradata.users.AuthService/Login" AuthService_ForgotPassword_FullMethodName = "/wiradata.users.AuthService/ForgotPassword" AuthService_ResetPassword_FullMethodName = "/wiradata.users.AuthService/ResetPassword" AuthService_ChangePassword_FullMethodName = "/wiradata.users.AuthService/ChangePassword" AuthService_IsAuth_FullMethodName = "/wiradata.users.AuthService/IsAuth" )
const ( BranchService_Create_FullMethodName = "/wiradata.users.BranchService/Create" BranchService_Update_FullMethodName = "/wiradata.users.BranchService/Update" BranchService_View_FullMethodName = "/wiradata.users.BranchService/View" BranchService_Delete_FullMethodName = "/wiradata.users.BranchService/Delete" BranchService_List_FullMethodName = "/wiradata.users.BranchService/List" )
const ( CompanyService_Registration_FullMethodName = "/wiradata.users.CompanyService/Registration" CompanyService_Update_FullMethodName = "/wiradata.users.CompanyService/Update" CompanyService_View_FullMethodName = "/wiradata.users.CompanyService/View" )
const ( EmployeeService_Create_FullMethodName = "/wiradata.users.EmployeeService/Create" EmployeeService_Update_FullMethodName = "/wiradata.users.EmployeeService/Update" EmployeeService_View_FullMethodName = "/wiradata.users.EmployeeService/View" EmployeeService_Delete_FullMethodName = "/wiradata.users.EmployeeService/Delete" EmployeeService_List_FullMethodName = "/wiradata.users.EmployeeService/List" )
const ( PackageFeatureService_View_FullMethodName = "/wiradata.users.PackageFeatureService/View" PackageFeatureService_List_FullMethodName = "/wiradata.users.PackageFeatureService/List" )
const ( GroupService_Create_FullMethodName = "/wiradata.users.GroupService/Create" GroupService_Update_FullMethodName = "/wiradata.users.GroupService/Update" GroupService_View_FullMethodName = "/wiradata.users.GroupService/View" GroupService_Delete_FullMethodName = "/wiradata.users.GroupService/Delete" GroupService_List_FullMethodName = "/wiradata.users.GroupService/List" GroupService_GrantAccess_FullMethodName = "/wiradata.users.GroupService/GrantAccess" GroupService_RevokeAccess_FullMethodName = "/wiradata.users.GroupService/RevokeAccess" )
const ( RegionService_Create_FullMethodName = "/wiradata.users.RegionService/Create" RegionService_Update_FullMethodName = "/wiradata.users.RegionService/Update" RegionService_View_FullMethodName = "/wiradata.users.RegionService/View" RegionService_Delete_FullMethodName = "/wiradata.users.RegionService/Delete" RegionService_List_FullMethodName = "/wiradata.users.RegionService/List" )
const ( UserService_Create_FullMethodName = "/wiradata.users.UserService/Create" UserService_Update_FullMethodName = "/wiradata.users.UserService/Update" UserService_View_FullMethodName = "/wiradata.users.UserService/View" UserService_Delete_FullMethodName = "/wiradata.users.UserService/Delete" UserService_List_FullMethodName = "/wiradata.users.UserService/List" UserService_GetByToken_FullMethodName = "/wiradata.users.UserService/GetByToken" )
const (
AccessService_List_FullMethodName = "/wiradata.users.AccessService/List"
)
const (
FeatureService_List_FullMethodName = "/wiradata.users.FeatureService/List"
)
Variables ¶
var ( EnumPackageOfFeature_name = map[int32]string{ 0: "ALL", 1: "SIMPLE", 2: "CUSTOME", } EnumPackageOfFeature_value = map[string]int32{ "ALL": 0, "SIMPLE": 1, "CUSTOME": 2, } )
Enum value maps for EnumPackageOfFeature.
var ( Pagination_Sort_name = map[int32]string{ 0: "ASC", 1: "DESC", } Pagination_Sort_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for Pagination_Sort.
var AccessService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.AccessService", HandlerType: (*AccessServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _AccessService_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "users/access_service.proto", }
AccessService_ServiceDesc is the grpc.ServiceDesc for AccessService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _AuthService_Login_Handler, }, { MethodName: "ForgotPassword", Handler: _AuthService_ForgotPassword_Handler, }, { MethodName: "ResetPassword", Handler: _AuthService_ResetPassword_Handler, }, { MethodName: "ChangePassword", Handler: _AuthService_ChangePassword_Handler, }, { MethodName: "IsAuth", Handler: _AuthService_IsAuth_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "users/auth_service.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var BranchService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.BranchService", HandlerType: (*BranchServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _BranchService_Create_Handler, }, { MethodName: "Update", Handler: _BranchService_Update_Handler, }, { MethodName: "View", Handler: _BranchService_View_Handler, }, { MethodName: "Delete", Handler: _BranchService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _BranchService_List_Handler, ServerStreams: true, }, }, Metadata: "users/branch_service.proto", }
BranchService_ServiceDesc is the grpc.ServiceDesc for BranchService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CompanyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.CompanyService", HandlerType: (*CompanyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Registration", Handler: _CompanyService_Registration_Handler, }, { MethodName: "Update", Handler: _CompanyService_Update_Handler, }, { MethodName: "View", Handler: _CompanyService_View_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "users/company_service.proto", }
CompanyService_ServiceDesc is the grpc.ServiceDesc for CompanyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var EmployeeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.EmployeeService", HandlerType: (*EmployeeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _EmployeeService_Create_Handler, }, { MethodName: "Update", Handler: _EmployeeService_Update_Handler, }, { MethodName: "View", Handler: _EmployeeService_View_Handler, }, { MethodName: "Delete", Handler: _EmployeeService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _EmployeeService_List_Handler, ServerStreams: true, }, }, Metadata: "users/employee_service.proto", }
EmployeeService_ServiceDesc is the grpc.ServiceDesc for EmployeeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var FeatureService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.FeatureService", HandlerType: (*FeatureServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _FeatureService_List_Handler, ServerStreams: true, }, }, Metadata: "users/feature_service.proto", }
FeatureService_ServiceDesc is the grpc.ServiceDesc for FeatureService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_users_access_message_proto protoreflect.FileDescriptor
var File_users_access_service_proto protoreflect.FileDescriptor
var File_users_auth_service_proto protoreflect.FileDescriptor
var File_users_branch_message_proto protoreflect.FileDescriptor
var File_users_branch_service_proto protoreflect.FileDescriptor
var File_users_company_message_proto protoreflect.FileDescriptor
var File_users_company_service_proto protoreflect.FileDescriptor
var File_users_employee_message_proto protoreflect.FileDescriptor
var File_users_employee_service_proto protoreflect.FileDescriptor
var File_users_feature_message_proto protoreflect.FileDescriptor
var File_users_feature_service_proto protoreflect.FileDescriptor
var File_users_generic_message_proto protoreflect.FileDescriptor
var File_users_group_message_proto protoreflect.FileDescriptor
var File_users_group_service_proto protoreflect.FileDescriptor
var File_users_region_message_proto protoreflect.FileDescriptor
var File_users_region_service_proto protoreflect.FileDescriptor
var File_users_request_password_message_proto protoreflect.FileDescriptor
var File_users_user_message_proto protoreflect.FileDescriptor
var File_users_user_service_proto protoreflect.FileDescriptor
var GroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.GroupService", HandlerType: (*GroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _GroupService_Create_Handler, }, { MethodName: "Update", Handler: _GroupService_Update_Handler, }, { MethodName: "View", Handler: _GroupService_View_Handler, }, { MethodName: "Delete", Handler: _GroupService_Delete_Handler, }, { MethodName: "GrantAccess", Handler: _GroupService_GrantAccess_Handler, }, { MethodName: "RevokeAccess", Handler: _GroupService_RevokeAccess_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _GroupService_List_Handler, ServerStreams: true, }, }, Metadata: "users/group_service.proto", }
GroupService_ServiceDesc is the grpc.ServiceDesc for GroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PackageFeatureService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.PackageFeatureService", HandlerType: (*PackageFeatureServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "View", Handler: _PackageFeatureService_View_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _PackageFeatureService_List_Handler, ServerStreams: true, }, }, Metadata: "users/feature_service.proto", }
PackageFeatureService_ServiceDesc is the grpc.ServiceDesc for PackageFeatureService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RegionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.RegionService", HandlerType: (*RegionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _RegionService_Create_Handler, }, { MethodName: "Update", Handler: _RegionService_Update_Handler, }, { MethodName: "View", Handler: _RegionService_View_Handler, }, { MethodName: "Delete", Handler: _RegionService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _RegionService_List_Handler, ServerStreams: true, }, }, Metadata: "users/region_service.proto", }
RegionService_ServiceDesc is the grpc.ServiceDesc for RegionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wiradata.users.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _UserService_Create_Handler, }, { MethodName: "Update", Handler: _UserService_Update_Handler, }, { MethodName: "View", Handler: _UserService_View_Handler, }, { MethodName: "Delete", Handler: _UserService_Delete_Handler, }, { MethodName: "GetByToken", Handler: _UserService_GetByToken_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _UserService_List_Handler, ServerStreams: true, }, }, Metadata: "users/user_service.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAccessServiceServer ¶
func RegisterAccessServiceServer(s grpc.ServiceRegistrar, srv AccessServiceServer)
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterBranchServiceServer ¶
func RegisterBranchServiceServer(s grpc.ServiceRegistrar, srv BranchServiceServer)
func RegisterCompanyServiceServer ¶
func RegisterCompanyServiceServer(s grpc.ServiceRegistrar, srv CompanyServiceServer)
func RegisterEmployeeServiceServer ¶
func RegisterEmployeeServiceServer(s grpc.ServiceRegistrar, srv EmployeeServiceServer)
func RegisterFeatureServiceServer ¶
func RegisterFeatureServiceServer(s grpc.ServiceRegistrar, srv FeatureServiceServer)
func RegisterGroupServiceServer ¶
func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer)
func RegisterPackageFeatureServiceServer ¶
func RegisterPackageFeatureServiceServer(s grpc.ServiceRegistrar, srv PackageFeatureServiceServer)
func RegisterRegionServiceServer ¶
func RegisterRegionServiceServer(s grpc.ServiceRegistrar, srv RegionServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type Access ¶
type Access struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Route string `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Access) Descriptor
deprecated
func (*Access) GetCreatedAt ¶
func (*Access) GetDescription ¶
func (*Access) ProtoMessage ¶
func (*Access) ProtoMessage()
func (*Access) ProtoReflect ¶
func (x *Access) ProtoReflect() protoreflect.Message
type AccessLevel1 ¶
type AccessLevel1 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Route string `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Children []*AccessLevel2 `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*AccessLevel1) Descriptor
deprecated
func (*AccessLevel1) Descriptor() ([]byte, []int)
Deprecated: Use AccessLevel1.ProtoReflect.Descriptor instead.
func (*AccessLevel1) GetChildren ¶
func (x *AccessLevel1) GetChildren() []*AccessLevel2
func (*AccessLevel1) GetCreatedAt ¶
func (x *AccessLevel1) GetCreatedAt() string
func (*AccessLevel1) GetDescription ¶
func (x *AccessLevel1) GetDescription() string
func (*AccessLevel1) GetId ¶
func (x *AccessLevel1) GetId() string
func (*AccessLevel1) GetName ¶
func (x *AccessLevel1) GetName() string
func (*AccessLevel1) GetRoute ¶
func (x *AccessLevel1) GetRoute() string
func (*AccessLevel1) ProtoMessage ¶
func (*AccessLevel1) ProtoMessage()
func (*AccessLevel1) ProtoReflect ¶
func (x *AccessLevel1) ProtoReflect() protoreflect.Message
func (*AccessLevel1) Reset ¶
func (x *AccessLevel1) Reset()
func (*AccessLevel1) String ¶
func (x *AccessLevel1) String() string
type AccessLevel2 ¶
type AccessLevel2 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Route string `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Children []*Access `protobuf:"bytes,6,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
func (*AccessLevel2) Descriptor
deprecated
func (*AccessLevel2) Descriptor() ([]byte, []int)
Deprecated: Use AccessLevel2.ProtoReflect.Descriptor instead.
func (*AccessLevel2) GetChildren ¶
func (x *AccessLevel2) GetChildren() []*Access
func (*AccessLevel2) GetCreatedAt ¶
func (x *AccessLevel2) GetCreatedAt() string
func (*AccessLevel2) GetDescription ¶
func (x *AccessLevel2) GetDescription() string
func (*AccessLevel2) GetId ¶
func (x *AccessLevel2) GetId() string
func (*AccessLevel2) GetName ¶
func (x *AccessLevel2) GetName() string
func (*AccessLevel2) GetRoute ¶
func (x *AccessLevel2) GetRoute() string
func (*AccessLevel2) ProtoMessage ¶
func (*AccessLevel2) ProtoMessage()
func (*AccessLevel2) ProtoReflect ¶
func (x *AccessLevel2) ProtoReflect() protoreflect.Message
func (*AccessLevel2) Reset ¶
func (x *AccessLevel2) Reset()
func (*AccessLevel2) String ¶
func (x *AccessLevel2) String() string
type AccessServiceClient ¶
type AccessServiceClient interface {
List(ctx context.Context, in *MyEmpty, opts ...grpc.CallOption) (*ListAccessResponse, error)
}
AccessServiceClient is the client API for AccessService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAccessServiceClient ¶
func NewAccessServiceClient(cc grpc.ClientConnInterface) AccessServiceClient
type AccessServiceServer ¶
type AccessServiceServer interface { List(context.Context, *MyEmpty) (*ListAccessResponse, error) // contains filtered or unexported methods }
AccessServiceServer is the server API for AccessService service. All implementations must embed UnimplementedAccessServiceServer for forward compatibility
type AuthServiceClient ¶
type AuthServiceClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) ForgotPassword(ctx context.Context, in *ForgotPasswordRequest, opts ...grpc.CallOption) (*Message, error) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*Message, error) ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*Message, error) IsAuth(ctx context.Context, in *MyString, opts ...grpc.CallOption) (*MyBoolean, error) }
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { Login(context.Context, *LoginRequest) (*LoginResponse, error) ForgotPassword(context.Context, *ForgotPasswordRequest) (*Message, error) ResetPassword(context.Context, *ResetPasswordRequest) (*Message, error) ChangePassword(context.Context, *ChangePasswordRequest) (*Message, error) IsAuth(context.Context, *MyString) (*MyBoolean, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type Branch ¶
type Branch struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` RegionId string `protobuf:"bytes,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` RegionName string `protobuf:"bytes,4,opt,name=region_name,json=regionName,proto3" json:"region_name,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` City string `protobuf:"bytes,8,opt,name=city,proto3" json:"city,omitempty"` Province string `protobuf:"bytes,9,opt,name=province,proto3" json:"province,omitempty"` Npwp string `protobuf:"bytes,10,opt,name=npwp,proto3" json:"npwp,omitempty"` Phone string `protobuf:"bytes,11,opt,name=phone,proto3" json:"phone,omitempty"` Pic string `protobuf:"bytes,12,opt,name=pic,proto3" json:"pic,omitempty"` PicPhone string `protobuf:"bytes,13,opt,name=pic_phone,json=picPhone,proto3" json:"pic_phone,omitempty"` CreatedAt string `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,15,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,17,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Branch) Descriptor
deprecated
func (*Branch) GetAddress ¶
func (*Branch) GetCompanyId ¶
func (*Branch) GetCreatedAt ¶
func (*Branch) GetCreatedBy ¶
func (*Branch) GetPicPhone ¶
func (*Branch) GetProvince ¶
func (*Branch) GetRegionId ¶
func (*Branch) GetRegionName ¶
func (*Branch) GetUpdatedAt ¶
func (*Branch) GetUpdatedBy ¶
func (*Branch) ProtoMessage ¶
func (*Branch) ProtoMessage()
func (*Branch) ProtoReflect ¶
func (x *Branch) ProtoReflect() protoreflect.Message
type BranchPaginationResponse ¶
type BranchPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*BranchPaginationResponse) Descriptor
deprecated
func (*BranchPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use BranchPaginationResponse.ProtoReflect.Descriptor instead.
func (*BranchPaginationResponse) GetCount ¶
func (x *BranchPaginationResponse) GetCount() uint32
func (*BranchPaginationResponse) GetPagination ¶
func (x *BranchPaginationResponse) GetPagination() *Pagination
func (*BranchPaginationResponse) GetRegionId ¶
func (x *BranchPaginationResponse) GetRegionId() string
func (*BranchPaginationResponse) ProtoMessage ¶
func (*BranchPaginationResponse) ProtoMessage()
func (*BranchPaginationResponse) ProtoReflect ¶
func (x *BranchPaginationResponse) ProtoReflect() protoreflect.Message
func (*BranchPaginationResponse) Reset ¶
func (x *BranchPaginationResponse) Reset()
func (*BranchPaginationResponse) String ¶
func (x *BranchPaginationResponse) String() string
type BranchServiceClient ¶
type BranchServiceClient interface { Create(ctx context.Context, in *Branch, opts ...grpc.CallOption) (*Branch, error) Update(ctx context.Context, in *Branch, opts ...grpc.CallOption) (*Branch, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Branch, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListBranchRequest, opts ...grpc.CallOption) (BranchService_ListClient, error) }
BranchServiceClient is the client API for BranchService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBranchServiceClient ¶
func NewBranchServiceClient(cc grpc.ClientConnInterface) BranchServiceClient
type BranchServiceServer ¶
type BranchServiceServer interface { Create(context.Context, *Branch) (*Branch, error) Update(context.Context, *Branch) (*Branch, error) View(context.Context, *Id) (*Branch, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListBranchRequest, BranchService_ListServer) error // contains filtered or unexported methods }
BranchServiceServer is the server API for BranchService service. All implementations must embed UnimplementedBranchServiceServer for forward compatibility
type BranchService_ListClient ¶
type BranchService_ListClient interface { Recv() (*ListBranchResponse, error) grpc.ClientStream }
type BranchService_ListServer ¶
type BranchService_ListServer interface { Send(*ListBranchResponse) error grpc.ServerStream }
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` RePassword string `protobuf:"bytes,3,opt,name=re_password,json=rePassword,proto3" json:"re_password,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetNewPassword ¶
func (x *ChangePasswordRequest) GetNewPassword() string
func (*ChangePasswordRequest) GetOldPassword ¶
func (x *ChangePasswordRequest) GetOldPassword() string
func (*ChangePasswordRequest) GetRePassword ¶
func (x *ChangePasswordRequest) GetRePassword() string
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
type Company ¶
type Company struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` City string `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"` Province string `protobuf:"bytes,6,opt,name=province,proto3" json:"province,omitempty"` Npwp string `protobuf:"bytes,7,opt,name=npwp,proto3" json:"npwp,omitempty"` Phone string `protobuf:"bytes,8,opt,name=phone,proto3" json:"phone,omitempty"` Pic string `protobuf:"bytes,9,opt,name=pic,proto3" json:"pic,omitempty"` PicPhone string `protobuf:"bytes,10,opt,name=pic_phone,json=picPhone,proto3" json:"pic_phone,omitempty"` Logo string `protobuf:"bytes,11,opt,name=logo,proto3" json:"logo,omitempty"` PackageOfFeature EnumPackageOfFeature `` /* 154-byte string literal not displayed */ Features []*Feature `protobuf:"bytes,13,rep,name=features,proto3" json:"features,omitempty"` CreatedAt string `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,16,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Company) Descriptor
deprecated
func (*Company) GetAddress ¶
func (*Company) GetCreatedAt ¶
func (*Company) GetFeatures ¶
func (*Company) GetPackageOfFeature ¶
func (x *Company) GetPackageOfFeature() EnumPackageOfFeature
func (*Company) GetPicPhone ¶
func (*Company) GetProvince ¶
func (*Company) GetUpdatedAt ¶
func (*Company) GetUpdatedBy ¶
func (*Company) ProtoMessage ¶
func (*Company) ProtoMessage()
func (*Company) ProtoReflect ¶
func (x *Company) ProtoReflect() protoreflect.Message
type CompanyRegistration ¶
type CompanyRegistration struct { Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CompanyRegistration) Descriptor
deprecated
func (*CompanyRegistration) Descriptor() ([]byte, []int)
Deprecated: Use CompanyRegistration.ProtoReflect.Descriptor instead.
func (*CompanyRegistration) GetCompany ¶
func (x *CompanyRegistration) GetCompany() *Company
func (*CompanyRegistration) GetUser ¶
func (x *CompanyRegistration) GetUser() *User
func (*CompanyRegistration) ProtoMessage ¶
func (*CompanyRegistration) ProtoMessage()
func (*CompanyRegistration) ProtoReflect ¶
func (x *CompanyRegistration) ProtoReflect() protoreflect.Message
func (*CompanyRegistration) Reset ¶
func (x *CompanyRegistration) Reset()
func (*CompanyRegistration) String ¶
func (x *CompanyRegistration) String() string
type CompanyServiceClient ¶
type CompanyServiceClient interface { Registration(ctx context.Context, in *CompanyRegistration, opts ...grpc.CallOption) (*CompanyRegistration, error) Update(ctx context.Context, in *Company, opts ...grpc.CallOption) (*Company, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Company, error) }
CompanyServiceClient is the client API for CompanyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCompanyServiceClient ¶
func NewCompanyServiceClient(cc grpc.ClientConnInterface) CompanyServiceClient
type CompanyServiceServer ¶
type CompanyServiceServer interface { Registration(context.Context, *CompanyRegistration) (*CompanyRegistration, error) Update(context.Context, *Company) (*Company, error) View(context.Context, *Id) (*Company, error) // contains filtered or unexported methods }
CompanyServiceServer is the server API for CompanyService service. All implementations must embed UnimplementedCompanyServiceServer for forward compatibility
type Employee ¶
type Employee struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` City string `protobuf:"bytes,6,opt,name=city,proto3" json:"city,omitempty"` Province string `protobuf:"bytes,7,opt,name=province,proto3" json:"province,omitempty"` Jabatan string `protobuf:"bytes,8,opt,name=jabatan,proto3" json:"jabatan,omitempty"` CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,10,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,12,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Employee) Descriptor
deprecated
func (*Employee) GetAddress ¶
func (*Employee) GetCreatedAt ¶
func (*Employee) GetCreatedBy ¶
func (*Employee) GetJabatan ¶
func (*Employee) GetProvince ¶
func (*Employee) GetUpdatedAt ¶
func (*Employee) GetUpdatedBy ¶
func (*Employee) ProtoMessage ¶
func (*Employee) ProtoMessage()
func (*Employee) ProtoReflect ¶
func (x *Employee) ProtoReflect() protoreflect.Message
type EmployeePaginationResponse ¶
type EmployeePaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*EmployeePaginationResponse) Descriptor
deprecated
func (*EmployeePaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmployeePaginationResponse.ProtoReflect.Descriptor instead.
func (*EmployeePaginationResponse) GetBranchId ¶
func (x *EmployeePaginationResponse) GetBranchId() string
func (*EmployeePaginationResponse) GetCount ¶
func (x *EmployeePaginationResponse) GetCount() uint32
func (*EmployeePaginationResponse) GetPagination ¶
func (x *EmployeePaginationResponse) GetPagination() *Pagination
func (*EmployeePaginationResponse) GetRegionId ¶
func (x *EmployeePaginationResponse) GetRegionId() string
func (*EmployeePaginationResponse) ProtoMessage ¶
func (*EmployeePaginationResponse) ProtoMessage()
func (*EmployeePaginationResponse) ProtoReflect ¶
func (x *EmployeePaginationResponse) ProtoReflect() protoreflect.Message
func (*EmployeePaginationResponse) Reset ¶
func (x *EmployeePaginationResponse) Reset()
func (*EmployeePaginationResponse) String ¶
func (x *EmployeePaginationResponse) String() string
type EmployeeServiceClient ¶
type EmployeeServiceClient interface { Create(ctx context.Context, in *Employee, opts ...grpc.CallOption) (*Employee, error) Update(ctx context.Context, in *Employee, opts ...grpc.CallOption) (*Employee, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Employee, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListEmployeeRequest, opts ...grpc.CallOption) (EmployeeService_ListClient, error) }
EmployeeServiceClient is the client API for EmployeeService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewEmployeeServiceClient ¶
func NewEmployeeServiceClient(cc grpc.ClientConnInterface) EmployeeServiceClient
type EmployeeServiceServer ¶
type EmployeeServiceServer interface { Create(context.Context, *Employee) (*Employee, error) Update(context.Context, *Employee) (*Employee, error) View(context.Context, *Id) (*Employee, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListEmployeeRequest, EmployeeService_ListServer) error // contains filtered or unexported methods }
EmployeeServiceServer is the server API for EmployeeService service. All implementations must embed UnimplementedEmployeeServiceServer for forward compatibility
type EmployeeService_ListClient ¶
type EmployeeService_ListClient interface { Recv() (*ListEmployeeResponse, error) grpc.ClientStream }
type EmployeeService_ListServer ¶
type EmployeeService_ListServer interface { Send(*ListEmployeeResponse) error grpc.ServerStream }
type EnumPackageOfFeature ¶
type EnumPackageOfFeature int32
const ( EnumPackageOfFeature_ALL EnumPackageOfFeature = 0 EnumPackageOfFeature_SIMPLE EnumPackageOfFeature = 1 EnumPackageOfFeature_CUSTOME EnumPackageOfFeature = 2 )
func (EnumPackageOfFeature) Descriptor ¶
func (EnumPackageOfFeature) Descriptor() protoreflect.EnumDescriptor
func (EnumPackageOfFeature) Enum ¶
func (x EnumPackageOfFeature) Enum() *EnumPackageOfFeature
func (EnumPackageOfFeature) EnumDescriptor
deprecated
func (EnumPackageOfFeature) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumPackageOfFeature.Descriptor instead.
func (EnumPackageOfFeature) Number ¶
func (x EnumPackageOfFeature) Number() protoreflect.EnumNumber
func (EnumPackageOfFeature) String ¶
func (x EnumPackageOfFeature) String() string
func (EnumPackageOfFeature) Type ¶
func (EnumPackageOfFeature) Type() protoreflect.EnumType
type Feature ¶
type Feature struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,6,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Feature) Descriptor
deprecated
func (*Feature) GetCreatedAt ¶
func (*Feature) GetCreatedBy ¶
func (*Feature) GetUpdatedAt ¶
func (*Feature) GetUpdatedBy ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) ProtoReflect ¶
func (x *Feature) ProtoReflect() protoreflect.Message
type FeatureServiceClient ¶
type FeatureServiceClient interface {
List(ctx context.Context, in *MyEmpty, opts ...grpc.CallOption) (FeatureService_ListClient, error)
}
FeatureServiceClient is the client API for FeatureService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFeatureServiceClient ¶
func NewFeatureServiceClient(cc grpc.ClientConnInterface) FeatureServiceClient
type FeatureServiceServer ¶
type FeatureServiceServer interface { List(*MyEmpty, FeatureService_ListServer) error // contains filtered or unexported methods }
FeatureServiceServer is the server API for FeatureService service. All implementations must embed UnimplementedFeatureServiceServer for forward compatibility
type FeatureService_ListClient ¶
type FeatureService_ListClient interface { Recv() (*ListFeatureResponse, error) grpc.ClientStream }
type FeatureService_ListServer ¶
type FeatureService_ListServer interface { Send(*ListFeatureResponse) error grpc.ServerStream }
type ForgotPasswordRequest ¶
type ForgotPasswordRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*ForgotPasswordRequest) Descriptor
deprecated
func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead.
func (*ForgotPasswordRequest) GetEmail ¶
func (x *ForgotPasswordRequest) GetEmail() string
func (*ForgotPasswordRequest) ProtoMessage ¶
func (*ForgotPasswordRequest) ProtoMessage()
func (*ForgotPasswordRequest) ProtoReflect ¶
func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
func (*ForgotPasswordRequest) Reset ¶
func (x *ForgotPasswordRequest) Reset()
func (*ForgotPasswordRequest) String ¶
func (x *ForgotPasswordRequest) String() string
type GrantAccessRequest ¶
type GrantAccessRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` AccessId string `protobuf:"bytes,2,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` // contains filtered or unexported fields }
func (*GrantAccessRequest) Descriptor
deprecated
func (*GrantAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantAccessRequest.ProtoReflect.Descriptor instead.
func (*GrantAccessRequest) GetAccessId ¶
func (x *GrantAccessRequest) GetAccessId() string
func (*GrantAccessRequest) GetGroupId ¶
func (x *GrantAccessRequest) GetGroupId() string
func (*GrantAccessRequest) ProtoMessage ¶
func (*GrantAccessRequest) ProtoMessage()
func (*GrantAccessRequest) ProtoReflect ¶
func (x *GrantAccessRequest) ProtoReflect() protoreflect.Message
func (*GrantAccessRequest) Reset ¶
func (x *GrantAccessRequest) Reset()
func (*GrantAccessRequest) String ¶
func (x *GrantAccessRequest) String() string
type Group ¶
type Group struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` IsMutable bool `protobuf:"varint,4,opt,name=is_mutable,json=isMutable,proto3" json:"is_mutable,omitempty"` Access []*Access `protobuf:"bytes,5,rep,name=access,proto3" json:"access,omitempty"` CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,9,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Group) Descriptor
deprecated
func (*Group) GetCompanyId ¶
func (*Group) GetCreatedAt ¶
func (*Group) GetCreatedBy ¶
func (*Group) GetIsMutable ¶
func (*Group) GetUpdatedAt ¶
func (*Group) GetUpdatedBy ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type GroupPaginationResponse ¶
type GroupPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GroupPaginationResponse) Descriptor
deprecated
func (*GroupPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupPaginationResponse.ProtoReflect.Descriptor instead.
func (*GroupPaginationResponse) GetCount ¶
func (x *GroupPaginationResponse) GetCount() uint32
func (*GroupPaginationResponse) GetPagination ¶
func (x *GroupPaginationResponse) GetPagination() *Pagination
func (*GroupPaginationResponse) ProtoMessage ¶
func (*GroupPaginationResponse) ProtoMessage()
func (*GroupPaginationResponse) ProtoReflect ¶
func (x *GroupPaginationResponse) ProtoReflect() protoreflect.Message
func (*GroupPaginationResponse) Reset ¶
func (x *GroupPaginationResponse) Reset()
func (*GroupPaginationResponse) String ¶
func (x *GroupPaginationResponse) String() string
type GroupServiceClient ¶
type GroupServiceClient interface { Create(ctx context.Context, in *Group, opts ...grpc.CallOption) (*Group, error) Update(ctx context.Context, in *Group, opts ...grpc.CallOption) (*Group, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Group, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListGroupRequest, opts ...grpc.CallOption) (GroupService_ListClient, error) GrantAccess(ctx context.Context, in *GrantAccessRequest, opts ...grpc.CallOption) (*Message, error) RevokeAccess(ctx context.Context, in *GrantAccessRequest, opts ...grpc.CallOption) (*Message, error) }
GroupServiceClient is the client API for GroupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGroupServiceClient ¶
func NewGroupServiceClient(cc grpc.ClientConnInterface) GroupServiceClient
type GroupServiceServer ¶
type GroupServiceServer interface { Create(context.Context, *Group) (*Group, error) Update(context.Context, *Group) (*Group, error) View(context.Context, *Id) (*Group, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListGroupRequest, GroupService_ListServer) error GrantAccess(context.Context, *GrantAccessRequest) (*Message, error) RevokeAccess(context.Context, *GrantAccessRequest) (*Message, error) // contains filtered or unexported methods }
GroupServiceServer is the server API for GroupService service. All implementations must embed UnimplementedGroupServiceServer for forward compatibility
type GroupService_ListClient ¶
type GroupService_ListClient interface { Recv() (*ListGroupResponse, error) grpc.ClientStream }
type GroupService_ListServer ¶
type GroupService_ListServer interface { Send(*ListGroupResponse) error grpc.ServerStream }
type Id ¶
type Id struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Id) Descriptor
deprecated
func (*Id) ProtoMessage ¶
func (*Id) ProtoMessage()
func (*Id) ProtoReflect ¶
func (x *Id) ProtoReflect() protoreflect.Message
type ListAccessResponse ¶
type ListAccessResponse struct { Access []*AccessLevel1 `protobuf:"bytes,1,rep,name=access,proto3" json:"access,omitempty"` // contains filtered or unexported fields }
func (*ListAccessResponse) Descriptor
deprecated
func (*ListAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessResponse.ProtoReflect.Descriptor instead.
func (*ListAccessResponse) GetAccess ¶
func (x *ListAccessResponse) GetAccess() []*AccessLevel1
func (*ListAccessResponse) ProtoMessage ¶
func (*ListAccessResponse) ProtoMessage()
func (*ListAccessResponse) ProtoReflect ¶
func (x *ListAccessResponse) ProtoReflect() protoreflect.Message
func (*ListAccessResponse) Reset ¶
func (x *ListAccessResponse) Reset()
func (*ListAccessResponse) String ¶
func (x *ListAccessResponse) String() string
type ListBranchRequest ¶
type ListBranchRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // contains filtered or unexported fields }
func (*ListBranchRequest) Descriptor
deprecated
func (*ListBranchRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchRequest.ProtoReflect.Descriptor instead.
func (*ListBranchRequest) GetPagination ¶
func (x *ListBranchRequest) GetPagination() *Pagination
func (*ListBranchRequest) GetRegionId ¶
func (x *ListBranchRequest) GetRegionId() string
func (*ListBranchRequest) ProtoMessage ¶
func (*ListBranchRequest) ProtoMessage()
func (*ListBranchRequest) ProtoReflect ¶
func (x *ListBranchRequest) ProtoReflect() protoreflect.Message
func (*ListBranchRequest) Reset ¶
func (x *ListBranchRequest) Reset()
func (*ListBranchRequest) String ¶
func (x *ListBranchRequest) String() string
type ListBranchResponse ¶
type ListBranchResponse struct { Pagination *BranchPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // contains filtered or unexported fields }
func (*ListBranchResponse) Descriptor
deprecated
func (*ListBranchResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBranchResponse.ProtoReflect.Descriptor instead.
func (*ListBranchResponse) GetBranch ¶
func (x *ListBranchResponse) GetBranch() *Branch
func (*ListBranchResponse) GetPagination ¶
func (x *ListBranchResponse) GetPagination() *BranchPaginationResponse
func (*ListBranchResponse) ProtoMessage ¶
func (*ListBranchResponse) ProtoMessage()
func (*ListBranchResponse) ProtoReflect ¶
func (x *ListBranchResponse) ProtoReflect() protoreflect.Message
func (*ListBranchResponse) Reset ¶
func (x *ListBranchResponse) Reset()
func (*ListBranchResponse) String ¶
func (x *ListBranchResponse) String() string
type ListEmployeeRequest ¶
type ListEmployeeRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` // contains filtered or unexported fields }
func (*ListEmployeeRequest) Descriptor
deprecated
func (*ListEmployeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEmployeeRequest.ProtoReflect.Descriptor instead.
func (*ListEmployeeRequest) GetBranchId ¶
func (x *ListEmployeeRequest) GetBranchId() string
func (*ListEmployeeRequest) GetPagination ¶
func (x *ListEmployeeRequest) GetPagination() *Pagination
func (*ListEmployeeRequest) GetRegionId ¶
func (x *ListEmployeeRequest) GetRegionId() string
func (*ListEmployeeRequest) ProtoMessage ¶
func (*ListEmployeeRequest) ProtoMessage()
func (*ListEmployeeRequest) ProtoReflect ¶
func (x *ListEmployeeRequest) ProtoReflect() protoreflect.Message
func (*ListEmployeeRequest) Reset ¶
func (x *ListEmployeeRequest) Reset()
func (*ListEmployeeRequest) String ¶
func (x *ListEmployeeRequest) String() string
type ListEmployeeResponse ¶
type ListEmployeeResponse struct { Pagination *EmployeePaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Employee *Employee `protobuf:"bytes,2,opt,name=employee,proto3" json:"employee,omitempty"` // contains filtered or unexported fields }
func (*ListEmployeeResponse) Descriptor
deprecated
func (*ListEmployeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEmployeeResponse.ProtoReflect.Descriptor instead.
func (*ListEmployeeResponse) GetEmployee ¶
func (x *ListEmployeeResponse) GetEmployee() *Employee
func (*ListEmployeeResponse) GetPagination ¶
func (x *ListEmployeeResponse) GetPagination() *EmployeePaginationResponse
func (*ListEmployeeResponse) ProtoMessage ¶
func (*ListEmployeeResponse) ProtoMessage()
func (*ListEmployeeResponse) ProtoReflect ¶
func (x *ListEmployeeResponse) ProtoReflect() protoreflect.Message
func (*ListEmployeeResponse) Reset ¶
func (x *ListEmployeeResponse) Reset()
func (*ListEmployeeResponse) String ¶
func (x *ListEmployeeResponse) String() string
type ListFeatureResponse ¶
type ListFeatureResponse struct { Feature *Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` // contains filtered or unexported fields }
func (*ListFeatureResponse) Descriptor
deprecated
func (*ListFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFeatureResponse.ProtoReflect.Descriptor instead.
func (*ListFeatureResponse) GetFeature ¶
func (x *ListFeatureResponse) GetFeature() *Feature
func (*ListFeatureResponse) ProtoMessage ¶
func (*ListFeatureResponse) ProtoMessage()
func (*ListFeatureResponse) ProtoReflect ¶
func (x *ListFeatureResponse) ProtoReflect() protoreflect.Message
func (*ListFeatureResponse) Reset ¶
func (x *ListFeatureResponse) Reset()
func (*ListFeatureResponse) String ¶
func (x *ListFeatureResponse) String() string
type ListGroupRequest ¶
type ListGroupRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` // contains filtered or unexported fields }
func (*ListGroupRequest) Descriptor
deprecated
func (*ListGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupRequest.ProtoReflect.Descriptor instead.
func (*ListGroupRequest) GetCompanyId ¶
func (x *ListGroupRequest) GetCompanyId() string
func (*ListGroupRequest) GetPagination ¶
func (x *ListGroupRequest) GetPagination() *Pagination
func (*ListGroupRequest) ProtoMessage ¶
func (*ListGroupRequest) ProtoMessage()
func (*ListGroupRequest) ProtoReflect ¶
func (x *ListGroupRequest) ProtoReflect() protoreflect.Message
func (*ListGroupRequest) Reset ¶
func (x *ListGroupRequest) Reset()
func (*ListGroupRequest) String ¶
func (x *ListGroupRequest) String() string
type ListGroupResponse ¶
type ListGroupResponse struct { Pagination *GroupPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Group *Group `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*ListGroupResponse) Descriptor
deprecated
func (*ListGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGroupResponse.ProtoReflect.Descriptor instead.
func (*ListGroupResponse) GetGroup ¶
func (x *ListGroupResponse) GetGroup() *Group
func (*ListGroupResponse) GetPagination ¶
func (x *ListGroupResponse) GetPagination() *GroupPaginationResponse
func (*ListGroupResponse) ProtoMessage ¶
func (*ListGroupResponse) ProtoMessage()
func (*ListGroupResponse) ProtoReflect ¶
func (x *ListGroupResponse) ProtoReflect() protoreflect.Message
func (*ListGroupResponse) Reset ¶
func (x *ListGroupResponse) Reset()
func (*ListGroupResponse) String ¶
func (x *ListGroupResponse) String() string
type ListPackageFeatureResponse ¶
type ListPackageFeatureResponse struct { PackageOfFeature *PackageOfFeature `protobuf:"bytes,1,opt,name=package_of_feature,json=packageOfFeature,proto3" json:"package_of_feature,omitempty"` // contains filtered or unexported fields }
func (*ListPackageFeatureResponse) Descriptor
deprecated
func (*ListPackageFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPackageFeatureResponse.ProtoReflect.Descriptor instead.
func (*ListPackageFeatureResponse) GetPackageOfFeature ¶
func (x *ListPackageFeatureResponse) GetPackageOfFeature() *PackageOfFeature
func (*ListPackageFeatureResponse) ProtoMessage ¶
func (*ListPackageFeatureResponse) ProtoMessage()
func (*ListPackageFeatureResponse) ProtoReflect ¶
func (x *ListPackageFeatureResponse) ProtoReflect() protoreflect.Message
func (*ListPackageFeatureResponse) Reset ¶
func (x *ListPackageFeatureResponse) Reset()
func (*ListPackageFeatureResponse) String ¶
func (x *ListPackageFeatureResponse) String() string
type ListRegionRequest ¶
type ListRegionRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` // contains filtered or unexported fields }
func (*ListRegionRequest) Descriptor
deprecated
func (*ListRegionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegionRequest.ProtoReflect.Descriptor instead.
func (*ListRegionRequest) GetCompanyId ¶
func (x *ListRegionRequest) GetCompanyId() string
func (*ListRegionRequest) GetPagination ¶
func (x *ListRegionRequest) GetPagination() *Pagination
func (*ListRegionRequest) ProtoMessage ¶
func (*ListRegionRequest) ProtoMessage()
func (*ListRegionRequest) ProtoReflect ¶
func (x *ListRegionRequest) ProtoReflect() protoreflect.Message
func (*ListRegionRequest) Reset ¶
func (x *ListRegionRequest) Reset()
func (*ListRegionRequest) String ¶
func (x *ListRegionRequest) String() string
type ListRegionResponse ¶
type ListRegionResponse struct { Pagination *RegionPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` Region *Region `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
func (*ListRegionResponse) Descriptor
deprecated
func (*ListRegionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegionResponse.ProtoReflect.Descriptor instead.
func (*ListRegionResponse) GetPagination ¶
func (x *ListRegionResponse) GetPagination() *RegionPaginationResponse
func (*ListRegionResponse) GetRegion ¶
func (x *ListRegionResponse) GetRegion() *Region
func (*ListRegionResponse) ProtoMessage ¶
func (*ListRegionResponse) ProtoMessage()
func (*ListRegionResponse) ProtoReflect ¶
func (x *ListRegionResponse) ProtoReflect() protoreflect.Message
func (*ListRegionResponse) Reset ¶
func (x *ListRegionResponse) Reset()
func (*ListRegionResponse) String ¶
func (x *ListRegionResponse) String() string
type ListUserRequest ¶
type ListUserRequest struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` // contains filtered or unexported fields }
func (*ListUserRequest) Descriptor
deprecated
func (*ListUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.
func (*ListUserRequest) GetBranchId ¶
func (x *ListUserRequest) GetBranchId() string
func (*ListUserRequest) GetCompanyId ¶
func (x *ListUserRequest) GetCompanyId() string
func (*ListUserRequest) GetPagination ¶
func (x *ListUserRequest) GetPagination() *Pagination
func (*ListUserRequest) ProtoMessage ¶
func (*ListUserRequest) ProtoMessage()
func (*ListUserRequest) ProtoReflect ¶
func (x *ListUserRequest) ProtoReflect() protoreflect.Message
func (*ListUserRequest) Reset ¶
func (x *ListUserRequest) Reset()
func (*ListUserRequest) String ¶
func (x *ListUserRequest) String() string
type ListUserResponse ¶
type ListUserResponse struct { Pagination *UserPaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*ListUserResponse) Descriptor
deprecated
func (*ListUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserResponse.ProtoReflect.Descriptor instead.
func (*ListUserResponse) GetPagination ¶
func (x *ListUserResponse) GetPagination() *UserPaginationResponse
func (*ListUserResponse) GetUser ¶
func (x *ListUserResponse) GetUser() *User
func (*ListUserResponse) ProtoMessage ¶
func (*ListUserResponse) ProtoMessage()
func (*ListUserResponse) ProtoReflect ¶
func (x *ListUserResponse) ProtoReflect() protoreflect.Message
func (*ListUserResponse) Reset ¶
func (x *ListUserResponse) Reset()
func (*ListUserResponse) String ¶
func (x *ListUserResponse) String() string
type LoginRequest ¶
type LoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetUsername ¶
func (x *LoginRequest) GetUsername() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) GetUser ¶
func (x *LoginResponse) GetUser() *User
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type Message ¶
type Message struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetMessage ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MyBoolean ¶
type MyBoolean struct { Boolean bool `protobuf:"varint,1,opt,name=boolean,proto3" json:"boolean,omitempty"` // contains filtered or unexported fields }
func (*MyBoolean) Descriptor
deprecated
func (*MyBoolean) GetBoolean ¶
func (*MyBoolean) ProtoMessage ¶
func (*MyBoolean) ProtoMessage()
func (*MyBoolean) ProtoReflect ¶
func (x *MyBoolean) ProtoReflect() protoreflect.Message
type MyEmpty ¶
type MyEmpty struct {
// contains filtered or unexported fields
}
func (*MyEmpty) Descriptor
deprecated
func (*MyEmpty) ProtoMessage ¶
func (*MyEmpty) ProtoMessage()
func (*MyEmpty) ProtoReflect ¶
func (x *MyEmpty) ProtoReflect() protoreflect.Message
type MyString ¶
type MyString struct { String_ string `protobuf:"bytes,1,opt,name=string,proto3" json:"string,omitempty"` // contains filtered or unexported fields }
func (*MyString) Descriptor
deprecated
func (*MyString) GetString_ ¶
func (*MyString) ProtoMessage ¶
func (*MyString) ProtoMessage()
func (*MyString) ProtoReflect ¶
func (x *MyString) ProtoReflect() protoreflect.Message
type PackageFeatureServiceClient ¶
type PackageFeatureServiceClient interface { View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*PackageOfFeature, error) List(ctx context.Context, in *MyEmpty, opts ...grpc.CallOption) (PackageFeatureService_ListClient, error) }
PackageFeatureServiceClient is the client API for PackageFeatureService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPackageFeatureServiceClient ¶
func NewPackageFeatureServiceClient(cc grpc.ClientConnInterface) PackageFeatureServiceClient
type PackageFeatureServiceServer ¶
type PackageFeatureServiceServer interface { View(context.Context, *Id) (*PackageOfFeature, error) List(*MyEmpty, PackageFeatureService_ListServer) error // contains filtered or unexported methods }
PackageFeatureServiceServer is the server API for PackageFeatureService service. All implementations must embed UnimplementedPackageFeatureServiceServer for forward compatibility
type PackageFeatureService_ListClient ¶
type PackageFeatureService_ListClient interface { Recv() (*ListPackageFeatureResponse, error) grpc.ClientStream }
type PackageFeatureService_ListServer ¶
type PackageFeatureService_ListServer interface { Send(*ListPackageFeatureResponse) error grpc.ServerStream }
type PackageOfFeature ¶
type PackageOfFeature struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name EnumPackageOfFeature `protobuf:"varint,2,opt,name=name,proto3,enum=wiradata.users.EnumPackageOfFeature" json:"name,omitempty"` Features []*Feature `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"` // contains filtered or unexported fields }
func (*PackageOfFeature) Descriptor
deprecated
func (*PackageOfFeature) Descriptor() ([]byte, []int)
Deprecated: Use PackageOfFeature.ProtoReflect.Descriptor instead.
func (*PackageOfFeature) GetFeatures ¶
func (x *PackageOfFeature) GetFeatures() []*Feature
func (*PackageOfFeature) GetId ¶
func (x *PackageOfFeature) GetId() string
func (*PackageOfFeature) GetName ¶
func (x *PackageOfFeature) GetName() EnumPackageOfFeature
func (*PackageOfFeature) ProtoMessage ¶
func (*PackageOfFeature) ProtoMessage()
func (*PackageOfFeature) ProtoReflect ¶
func (x *PackageOfFeature) ProtoReflect() protoreflect.Message
func (*PackageOfFeature) Reset ¶
func (x *PackageOfFeature) Reset()
func (*PackageOfFeature) String ¶
func (x *PackageOfFeature) String() string
type Pagination ¶
type Pagination struct { Page uint32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Offset uint32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` Sort Pagination_Sort `protobuf:"varint,6,opt,name=sort,proto3,enum=wiradata.users.Pagination_Sort" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*Pagination) Descriptor
deprecated
func (*Pagination) Descriptor() ([]byte, []int)
Deprecated: Use Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) GetLimit ¶
func (x *Pagination) GetLimit() uint32
func (*Pagination) GetOffset ¶
func (x *Pagination) GetOffset() uint32
func (*Pagination) GetOrderBy ¶
func (x *Pagination) GetOrderBy() string
func (*Pagination) GetPage ¶
func (x *Pagination) GetPage() uint32
func (*Pagination) GetSearch ¶
func (x *Pagination) GetSearch() string
func (*Pagination) GetSort ¶
func (x *Pagination) GetSort() Pagination_Sort
func (*Pagination) ProtoMessage ¶
func (*Pagination) ProtoMessage()
func (*Pagination) ProtoReflect ¶
func (x *Pagination) ProtoReflect() protoreflect.Message
func (*Pagination) Reset ¶
func (x *Pagination) Reset()
func (*Pagination) String ¶
func (x *Pagination) String() string
type Pagination_Sort ¶
type Pagination_Sort int32
const ( Pagination_ASC Pagination_Sort = 0 Pagination_DESC Pagination_Sort = 1 )
func (Pagination_Sort) Descriptor ¶
func (Pagination_Sort) Descriptor() protoreflect.EnumDescriptor
func (Pagination_Sort) Enum ¶
func (x Pagination_Sort) Enum() *Pagination_Sort
func (Pagination_Sort) EnumDescriptor
deprecated
func (Pagination_Sort) EnumDescriptor() ([]byte, []int)
Deprecated: Use Pagination_Sort.Descriptor instead.
func (Pagination_Sort) Number ¶
func (x Pagination_Sort) Number() protoreflect.EnumNumber
func (Pagination_Sort) String ¶
func (x Pagination_Sort) String() string
func (Pagination_Sort) Type ¶
func (Pagination_Sort) Type() protoreflect.EnumType
type Region ¶
type Region struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` Branches []*Branch `protobuf:"bytes,5,rep,name=branches,proto3" json:"branches,omitempty"` CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` CreatedBy string `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,9,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*Region) Descriptor
deprecated
func (*Region) GetBranches ¶
func (*Region) GetCompanyId ¶
func (*Region) GetCreatedAt ¶
func (*Region) GetCreatedBy ¶
func (*Region) GetUpdatedAt ¶
func (*Region) GetUpdatedBy ¶
func (*Region) ProtoMessage ¶
func (*Region) ProtoMessage()
func (*Region) ProtoReflect ¶
func (x *Region) ProtoReflect() protoreflect.Message
type RegionPaginationResponse ¶
type RegionPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*RegionPaginationResponse) Descriptor
deprecated
func (*RegionPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegionPaginationResponse.ProtoReflect.Descriptor instead.
func (*RegionPaginationResponse) GetCompanyId ¶
func (x *RegionPaginationResponse) GetCompanyId() string
func (*RegionPaginationResponse) GetCount ¶
func (x *RegionPaginationResponse) GetCount() uint32
func (*RegionPaginationResponse) GetPagination ¶
func (x *RegionPaginationResponse) GetPagination() *Pagination
func (*RegionPaginationResponse) ProtoMessage ¶
func (*RegionPaginationResponse) ProtoMessage()
func (*RegionPaginationResponse) ProtoReflect ¶
func (x *RegionPaginationResponse) ProtoReflect() protoreflect.Message
func (*RegionPaginationResponse) Reset ¶
func (x *RegionPaginationResponse) Reset()
func (*RegionPaginationResponse) String ¶
func (x *RegionPaginationResponse) String() string
type RegionServiceClient ¶
type RegionServiceClient interface { Create(ctx context.Context, in *Region, opts ...grpc.CallOption) (*Region, error) Update(ctx context.Context, in *Region, opts ...grpc.CallOption) (*Region, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Region, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListRegionRequest, opts ...grpc.CallOption) (RegionService_ListClient, error) }
RegionServiceClient is the client API for RegionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRegionServiceClient ¶
func NewRegionServiceClient(cc grpc.ClientConnInterface) RegionServiceClient
type RegionServiceServer ¶
type RegionServiceServer interface { Create(context.Context, *Region) (*Region, error) Update(context.Context, *Region) (*Region, error) View(context.Context, *Id) (*Region, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListRegionRequest, RegionService_ListServer) error // contains filtered or unexported methods }
RegionServiceServer is the server API for RegionService service. All implementations must embed UnimplementedRegionServiceServer for forward compatibility
type RegionService_ListClient ¶
type RegionService_ListClient interface { Recv() (*ListRegionResponse, error) grpc.ClientStream }
type RegionService_ListServer ¶
type RegionService_ListServer interface { Send(*ListRegionResponse) error grpc.ServerStream }
type RequestPassword ¶
type RequestPassword struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` IsUsed bool `protobuf:"varint,3,opt,name=is_used,json=isUsed,proto3" json:"is_used,omitempty"` CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*RequestPassword) Descriptor
deprecated
func (*RequestPassword) Descriptor() ([]byte, []int)
Deprecated: Use RequestPassword.ProtoReflect.Descriptor instead.
func (*RequestPassword) GetCreatedAt ¶
func (x *RequestPassword) GetCreatedAt() string
func (*RequestPassword) GetId ¶
func (x *RequestPassword) GetId() string
func (*RequestPassword) GetIsUsed ¶
func (x *RequestPassword) GetIsUsed() bool
func (*RequestPassword) GetUserId ¶
func (x *RequestPassword) GetUserId() string
func (*RequestPassword) ProtoMessage ¶
func (*RequestPassword) ProtoMessage()
func (*RequestPassword) ProtoReflect ¶
func (x *RequestPassword) ProtoReflect() protoreflect.Message
func (*RequestPassword) Reset ¶
func (x *RequestPassword) Reset()
func (*RequestPassword) String ¶
func (x *RequestPassword) String() string
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` RePassword string `protobuf:"bytes,3,opt,name=re_password,json=rePassword,proto3" json:"re_password,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordRequest) Descriptor
deprecated
func (*ResetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
func (*ResetPasswordRequest) GetNewPassword ¶
func (x *ResetPasswordRequest) GetNewPassword() string
func (*ResetPasswordRequest) GetRePassword ¶
func (x *ResetPasswordRequest) GetRePassword() string
func (*ResetPasswordRequest) GetToken ¶
func (x *ResetPasswordRequest) GetToken() string
func (*ResetPasswordRequest) ProtoMessage ¶
func (*ResetPasswordRequest) ProtoMessage()
func (*ResetPasswordRequest) ProtoReflect ¶
func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
func (*ResetPasswordRequest) Reset ¶
func (x *ResetPasswordRequest) Reset()
func (*ResetPasswordRequest) String ¶
func (x *ResetPasswordRequest) String() string
type UnimplementedAccessServiceServer ¶
type UnimplementedAccessServiceServer struct { }
UnimplementedAccessServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAccessServiceServer) List ¶
func (UnimplementedAccessServiceServer) List(context.Context, *MyEmpty) (*ListAccessResponse, error)
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) ChangePassword ¶
func (UnimplementedAuthServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*Message, error)
func (UnimplementedAuthServiceServer) ForgotPassword ¶
func (UnimplementedAuthServiceServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*Message, error)
func (UnimplementedAuthServiceServer) Login ¶
func (UnimplementedAuthServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedAuthServiceServer) ResetPassword ¶
func (UnimplementedAuthServiceServer) ResetPassword(context.Context, *ResetPasswordRequest) (*Message, error)
type UnimplementedBranchServiceServer ¶
type UnimplementedBranchServiceServer struct { }
UnimplementedBranchServiceServer must be embedded to have forward compatible implementations.
type UnimplementedCompanyServiceServer ¶
type UnimplementedCompanyServiceServer struct { }
UnimplementedCompanyServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCompanyServiceServer) Registration ¶
func (UnimplementedCompanyServiceServer) Registration(context.Context, *CompanyRegistration) (*CompanyRegistration, error)
type UnimplementedEmployeeServiceServer ¶
type UnimplementedEmployeeServiceServer struct { }
UnimplementedEmployeeServiceServer must be embedded to have forward compatible implementations.
type UnimplementedFeatureServiceServer ¶
type UnimplementedFeatureServiceServer struct { }
UnimplementedFeatureServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedFeatureServiceServer) List ¶
func (UnimplementedFeatureServiceServer) List(*MyEmpty, FeatureService_ListServer) error
type UnimplementedGroupServiceServer ¶
type UnimplementedGroupServiceServer struct { }
UnimplementedGroupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedGroupServiceServer) GrantAccess ¶
func (UnimplementedGroupServiceServer) GrantAccess(context.Context, *GrantAccessRequest) (*Message, error)
func (UnimplementedGroupServiceServer) RevokeAccess ¶
func (UnimplementedGroupServiceServer) RevokeAccess(context.Context, *GrantAccessRequest) (*Message, error)
type UnimplementedPackageFeatureServiceServer ¶
type UnimplementedPackageFeatureServiceServer struct { }
UnimplementedPackageFeatureServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPackageFeatureServiceServer) View ¶
func (UnimplementedPackageFeatureServiceServer) View(context.Context, *Id) (*PackageOfFeature, error)
type UnimplementedRegionServiceServer ¶
type UnimplementedRegionServiceServer struct { }
UnimplementedRegionServiceServer must be embedded to have forward compatible implementations.
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) GetByToken ¶
func (UnimplementedUserServiceServer) List ¶
func (UnimplementedUserServiceServer) List(*ListUserRequest, UserService_ListServer) error
type UnsafeAccessServiceServer ¶
type UnsafeAccessServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAccessServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccessServiceServer will result in compilation errors.
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeBranchServiceServer ¶
type UnsafeBranchServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBranchServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BranchServiceServer will result in compilation errors.
type UnsafeCompanyServiceServer ¶
type UnsafeCompanyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCompanyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CompanyServiceServer will result in compilation errors.
type UnsafeEmployeeServiceServer ¶
type UnsafeEmployeeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEmployeeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmployeeServiceServer will result in compilation errors.
type UnsafeFeatureServiceServer ¶
type UnsafeFeatureServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFeatureServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FeatureServiceServer will result in compilation errors.
type UnsafeGroupServiceServer ¶
type UnsafeGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GroupServiceServer will result in compilation errors.
type UnsafePackageFeatureServiceServer ¶
type UnsafePackageFeatureServiceServer interface {
// contains filtered or unexported methods
}
UnsafePackageFeatureServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PackageFeatureServiceServer will result in compilation errors.
type UnsafeRegionServiceServer ¶
type UnsafeRegionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRegionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegionServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` RegionId string `protobuf:"bytes,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` BranchId string `protobuf:"bytes,4,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` Group *Group `protobuf:"bytes,8,opt,name=group,proto3" json:"group,omitempty"` CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` UpdatedBy string `protobuf:"bytes,11,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetBranchId ¶
func (*User) GetCompanyId ¶
func (*User) GetCreatedAt ¶
func (*User) GetRegionId ¶
func (*User) GetUpdatedAt ¶
func (*User) GetUpdatedBy ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserPaginationResponse ¶
type UserPaginationResponse struct { Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` CompanyId string `protobuf:"bytes,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` BranchId string `protobuf:"bytes,3,opt,name=branch_id,json=branchId,proto3" json:"branch_id,omitempty"` Count uint32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*UserPaginationResponse) Descriptor
deprecated
func (*UserPaginationResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserPaginationResponse.ProtoReflect.Descriptor instead.
func (*UserPaginationResponse) GetBranchId ¶
func (x *UserPaginationResponse) GetBranchId() string
func (*UserPaginationResponse) GetCompanyId ¶
func (x *UserPaginationResponse) GetCompanyId() string
func (*UserPaginationResponse) GetCount ¶
func (x *UserPaginationResponse) GetCount() uint32
func (*UserPaginationResponse) GetPagination ¶
func (x *UserPaginationResponse) GetPagination() *Pagination
func (*UserPaginationResponse) ProtoMessage ¶
func (*UserPaginationResponse) ProtoMessage()
func (*UserPaginationResponse) ProtoReflect ¶
func (x *UserPaginationResponse) ProtoReflect() protoreflect.Message
func (*UserPaginationResponse) Reset ¶
func (x *UserPaginationResponse) Reset()
func (*UserPaginationResponse) String ¶
func (x *UserPaginationResponse) String() string
type UserServiceClient ¶
type UserServiceClient interface { Create(ctx context.Context, in *User, opts ...grpc.CallOption) (*User, error) Update(ctx context.Context, in *User, opts ...grpc.CallOption) (*User, error) View(ctx context.Context, in *Id, opts ...grpc.CallOption) (*User, error) Delete(ctx context.Context, in *Id, opts ...grpc.CallOption) (*MyBoolean, error) List(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (UserService_ListClient, error) GetByToken(ctx context.Context, in *MyEmpty, opts ...grpc.CallOption) (*User, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { Create(context.Context, *User) (*User, error) Update(context.Context, *User) (*User, error) View(context.Context, *Id) (*User, error) Delete(context.Context, *Id) (*MyBoolean, error) List(*ListUserRequest, UserService_ListServer) error GetByToken(context.Context, *MyEmpty) (*User, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UserService_ListClient ¶
type UserService_ListClient interface { Recv() (*ListUserResponse, error) grpc.ClientStream }
type UserService_ListServer ¶
type UserService_ListServer interface { Send(*ListUserResponse) error grpc.ServerStream }
Source Files ¶
- access_message.pb.go
- access_service.pb.go
- access_service_grpc.pb.go
- auth_service.pb.go
- auth_service_grpc.pb.go
- branch_message.pb.go
- branch_service.pb.go
- branch_service_grpc.pb.go
- company_message.pb.go
- company_service.pb.go
- company_service_grpc.pb.go
- employee_message.pb.go
- employee_service.pb.go
- employee_service_grpc.pb.go
- feature_message.pb.go
- feature_service.pb.go
- feature_service_grpc.pb.go
- generic_message.pb.go
- group_message.pb.go
- group_service.pb.go
- group_service_grpc.pb.go
- region_message.pb.go
- region_service.pb.go
- region_service_grpc.pb.go
- request_password_message.pb.go
- user_message.pb.go
- user_service.pb.go
- user_service_grpc.pb.go