users

package
v0.0.0-...-2110e92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 8 Imported by: 8

Documentation

Index

Constants

View Source
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"
)
View Source
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"
)
View Source
const (
	CompanyService_Registration_FullMethodName = "/wiradata.users.CompanyService/Registration"
	CompanyService_Update_FullMethodName       = "/wiradata.users.CompanyService/Update"
	CompanyService_View_FullMethodName         = "/wiradata.users.CompanyService/View"
)
View Source
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"
)
View Source
const (
	PackageFeatureService_View_FullMethodName = "/wiradata.users.PackageFeatureService/View"
	PackageFeatureService_List_FullMethodName = "/wiradata.users.PackageFeatureService/List"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	AccessService_List_FullMethodName = "/wiradata.users.AccessService/List"
)
View Source
const (
	FeatureService_List_FullMethodName = "/wiradata.users.FeatureService/List"
)

Variables

View Source
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.

View Source
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.

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
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)

View Source
var File_users_access_message_proto protoreflect.FileDescriptor
View Source
var File_users_access_service_proto protoreflect.FileDescriptor
View Source
var File_users_auth_service_proto protoreflect.FileDescriptor
View Source
var File_users_branch_message_proto protoreflect.FileDescriptor
View Source
var File_users_branch_service_proto protoreflect.FileDescriptor
View Source
var File_users_company_message_proto protoreflect.FileDescriptor
View Source
var File_users_company_service_proto protoreflect.FileDescriptor
View Source
var File_users_employee_message_proto protoreflect.FileDescriptor
View Source
var File_users_employee_service_proto protoreflect.FileDescriptor
View Source
var File_users_feature_message_proto protoreflect.FileDescriptor
View Source
var File_users_feature_service_proto protoreflect.FileDescriptor
View Source
var File_users_generic_message_proto protoreflect.FileDescriptor
View Source
var File_users_group_message_proto protoreflect.FileDescriptor
View Source
var File_users_group_service_proto protoreflect.FileDescriptor
View Source
var File_users_region_message_proto protoreflect.FileDescriptor
View Source
var File_users_region_service_proto protoreflect.FileDescriptor
View Source
var File_users_request_password_message_proto protoreflect.FileDescriptor
View Source
var File_users_user_message_proto protoreflect.FileDescriptor
View Source
var File_users_user_service_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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)

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Access.ProtoReflect.Descriptor instead.

func (*Access) GetCreatedAt

func (x *Access) GetCreatedAt() string

func (*Access) GetDescription

func (x *Access) GetDescription() string

func (*Access) GetId

func (x *Access) GetId() string

func (*Access) GetName

func (x *Access) GetName() string

func (*Access) GetRoute

func (x *Access) GetRoute() string

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) ProtoReflect

func (x *Access) ProtoReflect() protoreflect.Message

func (*Access) Reset

func (x *Access) Reset()

func (*Access) String

func (x *Access) String() string

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.

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Branch.ProtoReflect.Descriptor instead.

func (*Branch) GetAddress

func (x *Branch) GetAddress() string

func (*Branch) GetCity

func (x *Branch) GetCity() string

func (*Branch) GetCode

func (x *Branch) GetCode() string

func (*Branch) GetCompanyId

func (x *Branch) GetCompanyId() string

func (*Branch) GetCreatedAt

func (x *Branch) GetCreatedAt() string

func (*Branch) GetCreatedBy

func (x *Branch) GetCreatedBy() string

func (*Branch) GetId

func (x *Branch) GetId() string

func (*Branch) GetName

func (x *Branch) GetName() string

func (*Branch) GetNpwp

func (x *Branch) GetNpwp() string

func (*Branch) GetPhone

func (x *Branch) GetPhone() string

func (*Branch) GetPic

func (x *Branch) GetPic() string

func (*Branch) GetPicPhone

func (x *Branch) GetPicPhone() string

func (*Branch) GetProvince

func (x *Branch) GetProvince() string

func (*Branch) GetRegionId

func (x *Branch) GetRegionId() string

func (*Branch) GetRegionName

func (x *Branch) GetRegionName() string

func (*Branch) GetUpdatedAt

func (x *Branch) GetUpdatedAt() string

func (*Branch) GetUpdatedBy

func (x *Branch) GetUpdatedBy() string

func (*Branch) ProtoMessage

func (*Branch) ProtoMessage()

func (*Branch) ProtoReflect

func (x *Branch) ProtoReflect() protoreflect.Message

func (*Branch) Reset

func (x *Branch) Reset()

func (*Branch) String

func (x *Branch) String() string

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.

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"`
	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) Descriptor() ([]byte, []int)

Deprecated: Use Company.ProtoReflect.Descriptor instead.

func (*Company) GetAddress

func (x *Company) GetAddress() string

func (*Company) GetCity

func (x *Company) GetCity() string

func (*Company) GetCode

func (x *Company) GetCode() string

func (*Company) GetCreatedAt

func (x *Company) GetCreatedAt() string

func (*Company) GetFeatures

func (x *Company) GetFeatures() []*Feature

func (*Company) GetId

func (x *Company) GetId() string
func (x *Company) GetLogo() string

func (*Company) GetName

func (x *Company) GetName() string

func (*Company) GetNpwp

func (x *Company) GetNpwp() string

func (*Company) GetPackageOfFeature

func (x *Company) GetPackageOfFeature() EnumPackageOfFeature

func (*Company) GetPhone

func (x *Company) GetPhone() string

func (*Company) GetPic

func (x *Company) GetPic() string

func (*Company) GetPicPhone

func (x *Company) GetPicPhone() string

func (*Company) GetProvince

func (x *Company) GetProvince() string

func (*Company) GetUpdatedAt

func (x *Company) GetUpdatedAt() string

func (*Company) GetUpdatedBy

func (x *Company) GetUpdatedBy() string

func (*Company) ProtoMessage

func (*Company) ProtoMessage()

func (*Company) ProtoReflect

func (x *Company) ProtoReflect() protoreflect.Message

func (*Company) Reset

func (x *Company) Reset()

func (*Company) String

func (x *Company) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Employee.ProtoReflect.Descriptor instead.

func (*Employee) GetAddress

func (x *Employee) GetAddress() string

func (*Employee) GetCity

func (x *Employee) GetCity() string

func (*Employee) GetCode

func (x *Employee) GetCode() string

func (*Employee) GetCreatedAt

func (x *Employee) GetCreatedAt() string

func (*Employee) GetCreatedBy

func (x *Employee) GetCreatedBy() string

func (*Employee) GetId

func (x *Employee) GetId() string

func (*Employee) GetJabatan

func (x *Employee) GetJabatan() string

func (*Employee) GetName

func (x *Employee) GetName() string

func (*Employee) GetProvince

func (x *Employee) GetProvince() string

func (*Employee) GetUpdatedAt

func (x *Employee) GetUpdatedAt() string

func (*Employee) GetUpdatedBy

func (x *Employee) GetUpdatedBy() string

func (*Employee) GetUser

func (x *Employee) GetUser() *User

func (*Employee) ProtoMessage

func (*Employee) ProtoMessage()

func (*Employee) ProtoReflect

func (x *Employee) ProtoReflect() protoreflect.Message

func (*Employee) Reset

func (x *Employee) Reset()

func (*Employee) String

func (x *Employee) String() string

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 (*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.

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) Enum

func (EnumPackageOfFeature) EnumDescriptor deprecated

func (EnumPackageOfFeature) EnumDescriptor() ([]byte, []int)

Deprecated: Use EnumPackageOfFeature.Descriptor instead.

func (EnumPackageOfFeature) Number

func (EnumPackageOfFeature) String

func (x EnumPackageOfFeature) String() string

func (EnumPackageOfFeature) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Feature.ProtoReflect.Descriptor instead.

func (*Feature) GetCreatedAt

func (x *Feature) GetCreatedAt() string

func (*Feature) GetCreatedBy

func (x *Feature) GetCreatedBy() string

func (*Feature) GetId

func (x *Feature) GetId() string

func (*Feature) GetName

func (x *Feature) GetName() string

func (*Feature) GetUpdatedAt

func (x *Feature) GetUpdatedAt() string

func (*Feature) GetUpdatedBy

func (x *Feature) GetUpdatedBy() string

func (*Feature) ProtoMessage

func (*Feature) ProtoMessage()

func (*Feature) ProtoReflect

func (x *Feature) ProtoReflect() protoreflect.Message

func (*Feature) Reset

func (x *Feature) Reset()

func (*Feature) String

func (x *Feature) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetAccess

func (x *Group) GetAccess() []*Access

func (*Group) GetCompanyId

func (x *Group) GetCompanyId() string

func (*Group) GetCreatedAt

func (x *Group) GetCreatedAt() string

func (*Group) GetCreatedBy

func (x *Group) GetCreatedBy() string

func (*Group) GetId

func (x *Group) GetId() string

func (*Group) GetIsMutable

func (x *Group) GetIsMutable() bool

func (*Group) GetName

func (x *Group) GetName() string

func (*Group) GetUpdatedAt

func (x *Group) GetUpdatedAt() string

func (*Group) GetUpdatedBy

func (x *Group) GetUpdatedBy() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Id.ProtoReflect.Descriptor instead.

func (*Id) GetId

func (x *Id) GetId() string

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) ProtoReflect

func (x *Id) ProtoReflect() protoreflect.Message

func (*Id) Reset

func (x *Id) Reset()

func (*Id) String

func (x *Id) String() string

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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetMessage

func (x *Message) GetMessage() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MyBoolean.ProtoReflect.Descriptor instead.

func (*MyBoolean) GetBoolean

func (x *MyBoolean) GetBoolean() bool

func (*MyBoolean) ProtoMessage

func (*MyBoolean) ProtoMessage()

func (*MyBoolean) ProtoReflect

func (x *MyBoolean) ProtoReflect() protoreflect.Message

func (*MyBoolean) Reset

func (x *MyBoolean) Reset()

func (*MyBoolean) String

func (x *MyBoolean) String() string

type MyEmpty

type MyEmpty struct {
	// contains filtered or unexported fields
}

func (*MyEmpty) Descriptor deprecated

func (*MyEmpty) Descriptor() ([]byte, []int)

Deprecated: Use MyEmpty.ProtoReflect.Descriptor instead.

func (*MyEmpty) ProtoMessage

func (*MyEmpty) ProtoMessage()

func (*MyEmpty) ProtoReflect

func (x *MyEmpty) ProtoReflect() protoreflect.Message

func (*MyEmpty) Reset

func (x *MyEmpty) Reset()

func (*MyEmpty) String

func (x *MyEmpty) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MyString.ProtoReflect.Descriptor instead.

func (*MyString) GetString_

func (x *MyString) GetString_() string

func (*MyString) ProtoMessage

func (*MyString) ProtoMessage()

func (*MyString) ProtoReflect

func (x *MyString) ProtoReflect() protoreflect.Message

func (*MyString) Reset

func (x *MyString) Reset()

func (*MyString) String

func (x *MyString) String() string

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.

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 (*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) 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 (Pagination_Sort) String

func (x Pagination_Sort) String() string

func (Pagination_Sort) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Region.ProtoReflect.Descriptor instead.

func (*Region) GetBranches

func (x *Region) GetBranches() []*Branch

func (*Region) GetCode

func (x *Region) GetCode() string

func (*Region) GetCompanyId

func (x *Region) GetCompanyId() string

func (*Region) GetCreatedAt

func (x *Region) GetCreatedAt() string

func (*Region) GetCreatedBy

func (x *Region) GetCreatedBy() string

func (*Region) GetId

func (x *Region) GetId() string

func (*Region) GetName

func (x *Region) GetName() string

func (*Region) GetUpdatedAt

func (x *Region) GetUpdatedAt() string

func (*Region) GetUpdatedBy

func (x *Region) GetUpdatedBy() string

func (*Region) ProtoMessage

func (*Region) ProtoMessage()

func (*Region) ProtoReflect

func (x *Region) ProtoReflect() protoreflect.Message

func (*Region) Reset

func (x *Region) Reset()

func (*Region) String

func (x *Region) String() string

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.

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

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServiceServer) ChangePassword

func (UnimplementedAuthServiceServer) ForgotPassword

func (UnimplementedAuthServiceServer) IsAuth

func (UnimplementedAuthServiceServer) Login

func (UnimplementedAuthServiceServer) ResetPassword

type UnimplementedBranchServiceServer

type UnimplementedBranchServiceServer struct {
}

UnimplementedBranchServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedBranchServiceServer) Create

func (UnimplementedBranchServiceServer) Delete

func (UnimplementedBranchServiceServer) List

func (UnimplementedBranchServiceServer) Update

func (UnimplementedBranchServiceServer) View

type UnimplementedCompanyServiceServer

type UnimplementedCompanyServiceServer struct {
}

UnimplementedCompanyServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCompanyServiceServer) Registration

func (UnimplementedCompanyServiceServer) Update

func (UnimplementedCompanyServiceServer) View

type UnimplementedEmployeeServiceServer

type UnimplementedEmployeeServiceServer struct {
}

UnimplementedEmployeeServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedEmployeeServiceServer) Create

func (UnimplementedEmployeeServiceServer) Delete

func (UnimplementedEmployeeServiceServer) List

func (UnimplementedEmployeeServiceServer) Update

func (UnimplementedEmployeeServiceServer) View

type UnimplementedFeatureServiceServer

type UnimplementedFeatureServiceServer struct {
}

UnimplementedFeatureServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFeatureServiceServer) List

type UnimplementedGroupServiceServer

type UnimplementedGroupServiceServer struct {
}

UnimplementedGroupServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGroupServiceServer) Create

func (UnimplementedGroupServiceServer) Delete

func (UnimplementedGroupServiceServer) GrantAccess

func (UnimplementedGroupServiceServer) List

func (UnimplementedGroupServiceServer) RevokeAccess

func (UnimplementedGroupServiceServer) Update

func (UnimplementedGroupServiceServer) View

type UnimplementedPackageFeatureServiceServer

type UnimplementedPackageFeatureServiceServer struct {
}

UnimplementedPackageFeatureServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedPackageFeatureServiceServer) List

func (UnimplementedPackageFeatureServiceServer) View

type UnimplementedRegionServiceServer

type UnimplementedRegionServiceServer struct {
}

UnimplementedRegionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRegionServiceServer) Create

func (UnimplementedRegionServiceServer) Delete

func (UnimplementedRegionServiceServer) List

func (UnimplementedRegionServiceServer) Update

func (UnimplementedRegionServiceServer) View

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) Create

func (UnimplementedUserServiceServer) Delete

func (UnimplementedUserServiceServer) GetByToken

func (UnimplementedUserServiceServer) List

func (UnimplementedUserServiceServer) Update

func (UnimplementedUserServiceServer) View

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetBranchId

func (x *User) GetBranchId() string

func (*User) GetCompanyId

func (x *User) GetCompanyId() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() string

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetGroup

func (x *User) GetGroup() *Group

func (*User) GetId

func (x *User) GetId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetRegionId

func (x *User) GetRegionId() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() string

func (*User) GetUpdatedBy

func (x *User) GetUpdatedBy() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

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.

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL