employeespb

package
v0.0.0-...-193100d Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const BrakeDuration int32 = 15

Breke between services

View Source
const TimeSlotLength int32 = 10

Employee working TimeFrame's are broken into units with that duration.

Variables

View Source
var Api_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "employeespb.Api",
	HandlerType: (*ApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddEmployee",
			Handler:    _Api_AddEmployee_Handler,
		},
		{
			MethodName: "UpdateEmployee",
			Handler:    _Api_UpdateEmployee_Handler,
		},
		{
			MethodName: "DeleteEmployee",
			Handler:    _Api_DeleteEmployee_Handler,
		},
		{
			MethodName: "FindOneEmployee",
			Handler:    _Api_FindOneEmployee_Handler,
		},
		{
			MethodName: "FindManyEmployees",
			Handler:    _Api_FindManyEmployees_Handler,
		},
		{
			MethodName: "FindManyTimeSlots",
			Handler:    _Api_FindManyTimeSlots_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "employeespb.proto",
}

Api_ServiceDesc is the grpc.ServiceDesc for Api 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_employeespb_proto protoreflect.FileDescriptor

Functions

func IntToDay

func IntToDay(intDay int32) (string, error)

func IntToTimeFrame

func IntToTimeFrame(
	employee *models.Employee,
	intDay int32,
) ([]models.TimeFrame, error)

func RegisterApiServer

func RegisterApiServer(s grpc.ServiceRegistrar, srv ApiServer)

Types

type AddEmployeeRequest

type AddEmployeeRequest struct {
	CompanyId  *string    `protobuf:"bytes,1,opt,name=company_id,json=companyId,proto3,oneof" json:"company_id,omitempty"`
	Name       *string    `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname    *string    `protobuf:"bytes,3,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	WorkTimes  *WorkTimes `protobuf:"bytes,4,opt,name=work_times,json=workTimes,proto3,oneof" json:"work_times,omitempty"`
	Competence []string   `protobuf:"bytes,5,rep,name=competence,proto3" json:"competence,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEmployeeRequest) Descriptor deprecated

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

Deprecated: Use AddEmployeeRequest.ProtoReflect.Descriptor instead.

func (*AddEmployeeRequest) GetCompanyId

func (x *AddEmployeeRequest) GetCompanyId() string

func (*AddEmployeeRequest) GetCompetence

func (x *AddEmployeeRequest) GetCompetence() []string

func (*AddEmployeeRequest) GetName

func (x *AddEmployeeRequest) GetName() string

func (*AddEmployeeRequest) GetSurname

func (x *AddEmployeeRequest) GetSurname() string

func (*AddEmployeeRequest) GetWorkTimes

func (x *AddEmployeeRequest) GetWorkTimes() *WorkTimes

func (*AddEmployeeRequest) ProtoMessage

func (*AddEmployeeRequest) ProtoMessage()

func (*AddEmployeeRequest) ProtoReflect

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

func (*AddEmployeeRequest) Reset

func (x *AddEmployeeRequest) Reset()

func (*AddEmployeeRequest) String

func (x *AddEmployeeRequest) String() string

type ApiClient

type ApiClient interface {
	AddEmployee(ctx context.Context, in *AddEmployeeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateEmployee(ctx context.Context, in *UpdateEmployeeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteEmployee(ctx context.Context, in *DeleteEmployeeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	FindOneEmployee(ctx context.Context, in *EmployeeRequest, opts ...grpc.CallOption) (*EmployeeReply, error)
	FindManyEmployees(ctx context.Context, in *EmployeesRequest, opts ...grpc.CallOption) (*EmployeesReply, error)
	FindManyTimeSlots(ctx context.Context, in *TimeSlotsRequest, opts ...grpc.CallOption) (*TimeSlotsReply, error)
}

ApiClient is the client API for Api 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 NewApiClient

func NewApiClient(cc grpc.ClientConnInterface) ApiClient

type ApiServer

type ApiServer interface {
	AddEmployee(context.Context, *AddEmployeeRequest) (*emptypb.Empty, error)
	UpdateEmployee(context.Context, *UpdateEmployeeRequest) (*emptypb.Empty, error)
	DeleteEmployee(context.Context, *DeleteEmployeeRequest) (*emptypb.Empty, error)
	FindOneEmployee(context.Context, *EmployeeRequest) (*EmployeeReply, error)
	FindManyEmployees(context.Context, *EmployeesRequest) (*EmployeesReply, error)
	FindManyTimeSlots(context.Context, *TimeSlotsRequest) (*TimeSlotsReply, error)
	// contains filtered or unexported methods
}

ApiServer is the server API for Api service. All implementations must embed UnimplementedApiServer for forward compatibility

type DeleteEmployeeRequest

type DeleteEmployeeRequest struct {
	CompanyId *string `protobuf:"bytes,1,opt,name=company_id,json=companyId,proto3,oneof" json:"company_id,omitempty"`
	Id        *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEmployeeRequest) Descriptor deprecated

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

Deprecated: Use DeleteEmployeeRequest.ProtoReflect.Descriptor instead.

func (*DeleteEmployeeRequest) GetCompanyId

func (x *DeleteEmployeeRequest) GetCompanyId() string

func (*DeleteEmployeeRequest) GetId

func (x *DeleteEmployeeRequest) GetId() string

func (*DeleteEmployeeRequest) ProtoMessage

func (*DeleteEmployeeRequest) ProtoMessage()

func (*DeleteEmployeeRequest) ProtoReflect

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

func (*DeleteEmployeeRequest) Reset

func (x *DeleteEmployeeRequest) Reset()

func (*DeleteEmployeeRequest) String

func (x *DeleteEmployeeRequest) String() string

type EmployeeReply

type EmployeeReply struct {
	Name       *string    `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname    *string    `protobuf:"bytes,2,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	WorkTimes  *WorkTimes `protobuf:"bytes,3,opt,name=work_times,json=workTimes,proto3,oneof" json:"work_times,omitempty"`
	Competence []string   `protobuf:"bytes,4,rep,name=competence,proto3" json:"competence,omitempty"`
	// contains filtered or unexported fields
}

func (*EmployeeReply) Descriptor deprecated

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

Deprecated: Use EmployeeReply.ProtoReflect.Descriptor instead.

func (*EmployeeReply) GetCompetence

func (x *EmployeeReply) GetCompetence() []string

func (*EmployeeReply) GetName

func (x *EmployeeReply) GetName() string

func (*EmployeeReply) GetSurname

func (x *EmployeeReply) GetSurname() string

func (*EmployeeReply) GetWorkTimes

func (x *EmployeeReply) GetWorkTimes() *WorkTimes

func (*EmployeeReply) ProtoMessage

func (*EmployeeReply) ProtoMessage()

func (*EmployeeReply) ProtoReflect

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

func (*EmployeeReply) Reset

func (x *EmployeeReply) Reset()

func (*EmployeeReply) String

func (x *EmployeeReply) String() string

type EmployeeRequest

type EmployeeRequest struct {
	CompanyId *string `protobuf:"bytes,1,opt,name=company_id,json=companyId,proto3,oneof" json:"company_id,omitempty"`
	Id        *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*EmployeeRequest) Descriptor deprecated

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

Deprecated: Use EmployeeRequest.ProtoReflect.Descriptor instead.

func (*EmployeeRequest) GetCompanyId

func (x *EmployeeRequest) GetCompanyId() string

func (*EmployeeRequest) GetId

func (x *EmployeeRequest) GetId() string

func (*EmployeeRequest) ProtoMessage

func (*EmployeeRequest) ProtoMessage()

func (*EmployeeRequest) ProtoReflect

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

func (*EmployeeRequest) Reset

func (x *EmployeeRequest) Reset()

func (*EmployeeRequest) String

func (x *EmployeeRequest) String() string

type EmployeeShort

type EmployeeShort struct {
	Id      *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Name    *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname *string `protobuf:"bytes,3,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	// contains filtered or unexported fields
}

func (*EmployeeShort) Descriptor deprecated

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

Deprecated: Use EmployeeShort.ProtoReflect.Descriptor instead.

func (*EmployeeShort) GetId

func (x *EmployeeShort) GetId() string

func (*EmployeeShort) GetName

func (x *EmployeeShort) GetName() string

func (*EmployeeShort) GetSurname

func (x *EmployeeShort) GetSurname() string

func (*EmployeeShort) ProtoMessage

func (*EmployeeShort) ProtoMessage()

func (*EmployeeShort) ProtoReflect

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

func (*EmployeeShort) Reset

func (x *EmployeeShort) Reset()

func (*EmployeeShort) String

func (x *EmployeeShort) String() string

type EmployeeTimeSlots

type EmployeeTimeSlots struct {
	EmployeeInfo *EmployeeShort `protobuf:"bytes,1,opt,name=employee_info,json=employeeInfo,proto3,oneof" json:"employee_info,omitempty"`
	TimeSlots    []*TimeFrame   `protobuf:"bytes,2,rep,name=time_slots,json=timeSlots,proto3" json:"time_slots,omitempty"`
	// contains filtered or unexported fields
}

func (*EmployeeTimeSlots) Descriptor deprecated

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

Deprecated: Use EmployeeTimeSlots.ProtoReflect.Descriptor instead.

func (*EmployeeTimeSlots) GetEmployeeInfo

func (x *EmployeeTimeSlots) GetEmployeeInfo() *EmployeeShort

func (*EmployeeTimeSlots) GetTimeSlots

func (x *EmployeeTimeSlots) GetTimeSlots() []*TimeFrame

func (*EmployeeTimeSlots) ProtoMessage

func (*EmployeeTimeSlots) ProtoMessage()

func (*EmployeeTimeSlots) ProtoReflect

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

func (*EmployeeTimeSlots) Reset

func (x *EmployeeTimeSlots) Reset()

func (*EmployeeTimeSlots) String

func (x *EmployeeTimeSlots) String() string

type EmployeesReply

type EmployeesReply struct {
	Employees []*EmployeeShort `protobuf:"bytes,1,rep,name=employees,proto3" json:"employees,omitempty"`
	// contains filtered or unexported fields
}

func (*EmployeesReply) Descriptor deprecated

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

Deprecated: Use EmployeesReply.ProtoReflect.Descriptor instead.

func (*EmployeesReply) GetEmployees

func (x *EmployeesReply) GetEmployees() []*EmployeeShort

func (*EmployeesReply) ProtoMessage

func (*EmployeesReply) ProtoMessage()

func (*EmployeesReply) ProtoReflect

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

func (*EmployeesReply) Reset

func (x *EmployeesReply) Reset()

func (*EmployeesReply) String

func (x *EmployeesReply) String() string

type EmployeesRequest

type EmployeesRequest struct {
	CompanyId  *string `protobuf:"bytes,1,opt,name=company_id,json=companyId,proto3,oneof" json:"company_id,omitempty"`
	StartValue *string `protobuf:"bytes,2,opt,name=start_value,json=startValue,proto3,oneof" json:"start_value,omitempty"`
	NPerPage   *int64  `protobuf:"varint,3,opt,name=n_per_page,json=nPerPage,proto3,oneof" json:"n_per_page,omitempty"`
	// contains filtered or unexported fields
}

func (*EmployeesRequest) Descriptor deprecated

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

Deprecated: Use EmployeesRequest.ProtoReflect.Descriptor instead.

func (*EmployeesRequest) GetCompanyId

func (x *EmployeesRequest) GetCompanyId() string

func (*EmployeesRequest) GetNPerPage

func (x *EmployeesRequest) GetNPerPage() int64

func (*EmployeesRequest) GetStartValue

func (x *EmployeesRequest) GetStartValue() string

func (*EmployeesRequest) ProtoMessage

func (*EmployeesRequest) ProtoMessage()

func (*EmployeesRequest) ProtoReflect

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

func (*EmployeesRequest) Reset

func (x *EmployeesRequest) Reset()

func (*EmployeesRequest) String

func (x *EmployeesRequest) String() string

type Server

type Server struct {
	UnimplementedApiServer
	Client *mongo.Client
}

func (*Server) AddEmployee

func (s *Server) AddEmployee(
	ctx context.Context,
	request *AddEmployeeRequest,
) (*emptypb.Empty, error)

func (*Server) DeleteEmployee

func (s *Server) DeleteEmployee(
	ctx context.Context,
	request *DeleteEmployeeRequest,
) (*emptypb.Empty, error)

func (*Server) FindManyEmployees

func (s *Server) FindManyEmployees(
	ctx context.Context,
	request *EmployeesRequest,
) (reply *EmployeesReply, err error)

func (*Server) FindManyTimeSlots

func (s *Server) FindManyTimeSlots(
	ctx context.Context,
	request *TimeSlotsRequest,
) (*TimeSlotsReply, error)

func (*Server) FindOneEmployee

func (s *Server) FindOneEmployee(
	ctx context.Context,
	request *EmployeeRequest,
) (*EmployeeReply, error)

func (*Server) UpdateEmployee

func (s *Server) UpdateEmployee(
	ctx context.Context,
	request *UpdateEmployeeRequest,
) (*emptypb.Empty, error)

type TimeFrame

type TimeFrame struct {
	From *int32 `protobuf:"varint,1,opt,name=from,proto3,oneof" json:"from,omitempty"`
	To   *int32 `protobuf:"varint,2,opt,name=to,proto3,oneof" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func GetServiceSlots

func GetServiceSlots(
	workTimeFrame *models.TimeFrame,
	serviceDuration int32,
	timeSlotLength int32,
	brakeDuration int32,
) []*TimeFrame

func (*TimeFrame) Descriptor deprecated

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

Deprecated: Use TimeFrame.ProtoReflect.Descriptor instead.

func (*TimeFrame) GetFrom

func (x *TimeFrame) GetFrom() int32

func (*TimeFrame) GetTo

func (x *TimeFrame) GetTo() int32

func (*TimeFrame) ProtoMessage

func (*TimeFrame) ProtoMessage()

func (*TimeFrame) ProtoReflect

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

func (*TimeFrame) Reset

func (x *TimeFrame) Reset()

func (*TimeFrame) String

func (x *TimeFrame) String() string

type TimeSlotsReply

type TimeSlotsReply struct {
	EmployeeTimeSlots []*EmployeeTimeSlots `protobuf:"bytes,1,rep,name=employee_time_slots,json=employeeTimeSlots,proto3" json:"employee_time_slots,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeSlotsReply) Descriptor deprecated

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

Deprecated: Use TimeSlotsReply.ProtoReflect.Descriptor instead.

func (*TimeSlotsReply) GetEmployeeTimeSlots

func (x *TimeSlotsReply) GetEmployeeTimeSlots() []*EmployeeTimeSlots

func (*TimeSlotsReply) ProtoMessage

func (*TimeSlotsReply) ProtoMessage()

func (*TimeSlotsReply) ProtoReflect

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

func (*TimeSlotsReply) Reset

func (x *TimeSlotsReply) Reset()

func (*TimeSlotsReply) String

func (x *TimeSlotsReply) String() string

type TimeSlotsRequest

type TimeSlotsRequest struct {
	CompanyId       *string `protobuf:"bytes,1,opt,name=company_id,json=companyId,proto3,oneof" json:"company_id,omitempty"`
	ServiceId       *string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3,oneof" json:"service_id,omitempty"`
	ServiceDuration *int32  `protobuf:"varint,3,opt,name=service_duration,json=serviceDuration,proto3,oneof" json:"service_duration,omitempty"`
	Day             *int32  `protobuf:"varint,4,opt,name=day,proto3,oneof" json:"day,omitempty"`
	StartValue      *string `protobuf:"bytes,5,opt,name=start_value,json=startValue,proto3,oneof" json:"start_value,omitempty"`
	NPerPage        *int64  `protobuf:"varint,6,opt,name=n_per_page,json=nPerPage,proto3,oneof" json:"n_per_page,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeSlotsRequest) Descriptor deprecated

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

Deprecated: Use TimeSlotsRequest.ProtoReflect.Descriptor instead.

func (*TimeSlotsRequest) GetCompanyId

func (x *TimeSlotsRequest) GetCompanyId() string

func (*TimeSlotsRequest) GetDay

func (x *TimeSlotsRequest) GetDay() int32

func (*TimeSlotsRequest) GetNPerPage

func (x *TimeSlotsRequest) GetNPerPage() int64

func (*TimeSlotsRequest) GetServiceDuration

func (x *TimeSlotsRequest) GetServiceDuration() int32

func (*TimeSlotsRequest) GetServiceId

func (x *TimeSlotsRequest) GetServiceId() string

func (*TimeSlotsRequest) GetStartValue

func (x *TimeSlotsRequest) GetStartValue() string

func (*TimeSlotsRequest) ProtoMessage

func (*TimeSlotsRequest) ProtoMessage()

func (*TimeSlotsRequest) ProtoReflect

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

func (*TimeSlotsRequest) Reset

func (x *TimeSlotsRequest) Reset()

func (*TimeSlotsRequest) String

func (x *TimeSlotsRequest) String() string

type UnimplementedApiServer

type UnimplementedApiServer struct {
}

UnimplementedApiServer must be embedded to have forward compatible implementations.

func (UnimplementedApiServer) AddEmployee

func (UnimplementedApiServer) DeleteEmployee

func (UnimplementedApiServer) FindManyEmployees

func (UnimplementedApiServer) FindManyTimeSlots

func (UnimplementedApiServer) FindOneEmployee

func (UnimplementedApiServer) UpdateEmployee

type UnsafeApiServer

type UnsafeApiServer interface {
	// contains filtered or unexported methods
}

UnsafeApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiServer will result in compilation errors.

type UpdateEmployeeRequest

type UpdateEmployeeRequest struct {
	CompanyId  *string    `protobuf:"bytes,1,opt,name=company_id,json=companyId,proto3,oneof" json:"company_id,omitempty"`
	Id         *string    `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	Name       *string    `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Surname    *string    `protobuf:"bytes,4,opt,name=surname,proto3,oneof" json:"surname,omitempty"`
	WorkTimes  *WorkTimes `protobuf:"bytes,5,opt,name=work_times,json=workTimes,proto3,oneof" json:"work_times,omitempty"`
	Competence []string   `protobuf:"bytes,6,rep,name=competence,proto3" json:"competence,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEmployeeRequest) Descriptor deprecated

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

Deprecated: Use UpdateEmployeeRequest.ProtoReflect.Descriptor instead.

func (*UpdateEmployeeRequest) GetCompanyId

func (x *UpdateEmployeeRequest) GetCompanyId() string

func (*UpdateEmployeeRequest) GetCompetence

func (x *UpdateEmployeeRequest) GetCompetence() []string

func (*UpdateEmployeeRequest) GetId

func (x *UpdateEmployeeRequest) GetId() string

func (*UpdateEmployeeRequest) GetName

func (x *UpdateEmployeeRequest) GetName() string

func (*UpdateEmployeeRequest) GetSurname

func (x *UpdateEmployeeRequest) GetSurname() string

func (*UpdateEmployeeRequest) GetWorkTimes

func (x *UpdateEmployeeRequest) GetWorkTimes() *WorkTimes

func (*UpdateEmployeeRequest) ProtoMessage

func (*UpdateEmployeeRequest) ProtoMessage()

func (*UpdateEmployeeRequest) ProtoReflect

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

func (*UpdateEmployeeRequest) Reset

func (x *UpdateEmployeeRequest) Reset()

func (*UpdateEmployeeRequest) String

func (x *UpdateEmployeeRequest) String() string

type WorkTimes

type WorkTimes struct {
	Mo []*TimeFrame `protobuf:"bytes,1,rep,name=mo,proto3" json:"mo,omitempty"`
	Tu []*TimeFrame `protobuf:"bytes,2,rep,name=tu,proto3" json:"tu,omitempty"`
	We []*TimeFrame `protobuf:"bytes,3,rep,name=we,proto3" json:"we,omitempty"`
	Th []*TimeFrame `protobuf:"bytes,4,rep,name=th,proto3" json:"th,omitempty"`
	Fr []*TimeFrame `protobuf:"bytes,5,rep,name=fr,proto3" json:"fr,omitempty"`
	Sa []*TimeFrame `protobuf:"bytes,6,rep,name=sa,proto3" json:"sa,omitempty"`
	Su []*TimeFrame `protobuf:"bytes,7,rep,name=su,proto3" json:"su,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkTimes) Descriptor deprecated

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

Deprecated: Use WorkTimes.ProtoReflect.Descriptor instead.

func (*WorkTimes) GetFr

func (x *WorkTimes) GetFr() []*TimeFrame

func (*WorkTimes) GetMo

func (x *WorkTimes) GetMo() []*TimeFrame

func (*WorkTimes) GetSa

func (x *WorkTimes) GetSa() []*TimeFrame

func (*WorkTimes) GetSu

func (x *WorkTimes) GetSu() []*TimeFrame

func (*WorkTimes) GetTh

func (x *WorkTimes) GetTh() []*TimeFrame

func (*WorkTimes) GetTu

func (x *WorkTimes) GetTu() []*TimeFrame

func (*WorkTimes) GetWe

func (x *WorkTimes) GetWe() []*TimeFrame

func (*WorkTimes) ProtoMessage

func (*WorkTimes) ProtoMessage()

func (*WorkTimes) ProtoReflect

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

func (*WorkTimes) Reset

func (x *WorkTimes) Reset()

func (*WorkTimes) String

func (x *WorkTimes) String() string

Jump to

Keyboard shortcuts

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