proto

package
v1.1.4-0...-19cf393 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_store_proto protoreflect.FileDescriptor
View Source
var Store_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "store.Store",
	HandlerType: (*StoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AddEvent",
			Handler:    _Store_AddEvent_Handler,
		},
		{
			MethodName: "AddTeam",
			Handler:    _Store_AddTeam_Handler,
		},
		{
			MethodName: "AddProfile",
			Handler:    _Store_AddProfile_Handler,
		},
		{
			MethodName: "GetEvents",
			Handler:    _Store_GetEvents_Handler,
		},
		{
			MethodName: "GetEventByUser",
			Handler:    _Store_GetEventByUser_Handler,
		},
		{
			MethodName: "GetEventTeams",
			Handler:    _Store_GetEventTeams_Handler,
		},
		{
			MethodName: "GetEventStatus",
			Handler:    _Store_GetEventStatus_Handler,
		},
		{
			MethodName: "IsEventExists",
			Handler:    _Store_IsEventExists_Handler,
		},
		{
			MethodName: "GetTimeSeries",
			Handler:    _Store_GetTimeSeries_Handler,
		},
		{
			MethodName: "DropEvent",
			Handler:    _Store_DropEvent_Handler,
		},
		{
			MethodName: "GetEventID",
			Handler:    _Store_GetEventID_Handler,
		},
		{
			MethodName: "GetProfiles",
			Handler:    _Store_GetProfiles_Handler,
		},
		{
			MethodName: "SetEventStatus",
			Handler:    _Store_SetEventStatus_Handler,
		},
		{
			MethodName: "UpdateCloseEvent",
			Handler:    _Store_UpdateCloseEvent_Handler,
		},
		{
			MethodName: "UpdateTeamSolvedChallenge",
			Handler:    _Store_UpdateTeamSolvedChallenge_Handler,
		},
		{
			MethodName: "UpdateTeamLastAccess",
			Handler:    _Store_UpdateTeamLastAccess_Handler,
		},
		{
			MethodName: "UpdateTeamPassword",
			Handler:    _Store_UpdateTeamPassword_Handler,
		},
		{
			MethodName: "UpdateExercises",
			Handler:    _Store_UpdateExercises_Handler,
		},
		{
			MethodName: "UpdateProfile",
			Handler:    _Store_UpdateProfile_Handler,
		},
		{
			MethodName: "DeleteTeam",
			Handler:    _Store_DeleteTeam_Handler,
		},
		{
			MethodName: "DeleteProfile",
			Handler:    _Store_DeleteProfile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "store.proto",
}

Store_ServiceDesc is the grpc.ServiceDesc for Store service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterStoreServer

func RegisterStoreServer(s grpc.ServiceRegistrar, srv StoreServer)

Types

type AddEventRequest

type AddEventRequest struct {
	Name               string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Tag                string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	Frontends          string `protobuf:"bytes,3,opt,name=frontends,proto3" json:"frontends,omitempty"`
	Exercises          string `protobuf:"bytes,4,opt,name=exercises,proto3" json:"exercises,omitempty"`
	Available          int32  `protobuf:"varint,5,opt,name=available,proto3" json:"available,omitempty"`
	Capacity           int32  `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	StartTime          string `protobuf:"bytes,7,opt,name=startTime,proto3" json:"startTime,omitempty"`
	ExpectedFinishTime string `protobuf:"bytes,8,opt,name=expectedFinishTime,proto3" json:"expectedFinishTime,omitempty"`
	FinishedAt         string `protobuf:"bytes,9,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"`
	Status             int32  `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`
	CreatedBy          string `protobuf:"bytes,11,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	OnlyVPN            int32  `protobuf:"varint,12,opt,name=onlyVPN,proto3" json:"onlyVPN,omitempty"` // 0 NoVPN 1 VPN 2 Browser+VPN
	SecretKey          string `protobuf:"bytes,13,opt,name=secretKey,proto3" json:"secretKey,omitempty"`
	DisabledExercises  string `protobuf:"bytes,14,opt,name=disabledExercises,proto3" json:"disabledExercises,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEventRequest) Descriptor deprecated

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

Deprecated: Use AddEventRequest.ProtoReflect.Descriptor instead.

func (*AddEventRequest) GetAvailable

func (x *AddEventRequest) GetAvailable() int32

func (*AddEventRequest) GetCapacity

func (x *AddEventRequest) GetCapacity() int32

func (*AddEventRequest) GetCreatedBy

func (x *AddEventRequest) GetCreatedBy() string

func (*AddEventRequest) GetDisabledExercises

func (x *AddEventRequest) GetDisabledExercises() string

func (*AddEventRequest) GetExercises

func (x *AddEventRequest) GetExercises() string

func (*AddEventRequest) GetExpectedFinishTime

func (x *AddEventRequest) GetExpectedFinishTime() string

func (*AddEventRequest) GetFinishedAt

func (x *AddEventRequest) GetFinishedAt() string

func (*AddEventRequest) GetFrontends

func (x *AddEventRequest) GetFrontends() string

func (*AddEventRequest) GetName

func (x *AddEventRequest) GetName() string

func (*AddEventRequest) GetOnlyVPN

func (x *AddEventRequest) GetOnlyVPN() int32

func (*AddEventRequest) GetSecretKey

func (x *AddEventRequest) GetSecretKey() string

func (*AddEventRequest) GetStartTime

func (x *AddEventRequest) GetStartTime() string

func (*AddEventRequest) GetStatus

func (x *AddEventRequest) GetStatus() int32

func (*AddEventRequest) GetTag

func (x *AddEventRequest) GetTag() string

func (*AddEventRequest) ProtoMessage

func (*AddEventRequest) ProtoMessage()

func (*AddEventRequest) ProtoReflect

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

func (*AddEventRequest) Reset

func (x *AddEventRequest) Reset()

func (*AddEventRequest) String

func (x *AddEventRequest) String() string

type AddProfileRequest

type AddProfileRequest struct {
	Name       string                         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Secret     bool                           `protobuf:"varint,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Challenges []*AddProfileRequest_Challenge `protobuf:"bytes,3,rep,name=challenges,proto3" json:"challenges,omitempty"`
	// contains filtered or unexported fields
}

func (*AddProfileRequest) Descriptor deprecated

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

Deprecated: Use AddProfileRequest.ProtoReflect.Descriptor instead.

func (*AddProfileRequest) GetChallenges

func (x *AddProfileRequest) GetChallenges() []*AddProfileRequest_Challenge

func (*AddProfileRequest) GetName

func (x *AddProfileRequest) GetName() string

func (*AddProfileRequest) GetSecret

func (x *AddProfileRequest) GetSecret() bool

func (*AddProfileRequest) ProtoMessage

func (*AddProfileRequest) ProtoMessage()

func (*AddProfileRequest) ProtoReflect

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

func (*AddProfileRequest) Reset

func (x *AddProfileRequest) Reset()

func (*AddProfileRequest) String

func (x *AddProfileRequest) String() string

type AddProfileRequest_Challenge

type AddProfileRequest_Challenge struct {
	Tag  string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AddProfileRequest_Challenge) Descriptor deprecated

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

Deprecated: Use AddProfileRequest_Challenge.ProtoReflect.Descriptor instead.

func (*AddProfileRequest_Challenge) GetName

func (x *AddProfileRequest_Challenge) GetName() string

func (*AddProfileRequest_Challenge) GetTag

func (x *AddProfileRequest_Challenge) GetTag() string

func (*AddProfileRequest_Challenge) ProtoMessage

func (*AddProfileRequest_Challenge) ProtoMessage()

func (*AddProfileRequest_Challenge) ProtoReflect

func (*AddProfileRequest_Challenge) Reset

func (x *AddProfileRequest_Challenge) Reset()

func (*AddProfileRequest_Challenge) String

func (x *AddProfileRequest_Challenge) String() string

type AddTeamRequest

type AddTeamRequest struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	EventTag string `protobuf:"bytes,2,opt,name=event_tag,json=eventTag,proto3" json:"event_tag,omitempty"`
	Email    string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Name     string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTeamRequest) Descriptor deprecated

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

Deprecated: Use AddTeamRequest.ProtoReflect.Descriptor instead.

func (*AddTeamRequest) GetEmail

func (x *AddTeamRequest) GetEmail() string

func (*AddTeamRequest) GetEventTag

func (x *AddTeamRequest) GetEventTag() string

func (*AddTeamRequest) GetId

func (x *AddTeamRequest) GetId() string

func (*AddTeamRequest) GetName

func (x *AddTeamRequest) GetName() string

func (*AddTeamRequest) GetPassword

func (x *AddTeamRequest) GetPassword() string

func (*AddTeamRequest) ProtoMessage

func (*AddTeamRequest) ProtoMessage()

func (*AddTeamRequest) ProtoReflect

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

func (*AddTeamRequest) Reset

func (x *AddTeamRequest) Reset()

func (*AddTeamRequest) String

func (x *AddTeamRequest) String() string

type DelProfileRequest

type DelProfileRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DelProfileRequest) Descriptor deprecated

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

Deprecated: Use DelProfileRequest.ProtoReflect.Descriptor instead.

func (*DelProfileRequest) GetName

func (x *DelProfileRequest) GetName() string

func (*DelProfileRequest) ProtoMessage

func (*DelProfileRequest) ProtoMessage()

func (*DelProfileRequest) ProtoReflect

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

func (*DelProfileRequest) Reset

func (x *DelProfileRequest) Reset()

func (*DelProfileRequest) String

func (x *DelProfileRequest) String() string

type DelProfileResp

type DelProfileResp struct {
	Message      string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*DelProfileResp) Descriptor deprecated

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

Deprecated: Use DelProfileResp.ProtoReflect.Descriptor instead.

func (*DelProfileResp) GetErrorMessage

func (x *DelProfileResp) GetErrorMessage() string

func (*DelProfileResp) GetMessage

func (x *DelProfileResp) GetMessage() string

func (*DelProfileResp) ProtoMessage

func (*DelProfileResp) ProtoMessage()

func (*DelProfileResp) ProtoReflect

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

func (*DelProfileResp) Reset

func (x *DelProfileResp) Reset()

func (*DelProfileResp) String

func (x *DelProfileResp) String() string

type DelTeamRequest

type DelTeamRequest struct {
	EvTag  string `protobuf:"bytes,1,opt,name=evTag,proto3" json:"evTag,omitempty"`
	TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"`
	// contains filtered or unexported fields
}

func (*DelTeamRequest) Descriptor deprecated

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

Deprecated: Use DelTeamRequest.ProtoReflect.Descriptor instead.

func (*DelTeamRequest) GetEvTag

func (x *DelTeamRequest) GetEvTag() string

func (*DelTeamRequest) GetTeamId

func (x *DelTeamRequest) GetTeamId() string

func (*DelTeamRequest) ProtoMessage

func (*DelTeamRequest) ProtoMessage()

func (*DelTeamRequest) ProtoReflect

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

func (*DelTeamRequest) Reset

func (x *DelTeamRequest) Reset()

func (*DelTeamRequest) String

func (x *DelTeamRequest) String() string

type DelTeamResp

type DelTeamResp struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DelTeamResp) Descriptor deprecated

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

Deprecated: Use DelTeamResp.ProtoReflect.Descriptor instead.

func (*DelTeamResp) GetMessage

func (x *DelTeamResp) GetMessage() string

func (*DelTeamResp) ProtoMessage

func (*DelTeamResp) ProtoMessage()

func (*DelTeamResp) ProtoReflect

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

func (*DelTeamResp) Reset

func (x *DelTeamResp) Reset()

func (*DelTeamResp) String

func (x *DelTeamResp) String() string

type DropEventReq

type DropEventReq struct {
	Tag    string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Status int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*DropEventReq) Descriptor deprecated

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

Deprecated: Use DropEventReq.ProtoReflect.Descriptor instead.

func (*DropEventReq) GetStatus

func (x *DropEventReq) GetStatus() int32

func (*DropEventReq) GetTag

func (x *DropEventReq) GetTag() string

func (*DropEventReq) ProtoMessage

func (*DropEventReq) ProtoMessage()

func (*DropEventReq) ProtoReflect

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

func (*DropEventReq) Reset

func (x *DropEventReq) Reset()

func (*DropEventReq) String

func (x *DropEventReq) String() string

type DropEventResp

type DropEventResp struct {
	IsDropped bool `protobuf:"varint,1,opt,name=isDropped,proto3" json:"isDropped,omitempty"`
	// contains filtered or unexported fields
}

func (*DropEventResp) Descriptor deprecated

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

Deprecated: Use DropEventResp.ProtoReflect.Descriptor instead.

func (*DropEventResp) GetIsDropped

func (x *DropEventResp) GetIsDropped() bool

func (*DropEventResp) ProtoMessage

func (*DropEventResp) ProtoMessage()

func (*DropEventResp) ProtoReflect

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

func (*DropEventResp) Reset

func (x *DropEventResp) Reset()

func (*DropEventResp) String

func (x *DropEventResp) String() string

type EmptyRequest

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

func (*EmptyRequest) Descriptor deprecated

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

Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) ProtoReflect

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

func (*EmptyRequest) Reset

func (x *EmptyRequest) Reset()

func (*EmptyRequest) String

func (x *EmptyRequest) String() string

type EventStatusStore

type EventStatusStore struct {
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*EventStatusStore) Descriptor deprecated

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

Deprecated: Use EventStatusStore.ProtoReflect.Descriptor instead.

func (*EventStatusStore) GetStatus

func (x *EventStatusStore) GetStatus() int32

func (*EventStatusStore) ProtoMessage

func (*EventStatusStore) ProtoMessage()

func (*EventStatusStore) ProtoReflect

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

func (*EventStatusStore) Reset

func (x *EventStatusStore) Reset()

func (*EventStatusStore) String

func (x *EventStatusStore) String() string

type GetEventByTagReq

type GetEventByTagReq struct {
	EventTag string `protobuf:"bytes,1,opt,name=eventTag,proto3" json:"eventTag,omitempty"`
	Status   int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventByTagReq) Descriptor deprecated

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

Deprecated: Use GetEventByTagReq.ProtoReflect.Descriptor instead.

func (*GetEventByTagReq) GetEventTag

func (x *GetEventByTagReq) GetEventTag() string

func (*GetEventByTagReq) GetStatus

func (x *GetEventByTagReq) GetStatus() int32

func (*GetEventByTagReq) ProtoMessage

func (*GetEventByTagReq) ProtoMessage()

func (*GetEventByTagReq) ProtoReflect

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

func (*GetEventByTagReq) Reset

func (x *GetEventByTagReq) Reset()

func (*GetEventByTagReq) String

func (x *GetEventByTagReq) String() string

type GetEventByTagResp

type GetEventByTagResp struct {
	IsExist bool `protobuf:"varint,1,opt,name=isExist,proto3" json:"isExist,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventByTagResp) Descriptor deprecated

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

Deprecated: Use GetEventByTagResp.ProtoReflect.Descriptor instead.

func (*GetEventByTagResp) GetIsExist

func (x *GetEventByTagResp) GetIsExist() bool

func (*GetEventByTagResp) ProtoMessage

func (*GetEventByTagResp) ProtoMessage()

func (*GetEventByTagResp) ProtoReflect

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

func (*GetEventByTagResp) Reset

func (x *GetEventByTagResp) Reset()

func (*GetEventByTagResp) String

func (x *GetEventByTagResp) String() string

type GetEventByUserReq

type GetEventByUserReq struct {
	Status int32  `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	User   string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventByUserReq) Descriptor deprecated

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

Deprecated: Use GetEventByUserReq.ProtoReflect.Descriptor instead.

func (*GetEventByUserReq) GetStatus

func (x *GetEventByUserReq) GetStatus() int32

func (*GetEventByUserReq) GetUser

func (x *GetEventByUserReq) GetUser() string

func (*GetEventByUserReq) ProtoMessage

func (*GetEventByUserReq) ProtoMessage()

func (*GetEventByUserReq) ProtoReflect

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

func (*GetEventByUserReq) Reset

func (x *GetEventByUserReq) Reset()

func (*GetEventByUserReq) String

func (x *GetEventByUserReq) String() string

type GetEventIDReq

type GetEventIDReq struct {
	EventTag string `protobuf:"bytes,1,opt,name=eventTag,proto3" json:"eventTag,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventIDReq) Descriptor deprecated

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

Deprecated: Use GetEventIDReq.ProtoReflect.Descriptor instead.

func (*GetEventIDReq) GetEventTag

func (x *GetEventIDReq) GetEventTag() string

func (*GetEventIDReq) ProtoMessage

func (*GetEventIDReq) ProtoMessage()

func (*GetEventIDReq) ProtoReflect

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

func (*GetEventIDReq) Reset

func (x *GetEventIDReq) Reset()

func (*GetEventIDReq) String

func (x *GetEventIDReq) String() string

type GetEventIDResp

type GetEventIDResp struct {
	EventID int32 `protobuf:"varint,1,opt,name=eventID,proto3" json:"eventID,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventIDResp) Descriptor deprecated

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

Deprecated: Use GetEventIDResp.ProtoReflect.Descriptor instead.

func (*GetEventIDResp) GetEventID

func (x *GetEventIDResp) GetEventID() int32

func (*GetEventIDResp) ProtoMessage

func (*GetEventIDResp) ProtoMessage()

func (*GetEventIDResp) ProtoReflect

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

func (*GetEventIDResp) Reset

func (x *GetEventIDResp) Reset()

func (*GetEventIDResp) String

func (x *GetEventIDResp) String() string

type GetEventRequest

type GetEventRequest struct {

	// this will indicate that whether all events requested or some by status
	// status 0  > Running Events (which set as Running)
	// status 1  > Suspended Events (which set as Suspended)
	// status 2  > Booked Events (which are booked by client)
	// status 3  > Closed Events (which are finished and closed )
	Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventRequest) Descriptor deprecated

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

Deprecated: Use GetEventRequest.ProtoReflect.Descriptor instead.

func (*GetEventRequest) GetStatus

func (x *GetEventRequest) GetStatus() int32

func (*GetEventRequest) ProtoMessage

func (*GetEventRequest) ProtoMessage()

func (*GetEventRequest) ProtoReflect

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

func (*GetEventRequest) Reset

func (x *GetEventRequest) Reset()

func (*GetEventRequest) String

func (x *GetEventRequest) String() string

type GetEventResponse

type GetEventResponse struct {
	Events       []*GetEventResponse_Events `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	ErrorMessage string                     `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventResponse) Descriptor deprecated

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

Deprecated: Use GetEventResponse.ProtoReflect.Descriptor instead.

func (*GetEventResponse) GetErrorMessage

func (x *GetEventResponse) GetErrorMessage() string

func (*GetEventResponse) GetEvents

func (x *GetEventResponse) GetEvents() []*GetEventResponse_Events

func (*GetEventResponse) ProtoMessage

func (*GetEventResponse) ProtoMessage()

func (*GetEventResponse) ProtoReflect

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

func (*GetEventResponse) Reset

func (x *GetEventResponse) Reset()

func (*GetEventResponse) String

func (x *GetEventResponse) String() string

type GetEventResponse_Events

type GetEventResponse_Events struct {
	Name               string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Tag                string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	Frontends          string `protobuf:"bytes,3,opt,name=frontends,proto3" json:"frontends,omitempty"`
	Exercises          string `protobuf:"bytes,4,opt,name=exercises,proto3" json:"exercises,omitempty"`
	Available          int32  `protobuf:"varint,5,opt,name=available,proto3" json:"available,omitempty"`
	Capacity           int32  `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	StartedAt          string `protobuf:"bytes,7,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
	ExpectedFinishTime string `protobuf:"bytes,8,opt,name=expectedFinishTime,proto3" json:"expectedFinishTime,omitempty"`
	FinishedAt         string `protobuf:"bytes,9,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"`
	Status             int32  `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`
	CreatedBy          string `protobuf:"bytes,11,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	OnlyVPN            int32  `protobuf:"varint,12,opt,name=onlyVPN,proto3" json:"onlyVPN,omitempty"`
	SecretKey          string `protobuf:"bytes,13,opt,name=secretKey,proto3" json:"secretKey,omitempty"`
	DisabledExercises  string `protobuf:"bytes,14,opt,name=disabledExercises,proto3" json:"disabledExercises,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventResponse_Events) Descriptor deprecated

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

Deprecated: Use GetEventResponse_Events.ProtoReflect.Descriptor instead.

func (*GetEventResponse_Events) GetAvailable

func (x *GetEventResponse_Events) GetAvailable() int32

func (*GetEventResponse_Events) GetCapacity

func (x *GetEventResponse_Events) GetCapacity() int32

func (*GetEventResponse_Events) GetCreatedBy

func (x *GetEventResponse_Events) GetCreatedBy() string

func (*GetEventResponse_Events) GetDisabledExercises

func (x *GetEventResponse_Events) GetDisabledExercises() string

func (*GetEventResponse_Events) GetExercises

func (x *GetEventResponse_Events) GetExercises() string

func (*GetEventResponse_Events) GetExpectedFinishTime

func (x *GetEventResponse_Events) GetExpectedFinishTime() string

func (*GetEventResponse_Events) GetFinishedAt

func (x *GetEventResponse_Events) GetFinishedAt() string

func (*GetEventResponse_Events) GetFrontends

func (x *GetEventResponse_Events) GetFrontends() string

func (*GetEventResponse_Events) GetName

func (x *GetEventResponse_Events) GetName() string

func (*GetEventResponse_Events) GetOnlyVPN

func (x *GetEventResponse_Events) GetOnlyVPN() int32

func (*GetEventResponse_Events) GetSecretKey

func (x *GetEventResponse_Events) GetSecretKey() string

func (*GetEventResponse_Events) GetStartedAt

func (x *GetEventResponse_Events) GetStartedAt() string

func (*GetEventResponse_Events) GetStatus

func (x *GetEventResponse_Events) GetStatus() int32

func (*GetEventResponse_Events) GetTag

func (x *GetEventResponse_Events) GetTag() string

func (*GetEventResponse_Events) ProtoMessage

func (*GetEventResponse_Events) ProtoMessage()

func (*GetEventResponse_Events) ProtoReflect

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

func (*GetEventResponse_Events) Reset

func (x *GetEventResponse_Events) Reset()

func (*GetEventResponse_Events) String

func (x *GetEventResponse_Events) String() string

type GetEventStatusRequest

type GetEventStatusRequest struct {
	EventTag string `protobuf:"bytes,1,opt,name=eventTag,proto3" json:"eventTag,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventStatusRequest) Descriptor deprecated

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

Deprecated: Use GetEventStatusRequest.ProtoReflect.Descriptor instead.

func (*GetEventStatusRequest) GetEventTag

func (x *GetEventStatusRequest) GetEventTag() string

func (*GetEventStatusRequest) ProtoMessage

func (*GetEventStatusRequest) ProtoMessage()

func (*GetEventStatusRequest) ProtoReflect

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

func (*GetEventStatusRequest) Reset

func (x *GetEventStatusRequest) Reset()

func (*GetEventStatusRequest) String

func (x *GetEventStatusRequest) String() string

type GetEventTeamsRequest

type GetEventTeamsRequest struct {
	EventTag string `protobuf:"bytes,1,opt,name=eventTag,proto3" json:"eventTag,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventTeamsRequest) Descriptor deprecated

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

Deprecated: Use GetEventTeamsRequest.ProtoReflect.Descriptor instead.

func (*GetEventTeamsRequest) GetEventTag

func (x *GetEventTeamsRequest) GetEventTag() string

func (*GetEventTeamsRequest) ProtoMessage

func (*GetEventTeamsRequest) ProtoMessage()

func (*GetEventTeamsRequest) ProtoReflect

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

func (*GetEventTeamsRequest) Reset

func (x *GetEventTeamsRequest) Reset()

func (*GetEventTeamsRequest) String

func (x *GetEventTeamsRequest) String() string

type GetEventTeamsResponse

type GetEventTeamsResponse struct {
	Teams        []*GetEventTeamsResponse_Teams `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"`
	ErrorMessage string                         `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventTeamsResponse) Descriptor deprecated

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

Deprecated: Use GetEventTeamsResponse.ProtoReflect.Descriptor instead.

func (*GetEventTeamsResponse) GetErrorMessage

func (x *GetEventTeamsResponse) GetErrorMessage() string

func (*GetEventTeamsResponse) GetTeams

func (*GetEventTeamsResponse) ProtoMessage

func (*GetEventTeamsResponse) ProtoMessage()

func (*GetEventTeamsResponse) ProtoReflect

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

func (*GetEventTeamsResponse) Reset

func (x *GetEventTeamsResponse) Reset()

func (*GetEventTeamsResponse) String

func (x *GetEventTeamsResponse) String() string

type GetEventTeamsResponse_Teams

type GetEventTeamsResponse_Teams struct {
	Id               string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Email            string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Name             string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	HashPassword     string `protobuf:"bytes,4,opt,name=hashPassword,proto3" json:"hashPassword,omitempty"`
	CreatedAt        string `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	LastAccess       string `protobuf:"bytes,6,opt,name=lastAccess,proto3" json:"lastAccess,omitempty"`
	SolvedChallenges string `protobuf:"bytes,7,opt,name=solvedChallenges,proto3" json:"solvedChallenges,omitempty"`
	// contains filtered or unexported fields
}

func (*GetEventTeamsResponse_Teams) Descriptor deprecated

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

Deprecated: Use GetEventTeamsResponse_Teams.ProtoReflect.Descriptor instead.

func (*GetEventTeamsResponse_Teams) GetCreatedAt

func (x *GetEventTeamsResponse_Teams) GetCreatedAt() string

func (*GetEventTeamsResponse_Teams) GetEmail

func (x *GetEventTeamsResponse_Teams) GetEmail() string

func (*GetEventTeamsResponse_Teams) GetHashPassword

func (x *GetEventTeamsResponse_Teams) GetHashPassword() string

func (*GetEventTeamsResponse_Teams) GetId

func (*GetEventTeamsResponse_Teams) GetLastAccess

func (x *GetEventTeamsResponse_Teams) GetLastAccess() string

func (*GetEventTeamsResponse_Teams) GetName

func (x *GetEventTeamsResponse_Teams) GetName() string

func (*GetEventTeamsResponse_Teams) GetSolvedChallenges

func (x *GetEventTeamsResponse_Teams) GetSolvedChallenges() string

func (*GetEventTeamsResponse_Teams) ProtoMessage

func (*GetEventTeamsResponse_Teams) ProtoMessage()

func (*GetEventTeamsResponse_Teams) ProtoReflect

func (*GetEventTeamsResponse_Teams) Reset

func (x *GetEventTeamsResponse_Teams) Reset()

func (*GetEventTeamsResponse_Teams) String

func (x *GetEventTeamsResponse_Teams) String() string

type GetProfilesResp

type GetProfilesResp struct {
	Profiles     []*GetProfilesResp_Profile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
	ErrorMessage string                     `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfilesResp) Descriptor deprecated

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

Deprecated: Use GetProfilesResp.ProtoReflect.Descriptor instead.

func (*GetProfilesResp) GetErrorMessage

func (x *GetProfilesResp) GetErrorMessage() string

func (*GetProfilesResp) GetProfiles

func (x *GetProfilesResp) GetProfiles() []*GetProfilesResp_Profile

func (*GetProfilesResp) ProtoMessage

func (*GetProfilesResp) ProtoMessage()

func (*GetProfilesResp) ProtoReflect

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

func (*GetProfilesResp) Reset

func (x *GetProfilesResp) Reset()

func (*GetProfilesResp) String

func (x *GetProfilesResp) String() string

type GetProfilesResp_Profile

type GetProfilesResp_Profile struct {
	Name       string                               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Secret     bool                                 `protobuf:"varint,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Challenges []*GetProfilesResp_Profile_Challenge `protobuf:"bytes,3,rep,name=challenges,proto3" json:"challenges,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfilesResp_Profile) Descriptor deprecated

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

Deprecated: Use GetProfilesResp_Profile.ProtoReflect.Descriptor instead.

func (*GetProfilesResp_Profile) GetChallenges

func (*GetProfilesResp_Profile) GetName

func (x *GetProfilesResp_Profile) GetName() string

func (*GetProfilesResp_Profile) GetSecret

func (x *GetProfilesResp_Profile) GetSecret() bool

func (*GetProfilesResp_Profile) ProtoMessage

func (*GetProfilesResp_Profile) ProtoMessage()

func (*GetProfilesResp_Profile) ProtoReflect

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

func (*GetProfilesResp_Profile) Reset

func (x *GetProfilesResp_Profile) Reset()

func (*GetProfilesResp_Profile) String

func (x *GetProfilesResp_Profile) String() string

type GetProfilesResp_Profile_Challenge

type GetProfilesResp_Profile_Challenge struct {
	Tag  string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfilesResp_Profile_Challenge) Descriptor deprecated

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

Deprecated: Use GetProfilesResp_Profile_Challenge.ProtoReflect.Descriptor instead.

func (*GetProfilesResp_Profile_Challenge) GetName

func (*GetProfilesResp_Profile_Challenge) GetTag

func (*GetProfilesResp_Profile_Challenge) ProtoMessage

func (*GetProfilesResp_Profile_Challenge) ProtoMessage()

func (*GetProfilesResp_Profile_Challenge) ProtoReflect

func (*GetProfilesResp_Profile_Challenge) Reset

func (*GetProfilesResp_Profile_Challenge) String

type GetTimeSeriesResponse

type GetTimeSeriesResponse struct {
	Timeseries map[string]int32 `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetTimeSeriesResponse) Descriptor deprecated

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

Deprecated: Use GetTimeSeriesResponse.ProtoReflect.Descriptor instead.

func (*GetTimeSeriesResponse) GetTimeseries

func (x *GetTimeSeriesResponse) GetTimeseries() map[string]int32

func (*GetTimeSeriesResponse) ProtoMessage

func (*GetTimeSeriesResponse) ProtoMessage()

func (*GetTimeSeriesResponse) ProtoReflect

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

func (*GetTimeSeriesResponse) Reset

func (x *GetTimeSeriesResponse) Reset()

func (*GetTimeSeriesResponse) String

func (x *GetTimeSeriesResponse) String() string

type InsertResponse

type InsertResponse struct {
	Message      string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertResponse) Descriptor deprecated

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

Deprecated: Use InsertResponse.ProtoReflect.Descriptor instead.

func (*InsertResponse) GetErrorMessage

func (x *InsertResponse) GetErrorMessage() string

func (*InsertResponse) GetMessage

func (x *InsertResponse) GetMessage() string

func (*InsertResponse) ProtoMessage

func (*InsertResponse) ProtoMessage()

func (*InsertResponse) ProtoReflect

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

func (*InsertResponse) Reset

func (x *InsertResponse) Reset()

func (*InsertResponse) String

func (x *InsertResponse) String() string

type SetEventStatusRequest

type SetEventStatusRequest struct {
	EventTag string `protobuf:"bytes,1,opt,name=eventTag,proto3" json:"eventTag,omitempty"`
	Status   int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SetEventStatusRequest) Descriptor deprecated

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

Deprecated: Use SetEventStatusRequest.ProtoReflect.Descriptor instead.

func (*SetEventStatusRequest) GetEventTag

func (x *SetEventStatusRequest) GetEventTag() string

func (*SetEventStatusRequest) GetStatus

func (x *SetEventStatusRequest) GetStatus() int32

func (*SetEventStatusRequest) ProtoMessage

func (*SetEventStatusRequest) ProtoMessage()

func (*SetEventStatusRequest) ProtoReflect

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

func (*SetEventStatusRequest) Reset

func (x *SetEventStatusRequest) Reset()

func (*SetEventStatusRequest) String

func (x *SetEventStatusRequest) String() string

type StoreClient

type StoreClient interface {
	//Insert
	AddEvent(ctx context.Context, in *AddEventRequest, opts ...grpc.CallOption) (*InsertResponse, error)
	AddTeam(ctx context.Context, in *AddTeamRequest, opts ...grpc.CallOption) (*InsertResponse, error)
	AddProfile(ctx context.Context, in *AddProfileRequest, opts ...grpc.CallOption) (*InsertResponse, error)
	//Select
	GetEvents(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*GetEventResponse, error)
	GetEventByUser(ctx context.Context, in *GetEventByUserReq, opts ...grpc.CallOption) (*GetEventResponse, error)
	GetEventTeams(ctx context.Context, in *GetEventTeamsRequest, opts ...grpc.CallOption) (*GetEventTeamsResponse, error)
	GetEventStatus(ctx context.Context, in *GetEventStatusRequest, opts ...grpc.CallOption) (*EventStatusStore, error)
	IsEventExists(ctx context.Context, in *GetEventByTagReq, opts ...grpc.CallOption) (*GetEventByTagResp, error)
	GetTimeSeries(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetTimeSeriesResponse, error)
	DropEvent(ctx context.Context, in *DropEventReq, opts ...grpc.CallOption) (*DropEventResp, error)
	GetEventID(ctx context.Context, in *GetEventIDReq, opts ...grpc.CallOption) (*GetEventIDResp, error)
	GetProfiles(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetProfilesResp, error)
	SetEventStatus(ctx context.Context, in *SetEventStatusRequest, opts ...grpc.CallOption) (*EventStatusStore, error)
	//Update
	UpdateCloseEvent(ctx context.Context, in *UpdateEventRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	UpdateTeamSolvedChallenge(ctx context.Context, in *UpdateTeamSolvedChallengeRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	UpdateTeamLastAccess(ctx context.Context, in *UpdateTeamLastAccessRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	UpdateTeamPassword(ctx context.Context, in *UpdateTeamPassRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	UpdateExercises(ctx context.Context, in *UpdateExerciseRequest, opts ...grpc.CallOption) (*UpdateExerciseResponse, error)
	UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// Delete
	DeleteTeam(ctx context.Context, in *DelTeamRequest, opts ...grpc.CallOption) (*DelTeamResp, error)
	DeleteProfile(ctx context.Context, in *DelProfileRequest, opts ...grpc.CallOption) (*DelProfileResp, error)
}

StoreClient is the client API for Store 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 NewStoreClient

func NewStoreClient(cc grpc.ClientConnInterface) StoreClient

type StoreServer

type StoreServer interface {
	//Insert
	AddEvent(context.Context, *AddEventRequest) (*InsertResponse, error)
	AddTeam(context.Context, *AddTeamRequest) (*InsertResponse, error)
	AddProfile(context.Context, *AddProfileRequest) (*InsertResponse, error)
	//Select
	GetEvents(context.Context, *GetEventRequest) (*GetEventResponse, error)
	GetEventByUser(context.Context, *GetEventByUserReq) (*GetEventResponse, error)
	GetEventTeams(context.Context, *GetEventTeamsRequest) (*GetEventTeamsResponse, error)
	GetEventStatus(context.Context, *GetEventStatusRequest) (*EventStatusStore, error)
	IsEventExists(context.Context, *GetEventByTagReq) (*GetEventByTagResp, error)
	GetTimeSeries(context.Context, *EmptyRequest) (*GetTimeSeriesResponse, error)
	DropEvent(context.Context, *DropEventReq) (*DropEventResp, error)
	GetEventID(context.Context, *GetEventIDReq) (*GetEventIDResp, error)
	GetProfiles(context.Context, *EmptyRequest) (*GetProfilesResp, error)
	SetEventStatus(context.Context, *SetEventStatusRequest) (*EventStatusStore, error)
	//Update
	UpdateCloseEvent(context.Context, *UpdateEventRequest) (*UpdateResponse, error)
	UpdateTeamSolvedChallenge(context.Context, *UpdateTeamSolvedChallengeRequest) (*UpdateResponse, error)
	UpdateTeamLastAccess(context.Context, *UpdateTeamLastAccessRequest) (*UpdateResponse, error)
	UpdateTeamPassword(context.Context, *UpdateTeamPassRequest) (*UpdateResponse, error)
	UpdateExercises(context.Context, *UpdateExerciseRequest) (*UpdateExerciseResponse, error)
	UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateResponse, error)
	// Delete
	DeleteTeam(context.Context, *DelTeamRequest) (*DelTeamResp, error)
	DeleteProfile(context.Context, *DelProfileRequest) (*DelProfileResp, error)
	// contains filtered or unexported methods
}

StoreServer is the server API for Store service. All implementations must embed UnimplementedStoreServer for forward compatibility

type UnimplementedStoreServer

type UnimplementedStoreServer struct {
}

UnimplementedStoreServer must be embedded to have forward compatible implementations.

func (UnimplementedStoreServer) AddEvent

func (UnimplementedStoreServer) AddProfile

func (UnimplementedStoreServer) AddTeam

func (UnimplementedStoreServer) DeleteProfile

func (UnimplementedStoreServer) DeleteTeam

func (UnimplementedStoreServer) DropEvent

func (UnimplementedStoreServer) GetEventByUser

func (UnimplementedStoreServer) GetEventID

func (UnimplementedStoreServer) GetEventStatus

func (UnimplementedStoreServer) GetEventTeams

func (UnimplementedStoreServer) GetEvents

func (UnimplementedStoreServer) GetProfiles

func (UnimplementedStoreServer) GetTimeSeries

func (UnimplementedStoreServer) IsEventExists

func (UnimplementedStoreServer) SetEventStatus

func (UnimplementedStoreServer) UpdateCloseEvent

func (UnimplementedStoreServer) UpdateExercises

func (UnimplementedStoreServer) UpdateProfile

func (UnimplementedStoreServer) UpdateTeamLastAccess

func (UnimplementedStoreServer) UpdateTeamPassword

func (UnimplementedStoreServer) UpdateTeamSolvedChallenge

type UnsafeStoreServer

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

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

type UpdateEventRequest

type UpdateEventRequest struct {
	OldTag     string `protobuf:"bytes,1,opt,name=oldTag,proto3" json:"oldTag,omitempty"`
	NewTag     string `protobuf:"bytes,2,opt,name=newTag,proto3" json:"newTag,omitempty"`
	FinishedAt string `protobuf:"bytes,3,opt,name=finishedAt,proto3" json:"finishedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEventRequest) Descriptor deprecated

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

Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.

func (*UpdateEventRequest) GetFinishedAt

func (x *UpdateEventRequest) GetFinishedAt() string

func (*UpdateEventRequest) GetNewTag

func (x *UpdateEventRequest) GetNewTag() string

func (*UpdateEventRequest) GetOldTag

func (x *UpdateEventRequest) GetOldTag() string

func (*UpdateEventRequest) ProtoMessage

func (*UpdateEventRequest) ProtoMessage()

func (*UpdateEventRequest) ProtoReflect

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

func (*UpdateEventRequest) Reset

func (x *UpdateEventRequest) Reset()

func (*UpdateEventRequest) String

func (x *UpdateEventRequest) String() string

type UpdateExerciseRequest

type UpdateExerciseRequest struct {
	EventTag   string `protobuf:"bytes,1,opt,name=eventTag,proto3" json:"eventTag,omitempty"`
	Challenges string `protobuf:"bytes,2,opt,name=challenges,proto3" json:"challenges,omitempty"` // challenges should be exactly in this format :  [ ,ftp,microcms,scan    ]
	// contains filtered or unexported fields
}

func (*UpdateExerciseRequest) Descriptor deprecated

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

Deprecated: Use UpdateExerciseRequest.ProtoReflect.Descriptor instead.

func (*UpdateExerciseRequest) GetChallenges

func (x *UpdateExerciseRequest) GetChallenges() string

func (*UpdateExerciseRequest) GetEventTag

func (x *UpdateExerciseRequest) GetEventTag() string

func (*UpdateExerciseRequest) ProtoMessage

func (*UpdateExerciseRequest) ProtoMessage()

func (*UpdateExerciseRequest) ProtoReflect

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

func (*UpdateExerciseRequest) Reset

func (x *UpdateExerciseRequest) Reset()

func (*UpdateExerciseRequest) String

func (x *UpdateExerciseRequest) String() string

type UpdateExerciseResponse

type UpdateExerciseResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateExerciseResponse) Descriptor deprecated

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

Deprecated: Use UpdateExerciseResponse.ProtoReflect.Descriptor instead.

func (*UpdateExerciseResponse) GetMessage

func (x *UpdateExerciseResponse) GetMessage() string

func (*UpdateExerciseResponse) ProtoMessage

func (*UpdateExerciseResponse) ProtoMessage()

func (*UpdateExerciseResponse) ProtoReflect

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

func (*UpdateExerciseResponse) Reset

func (x *UpdateExerciseResponse) Reset()

func (*UpdateExerciseResponse) String

func (x *UpdateExerciseResponse) String() string

type UpdateProfileRequest

type UpdateProfileRequest struct {
	Name       string                            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Secret     bool                              `protobuf:"varint,2,opt,name=secret,proto3" json:"secret,omitempty"`
	Challenges []*UpdateProfileRequest_Challenge `protobuf:"bytes,3,rep,name=challenges,proto3" json:"challenges,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileRequest) Descriptor deprecated

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

Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.

func (*UpdateProfileRequest) GetChallenges

func (*UpdateProfileRequest) GetName

func (x *UpdateProfileRequest) GetName() string

func (*UpdateProfileRequest) GetSecret

func (x *UpdateProfileRequest) GetSecret() bool

func (*UpdateProfileRequest) ProtoMessage

func (*UpdateProfileRequest) ProtoMessage()

func (*UpdateProfileRequest) ProtoReflect

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

func (*UpdateProfileRequest) Reset

func (x *UpdateProfileRequest) Reset()

func (*UpdateProfileRequest) String

func (x *UpdateProfileRequest) String() string

type UpdateProfileRequest_Challenge

type UpdateProfileRequest_Challenge struct {
	Tag  string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileRequest_Challenge) Descriptor deprecated

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

Deprecated: Use UpdateProfileRequest_Challenge.ProtoReflect.Descriptor instead.

func (*UpdateProfileRequest_Challenge) GetName

func (*UpdateProfileRequest_Challenge) GetTag

func (*UpdateProfileRequest_Challenge) ProtoMessage

func (*UpdateProfileRequest_Challenge) ProtoMessage()

func (*UpdateProfileRequest_Challenge) ProtoReflect

func (*UpdateProfileRequest_Challenge) Reset

func (x *UpdateProfileRequest_Challenge) Reset()

func (*UpdateProfileRequest_Challenge) String

type UpdateResponse

type UpdateResponse struct {
	Message      string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

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

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) GetErrorMessage

func (x *UpdateResponse) GetErrorMessage() string

func (*UpdateResponse) GetMessage

func (x *UpdateResponse) GetMessage() string

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

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

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

type UpdateTeamLastAccessRequest

type UpdateTeamLastAccessRequest struct {
	TeamId   string `protobuf:"bytes,1,opt,name=teamId,proto3" json:"teamId,omitempty"`
	AccessAt string `protobuf:"bytes,2,opt,name=accessAt,proto3" json:"accessAt,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTeamLastAccessRequest) Descriptor deprecated

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

Deprecated: Use UpdateTeamLastAccessRequest.ProtoReflect.Descriptor instead.

func (*UpdateTeamLastAccessRequest) GetAccessAt

func (x *UpdateTeamLastAccessRequest) GetAccessAt() string

func (*UpdateTeamLastAccessRequest) GetTeamId

func (x *UpdateTeamLastAccessRequest) GetTeamId() string

func (*UpdateTeamLastAccessRequest) ProtoMessage

func (*UpdateTeamLastAccessRequest) ProtoMessage()

func (*UpdateTeamLastAccessRequest) ProtoReflect

func (*UpdateTeamLastAccessRequest) Reset

func (x *UpdateTeamLastAccessRequest) Reset()

func (*UpdateTeamLastAccessRequest) String

func (x *UpdateTeamLastAccessRequest) String() string

type UpdateTeamPassRequest

type UpdateTeamPassRequest struct {
	EncryptedPass string `protobuf:"bytes,1,opt,name=encryptedPass,proto3" json:"encryptedPass,omitempty"`
	TeamID        string `protobuf:"bytes,2,opt,name=teamID,proto3" json:"teamID,omitempty"`
	EventID       int32  `protobuf:"varint,3,opt,name=eventID,proto3" json:"eventID,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTeamPassRequest) Descriptor deprecated

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

Deprecated: Use UpdateTeamPassRequest.ProtoReflect.Descriptor instead.

func (*UpdateTeamPassRequest) GetEncryptedPass

func (x *UpdateTeamPassRequest) GetEncryptedPass() string

func (*UpdateTeamPassRequest) GetEventID

func (x *UpdateTeamPassRequest) GetEventID() int32

func (*UpdateTeamPassRequest) GetTeamID

func (x *UpdateTeamPassRequest) GetTeamID() string

func (*UpdateTeamPassRequest) ProtoMessage

func (*UpdateTeamPassRequest) ProtoMessage()

func (*UpdateTeamPassRequest) ProtoReflect

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

func (*UpdateTeamPassRequest) Reset

func (x *UpdateTeamPassRequest) Reset()

func (*UpdateTeamPassRequest) String

func (x *UpdateTeamPassRequest) String() string

type UpdateTeamSolvedChallengeRequest

type UpdateTeamSolvedChallengeRequest struct {
	TeamId      string `protobuf:"bytes,1,opt,name=teamId,proto3" json:"teamId,omitempty"`
	Tag         string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	CompletedAt string `protobuf:"bytes,3,opt,name=completedAt,proto3" json:"completedAt,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTeamSolvedChallengeRequest) Descriptor deprecated

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

Deprecated: Use UpdateTeamSolvedChallengeRequest.ProtoReflect.Descriptor instead.

func (*UpdateTeamSolvedChallengeRequest) GetCompletedAt

func (x *UpdateTeamSolvedChallengeRequest) GetCompletedAt() string

func (*UpdateTeamSolvedChallengeRequest) GetTag

func (*UpdateTeamSolvedChallengeRequest) GetTeamId

func (*UpdateTeamSolvedChallengeRequest) ProtoMessage

func (*UpdateTeamSolvedChallengeRequest) ProtoMessage()

func (*UpdateTeamSolvedChallengeRequest) ProtoReflect

func (*UpdateTeamSolvedChallengeRequest) Reset

func (*UpdateTeamSolvedChallengeRequest) String

Jump to

Keyboard shortcuts

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