roadmap_user_api

package
v0.0.0-...-99908cf Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoadmapUserApi_SetAccess_FullMethodName       = "/roadmap_user_api.RoadmapUserApi/setAccess"
	RoadmapUserApi_ListAccess_FullMethodName      = "/roadmap_user_api.RoadmapUserApi/listAccess"
	RoadmapUserApi_RemoveAccess_FullMethodName    = "/roadmap_user_api.RoadmapUserApi/removeAccess"
	RoadmapUserApi_GetLearnState_FullMethodName   = "/roadmap_user_api.RoadmapUserApi/getLearnState"
	RoadmapUserApi_SetNote_FullMethodName         = "/roadmap_user_api.RoadmapUserApi/setNote"
	RoadmapUserApi_ListNote_FullMethodName        = "/roadmap_user_api.RoadmapUserApi/listNote"
	RoadmapUserApi_ListMyNote_FullMethodName      = "/roadmap_user_api.RoadmapUserApi/listMyNote"
	RoadmapUserApi_RemoveNote_FullMethodName      = "/roadmap_user_api.RoadmapUserApi/removeNote"
	RoadmapUserApi_ListNoteRoadmap_FullMethodName = "/roadmap_user_api.RoadmapUserApi/listNoteRoadmap"
)

Variables

View Source
var (
	SetAccessResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		3: "CODE_NO_ROADMAP",
	}
	SetAccessResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_ROADMAP":    3,
	}
)

Enum value maps for SetAccessResponse_CODE.

View Source
var (
	ListAccessResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
	}
	ListAccessResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
	}
)

Enum value maps for ListAccessResponse_CODE.

View Source
var (
	RemoveAccessResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
	}
	RemoveAccessResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
	}
)

Enum value maps for RemoveAccessResponse_CODE.

View Source
var (
	GetLearnStateResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
	}
	GetLearnStateResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
	}
)

Enum value maps for GetLearnStateResponse_CODE.

View Source
var (
	SetNoteResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_ROADMAP",
		4: "CODE_NO_NODE",
	}
	SetNoteResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PERMISSION": 2,
		"CODE_NO_ROADMAP":    3,
		"CODE_NO_NODE":       4,
	}
)

Enum value maps for SetNoteResponse_CODE.

View Source
var (
	ListNoteResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_ROADMAP",
	}
	ListNoteResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PERMISSION": 2,
		"CODE_NO_ROADMAP":    3,
	}
)

Enum value maps for ListNoteResponse_CODE.

View Source
var (
	ListMyNoteResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
	}
	ListMyNoteResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
	}
)

Enum value maps for ListMyNoteResponse_CODE.

View Source
var (
	RemoveNoteResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
		2: "CODE_NO_PERMISSION",
	}
	RemoveNoteResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
		"CODE_NO_PERMISSION": 2,
	}
)

Enum value maps for RemoveNoteResponse_CODE.

View Source
var (
	ListNoteRoadmapResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_SESSION",
	}
	ListNoteRoadmapResponse_CODE_value = map[string]int32{
		"CODE_OK":            0,
		"CODE_WRONG_SESSION": 1,
	}
)

Enum value maps for ListNoteRoadmapResponse_CODE.

View Source
var File_roadmap_user_api_proto protoreflect.FileDescriptor
View Source
var RoadmapUserApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "roadmap_user_api.RoadmapUserApi",
	HandlerType: (*RoadmapUserApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "setAccess",
			Handler:    _RoadmapUserApi_SetAccess_Handler,
		},
		{
			MethodName: "listAccess",
			Handler:    _RoadmapUserApi_ListAccess_Handler,
		},
		{
			MethodName: "removeAccess",
			Handler:    _RoadmapUserApi_RemoveAccess_Handler,
		},
		{
			MethodName: "getLearnState",
			Handler:    _RoadmapUserApi_GetLearnState_Handler,
		},
		{
			MethodName: "setNote",
			Handler:    _RoadmapUserApi_SetNote_Handler,
		},
		{
			MethodName: "listNote",
			Handler:    _RoadmapUserApi_ListNote_Handler,
		},
		{
			MethodName: "listMyNote",
			Handler:    _RoadmapUserApi_ListMyNote_Handler,
		},
		{
			MethodName: "removeNote",
			Handler:    _RoadmapUserApi_RemoveNote_Handler,
		},
		{
			MethodName: "listNoteRoadmap",
			Handler:    _RoadmapUserApi_ListNoteRoadmap_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "roadmap_user_api.proto",
}

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

Functions

func RegisterRoadmapUserApiServer

func RegisterRoadmapUserApiServer(s grpc.ServiceRegistrar, srv RoadmapUserApiServer)

Types

type AccessRecord

type AccessRecord struct {
	RoadmapId          string `protobuf:"bytes,1,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	UserId             string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	TimeStamp          int64  `protobuf:"varint,3,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"`
	DoneTopicCount     uint32 `protobuf:"varint,10,opt,name=doneTopicCount,proto3" json:"doneTopicCount,omitempty"`
	TotalTopicCount    uint32 `protobuf:"varint,11,opt,name=totalTopicCount,proto3" json:"totalTopicCount,omitempty"`
	DoneSubTopicCount  uint32 `protobuf:"varint,12,opt,name=doneSubTopicCount,proto3" json:"doneSubTopicCount,omitempty"`
	TotalSubTopicCount uint32 `protobuf:"varint,13,opt,name=totalSubTopicCount,proto3" json:"totalSubTopicCount,omitempty"`
	RoadmapTitle       string `protobuf:"bytes,20,opt,name=roadmapTitle,proto3" json:"roadmapTitle,omitempty"`
	RoadmapDesc        string `protobuf:"bytes,21,opt,name=roadmapDesc,proto3" json:"roadmapDesc,omitempty"`
	CanUpdateRoadmap   bool   `protobuf:"varint,22,opt,name=canUpdateRoadmap,proto3" json:"canUpdateRoadmap,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessRecord) Descriptor deprecated

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

Deprecated: Use AccessRecord.ProtoReflect.Descriptor instead.

func (*AccessRecord) GetCanUpdateRoadmap

func (x *AccessRecord) GetCanUpdateRoadmap() bool

func (*AccessRecord) GetDoneSubTopicCount

func (x *AccessRecord) GetDoneSubTopicCount() uint32

func (*AccessRecord) GetDoneTopicCount

func (x *AccessRecord) GetDoneTopicCount() uint32

func (*AccessRecord) GetRoadmapDesc

func (x *AccessRecord) GetRoadmapDesc() string

func (*AccessRecord) GetRoadmapId

func (x *AccessRecord) GetRoadmapId() string

func (*AccessRecord) GetRoadmapTitle

func (x *AccessRecord) GetRoadmapTitle() string

func (*AccessRecord) GetTimeStamp

func (x *AccessRecord) GetTimeStamp() int64

func (*AccessRecord) GetTotalSubTopicCount

func (x *AccessRecord) GetTotalSubTopicCount() uint32

func (*AccessRecord) GetTotalTopicCount

func (x *AccessRecord) GetTotalTopicCount() uint32

func (*AccessRecord) GetUserId

func (x *AccessRecord) GetUserId() string

func (*AccessRecord) ProtoMessage

func (*AccessRecord) ProtoMessage()

func (*AccessRecord) ProtoReflect

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

func (*AccessRecord) Reset

func (x *AccessRecord) Reset()

func (*AccessRecord) String

func (x *AccessRecord) String() string

type GetLearnStateRequest

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

func (*GetLearnStateRequest) Descriptor deprecated

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

Deprecated: Use GetLearnStateRequest.ProtoReflect.Descriptor instead.

func (*GetLearnStateRequest) GetSessionId

func (x *GetLearnStateRequest) GetSessionId() string

func (*GetLearnStateRequest) ProtoMessage

func (*GetLearnStateRequest) ProtoMessage()

func (*GetLearnStateRequest) ProtoReflect

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

func (*GetLearnStateRequest) Reset

func (x *GetLearnStateRequest) Reset()

func (*GetLearnStateRequest) String

func (x *GetLearnStateRequest) String() string

type GetLearnStateResponse

type GetLearnStateResponse struct {
	Code       GetLearnStateResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.GetLearnStateResponse_CODE" json:"code,omitempty"`
	ErrMsg     string                     `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	LearnState *LearnState                `protobuf:"bytes,3,opt,name=learnState,proto3" json:"learnState,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLearnStateResponse) Descriptor deprecated

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

Deprecated: Use GetLearnStateResponse.ProtoReflect.Descriptor instead.

func (*GetLearnStateResponse) GetCode

func (*GetLearnStateResponse) GetErrMsg

func (x *GetLearnStateResponse) GetErrMsg() string

func (*GetLearnStateResponse) GetLearnState

func (x *GetLearnStateResponse) GetLearnState() *LearnState

func (*GetLearnStateResponse) ProtoMessage

func (*GetLearnStateResponse) ProtoMessage()

func (*GetLearnStateResponse) ProtoReflect

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

func (*GetLearnStateResponse) Reset

func (x *GetLearnStateResponse) Reset()

func (*GetLearnStateResponse) String

func (x *GetLearnStateResponse) String() string

type GetLearnStateResponse_CODE

type GetLearnStateResponse_CODE int32
const (
	GetLearnStateResponse_CODE_OK            GetLearnStateResponse_CODE = 0
	GetLearnStateResponse_CODE_WRONG_SESSION GetLearnStateResponse_CODE = 1
)

func (GetLearnStateResponse_CODE) Descriptor

func (GetLearnStateResponse_CODE) Enum

func (GetLearnStateResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use GetLearnStateResponse_CODE.Descriptor instead.

func (GetLearnStateResponse_CODE) Number

func (GetLearnStateResponse_CODE) String

func (GetLearnStateResponse_CODE) Type

type LearnState

type LearnState struct {
	AccessRecordCount  uint32 `protobuf:"varint,1,opt,name=accessRecordCount,proto3" json:"accessRecordCount,omitempty"`
	DoneTopicCount     uint32 `protobuf:"varint,10,opt,name=doneTopicCount,proto3" json:"doneTopicCount,omitempty"`
	TotalTopicCount    uint32 `protobuf:"varint,11,opt,name=totalTopicCount,proto3" json:"totalTopicCount,omitempty"`
	DoneSubTopicCount  uint32 `protobuf:"varint,12,opt,name=doneSubTopicCount,proto3" json:"doneSubTopicCount,omitempty"`
	TotalSubTopicCount uint32 `protobuf:"varint,13,opt,name=totalSubTopicCount,proto3" json:"totalSubTopicCount,omitempty"`
	// contains filtered or unexported fields
}

func (*LearnState) Descriptor deprecated

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

Deprecated: Use LearnState.ProtoReflect.Descriptor instead.

func (*LearnState) GetAccessRecordCount

func (x *LearnState) GetAccessRecordCount() uint32

func (*LearnState) GetDoneSubTopicCount

func (x *LearnState) GetDoneSubTopicCount() uint32

func (*LearnState) GetDoneTopicCount

func (x *LearnState) GetDoneTopicCount() uint32

func (*LearnState) GetTotalSubTopicCount

func (x *LearnState) GetTotalSubTopicCount() uint32

func (*LearnState) GetTotalTopicCount

func (x *LearnState) GetTotalTopicCount() uint32

func (*LearnState) ProtoMessage

func (*LearnState) ProtoMessage()

func (*LearnState) ProtoReflect

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

func (*LearnState) Reset

func (x *LearnState) Reset()

func (*LearnState) String

func (x *LearnState) String() string

type ListAccessRequest

type ListAccessRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	Offset    uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit     uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAccessRequest) Descriptor deprecated

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

Deprecated: Use ListAccessRequest.ProtoReflect.Descriptor instead.

func (*ListAccessRequest) GetLimit

func (x *ListAccessRequest) GetLimit() uint32

func (*ListAccessRequest) GetOffset

func (x *ListAccessRequest) GetOffset() uint32

func (*ListAccessRequest) GetSessionId

func (x *ListAccessRequest) GetSessionId() string

func (*ListAccessRequest) ProtoMessage

func (*ListAccessRequest) ProtoMessage()

func (*ListAccessRequest) ProtoReflect

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

func (*ListAccessRequest) Reset

func (x *ListAccessRequest) Reset()

func (*ListAccessRequest) String

func (x *ListAccessRequest) String() string

type ListAccessResponse

type ListAccessResponse struct {
	Code       ListAccessResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.ListAccessResponse_CODE" json:"code,omitempty"`
	ErrMsg     string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	TotalCount uint32                  `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	RecordList []*AccessRecord         `protobuf:"bytes,4,rep,name=recordList,proto3" json:"recordList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAccessResponse) Descriptor deprecated

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

Deprecated: Use ListAccessResponse.ProtoReflect.Descriptor instead.

func (*ListAccessResponse) GetCode

func (*ListAccessResponse) GetErrMsg

func (x *ListAccessResponse) GetErrMsg() string

func (*ListAccessResponse) GetRecordList

func (x *ListAccessResponse) GetRecordList() []*AccessRecord

func (*ListAccessResponse) GetTotalCount

func (x *ListAccessResponse) GetTotalCount() uint32

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 ListAccessResponse_CODE

type ListAccessResponse_CODE int32
const (
	ListAccessResponse_CODE_OK            ListAccessResponse_CODE = 0
	ListAccessResponse_CODE_WRONG_SESSION ListAccessResponse_CODE = 1
)

func (ListAccessResponse_CODE) Descriptor

func (ListAccessResponse_CODE) Enum

func (ListAccessResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListAccessResponse_CODE.Descriptor instead.

func (ListAccessResponse_CODE) Number

func (ListAccessResponse_CODE) String

func (x ListAccessResponse_CODE) String() string

func (ListAccessResponse_CODE) Type

type ListMyNoteRequest

type ListMyNoteRequest struct {
	SessionId         string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	FilterByRoadmapId bool   `protobuf:"varint,2,opt,name=filterByRoadmapId,proto3" json:"filterByRoadmapId,omitempty"`
	RoadmapId         string `protobuf:"bytes,3,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	Offset            uint32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit             uint32 `protobuf:"varint,11,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMyNoteRequest) Descriptor deprecated

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

Deprecated: Use ListMyNoteRequest.ProtoReflect.Descriptor instead.

func (*ListMyNoteRequest) GetFilterByRoadmapId

func (x *ListMyNoteRequest) GetFilterByRoadmapId() bool

func (*ListMyNoteRequest) GetLimit

func (x *ListMyNoteRequest) GetLimit() uint32

func (*ListMyNoteRequest) GetOffset

func (x *ListMyNoteRequest) GetOffset() uint32

func (*ListMyNoteRequest) GetRoadmapId

func (x *ListMyNoteRequest) GetRoadmapId() string

func (*ListMyNoteRequest) GetSessionId

func (x *ListMyNoteRequest) GetSessionId() string

func (*ListMyNoteRequest) ProtoMessage

func (*ListMyNoteRequest) ProtoMessage()

func (*ListMyNoteRequest) ProtoReflect

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

func (*ListMyNoteRequest) Reset

func (x *ListMyNoteRequest) Reset()

func (*ListMyNoteRequest) String

func (x *ListMyNoteRequest) String() string

type ListMyNoteResponse

type ListMyNoteResponse struct {
	Code       ListMyNoteResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.ListMyNoteResponse_CODE" json:"code,omitempty"`
	ErrMsg     string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	TotalCount uint32                  `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	NoteList   []*NoteInfo             `protobuf:"bytes,4,rep,name=noteList,proto3" json:"noteList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMyNoteResponse) Descriptor deprecated

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

Deprecated: Use ListMyNoteResponse.ProtoReflect.Descriptor instead.

func (*ListMyNoteResponse) GetCode

func (*ListMyNoteResponse) GetErrMsg

func (x *ListMyNoteResponse) GetErrMsg() string

func (*ListMyNoteResponse) GetNoteList

func (x *ListMyNoteResponse) GetNoteList() []*NoteInfo

func (*ListMyNoteResponse) GetTotalCount

func (x *ListMyNoteResponse) GetTotalCount() uint32

func (*ListMyNoteResponse) ProtoMessage

func (*ListMyNoteResponse) ProtoMessage()

func (*ListMyNoteResponse) ProtoReflect

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

func (*ListMyNoteResponse) Reset

func (x *ListMyNoteResponse) Reset()

func (*ListMyNoteResponse) String

func (x *ListMyNoteResponse) String() string

type ListMyNoteResponse_CODE

type ListMyNoteResponse_CODE int32
const (
	ListMyNoteResponse_CODE_OK            ListMyNoteResponse_CODE = 0
	ListMyNoteResponse_CODE_WRONG_SESSION ListMyNoteResponse_CODE = 1
)

func (ListMyNoteResponse_CODE) Descriptor

func (ListMyNoteResponse_CODE) Enum

func (ListMyNoteResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListMyNoteResponse_CODE.Descriptor instead.

func (ListMyNoteResponse_CODE) Number

func (ListMyNoteResponse_CODE) String

func (x ListMyNoteResponse_CODE) String() string

func (ListMyNoteResponse_CODE) Type

type ListNoteRequest

type ListNoteRequest struct {
	SessionId      string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	RoadmapId      string `protobuf:"bytes,2,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	FilterByNodeId bool   `protobuf:"varint,3,opt,name=filterByNodeId,proto3" json:"filterByNodeId,omitempty"`
	NodeId         string `protobuf:"bytes,4,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoteRequest) Descriptor deprecated

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

Deprecated: Use ListNoteRequest.ProtoReflect.Descriptor instead.

func (*ListNoteRequest) GetFilterByNodeId

func (x *ListNoteRequest) GetFilterByNodeId() bool

func (*ListNoteRequest) GetNodeId

func (x *ListNoteRequest) GetNodeId() string

func (*ListNoteRequest) GetRoadmapId

func (x *ListNoteRequest) GetRoadmapId() string

func (*ListNoteRequest) GetSessionId

func (x *ListNoteRequest) GetSessionId() string

func (*ListNoteRequest) ProtoMessage

func (*ListNoteRequest) ProtoMessage()

func (*ListNoteRequest) ProtoReflect

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

func (*ListNoteRequest) Reset

func (x *ListNoteRequest) Reset()

func (*ListNoteRequest) String

func (x *ListNoteRequest) String() string

type ListNoteResponse

type ListNoteResponse struct {
	Code     ListNoteResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.ListNoteResponse_CODE" json:"code,omitempty"`
	ErrMsg   string                `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	NoteList []*NoteInfo           `protobuf:"bytes,3,rep,name=noteList,proto3" json:"noteList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoteResponse) Descriptor deprecated

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

Deprecated: Use ListNoteResponse.ProtoReflect.Descriptor instead.

func (*ListNoteResponse) GetCode

func (*ListNoteResponse) GetErrMsg

func (x *ListNoteResponse) GetErrMsg() string

func (*ListNoteResponse) GetNoteList

func (x *ListNoteResponse) GetNoteList() []*NoteInfo

func (*ListNoteResponse) ProtoMessage

func (*ListNoteResponse) ProtoMessage()

func (*ListNoteResponse) ProtoReflect

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

func (*ListNoteResponse) Reset

func (x *ListNoteResponse) Reset()

func (*ListNoteResponse) String

func (x *ListNoteResponse) String() string

type ListNoteResponse_CODE

type ListNoteResponse_CODE int32
const (
	ListNoteResponse_CODE_OK            ListNoteResponse_CODE = 0
	ListNoteResponse_CODE_WRONG_SESSION ListNoteResponse_CODE = 1
	ListNoteResponse_CODE_NO_PERMISSION ListNoteResponse_CODE = 2
	ListNoteResponse_CODE_NO_ROADMAP    ListNoteResponse_CODE = 3
)

func (ListNoteResponse_CODE) Descriptor

func (ListNoteResponse_CODE) Enum

func (ListNoteResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListNoteResponse_CODE.Descriptor instead.

func (ListNoteResponse_CODE) Number

func (ListNoteResponse_CODE) String

func (x ListNoteResponse_CODE) String() string

func (ListNoteResponse_CODE) Type

type ListNoteRoadmapRequest

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

func (*ListNoteRoadmapRequest) Descriptor deprecated

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

Deprecated: Use ListNoteRoadmapRequest.ProtoReflect.Descriptor instead.

func (*ListNoteRoadmapRequest) GetSessionId

func (x *ListNoteRoadmapRequest) GetSessionId() string

func (*ListNoteRoadmapRequest) ProtoMessage

func (*ListNoteRoadmapRequest) ProtoMessage()

func (*ListNoteRoadmapRequest) ProtoReflect

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

func (*ListNoteRoadmapRequest) Reset

func (x *ListNoteRoadmapRequest) Reset()

func (*ListNoteRoadmapRequest) String

func (x *ListNoteRoadmapRequest) String() string

type ListNoteRoadmapResponse

type ListNoteRoadmapResponse struct {
	Code     ListNoteRoadmapResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.ListNoteRoadmapResponse_CODE" json:"code,omitempty"`
	ErrMsg   string                       `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	InfoList []*SimpleRoadmapInfo         `protobuf:"bytes,3,rep,name=infoList,proto3" json:"infoList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNoteRoadmapResponse) Descriptor deprecated

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

Deprecated: Use ListNoteRoadmapResponse.ProtoReflect.Descriptor instead.

func (*ListNoteRoadmapResponse) GetCode

func (*ListNoteRoadmapResponse) GetErrMsg

func (x *ListNoteRoadmapResponse) GetErrMsg() string

func (*ListNoteRoadmapResponse) GetInfoList

func (x *ListNoteRoadmapResponse) GetInfoList() []*SimpleRoadmapInfo

func (*ListNoteRoadmapResponse) ProtoMessage

func (*ListNoteRoadmapResponse) ProtoMessage()

func (*ListNoteRoadmapResponse) ProtoReflect

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

func (*ListNoteRoadmapResponse) Reset

func (x *ListNoteRoadmapResponse) Reset()

func (*ListNoteRoadmapResponse) String

func (x *ListNoteRoadmapResponse) String() string

type ListNoteRoadmapResponse_CODE

type ListNoteRoadmapResponse_CODE int32
const (
	ListNoteRoadmapResponse_CODE_OK            ListNoteRoadmapResponse_CODE = 0
	ListNoteRoadmapResponse_CODE_WRONG_SESSION ListNoteRoadmapResponse_CODE = 1
)

func (ListNoteRoadmapResponse_CODE) Descriptor

func (ListNoteRoadmapResponse_CODE) Enum

func (ListNoteRoadmapResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListNoteRoadmapResponse_CODE.Descriptor instead.

func (ListNoteRoadmapResponse_CODE) Number

func (ListNoteRoadmapResponse_CODE) String

func (ListNoteRoadmapResponse_CODE) Type

type NoteInfo

type NoteInfo struct {
	RoadmapId        string `protobuf:"bytes,1,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	NodeId           string `protobuf:"bytes,2,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	Content          string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	RoadmapTitle     string `protobuf:"bytes,4,opt,name=roadmapTitle,proto3" json:"roadmapTitle,omitempty"`
	NodeTitle        string `protobuf:"bytes,5,opt,name=nodeTitle,proto3" json:"nodeTitle,omitempty"`
	TimeStamp        int64  `protobuf:"varint,10,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"`
	RoadmapExist     bool   `protobuf:"varint,30,opt,name=roadmapExist,proto3" json:"roadmapExist,omitempty"`         //路线图是否存在
	CanUpdateRoadmap bool   `protobuf:"varint,31,opt,name=canUpdateRoadmap,proto3" json:"canUpdateRoadmap,omitempty"` //是否可编辑
	// contains filtered or unexported fields
}

func (*NoteInfo) Descriptor deprecated

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

Deprecated: Use NoteInfo.ProtoReflect.Descriptor instead.

func (*NoteInfo) GetCanUpdateRoadmap

func (x *NoteInfo) GetCanUpdateRoadmap() bool

func (*NoteInfo) GetContent

func (x *NoteInfo) GetContent() string

func (*NoteInfo) GetNodeId

func (x *NoteInfo) GetNodeId() string

func (*NoteInfo) GetNodeTitle

func (x *NoteInfo) GetNodeTitle() string

func (*NoteInfo) GetRoadmapExist

func (x *NoteInfo) GetRoadmapExist() bool

func (*NoteInfo) GetRoadmapId

func (x *NoteInfo) GetRoadmapId() string

func (*NoteInfo) GetRoadmapTitle

func (x *NoteInfo) GetRoadmapTitle() string

func (*NoteInfo) GetTimeStamp

func (x *NoteInfo) GetTimeStamp() int64

func (*NoteInfo) ProtoMessage

func (*NoteInfo) ProtoMessage()

func (*NoteInfo) ProtoReflect

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

func (*NoteInfo) Reset

func (x *NoteInfo) Reset()

func (*NoteInfo) String

func (x *NoteInfo) String() string

type RemoveAccessRequest

type RemoveAccessRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	RoadmapId string `protobuf:"bytes,2,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveAccessRequest) Descriptor deprecated

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

Deprecated: Use RemoveAccessRequest.ProtoReflect.Descriptor instead.

func (*RemoveAccessRequest) GetRoadmapId

func (x *RemoveAccessRequest) GetRoadmapId() string

func (*RemoveAccessRequest) GetSessionId

func (x *RemoveAccessRequest) GetSessionId() string

func (*RemoveAccessRequest) ProtoMessage

func (*RemoveAccessRequest) ProtoMessage()

func (*RemoveAccessRequest) ProtoReflect

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

func (*RemoveAccessRequest) Reset

func (x *RemoveAccessRequest) Reset()

func (*RemoveAccessRequest) String

func (x *RemoveAccessRequest) String() string

type RemoveAccessResponse

type RemoveAccessResponse struct {
	Code   RemoveAccessResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.RemoveAccessResponse_CODE" json:"code,omitempty"`
	ErrMsg string                    `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveAccessResponse) Descriptor deprecated

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

Deprecated: Use RemoveAccessResponse.ProtoReflect.Descriptor instead.

func (*RemoveAccessResponse) GetCode

func (*RemoveAccessResponse) GetErrMsg

func (x *RemoveAccessResponse) GetErrMsg() string

func (*RemoveAccessResponse) ProtoMessage

func (*RemoveAccessResponse) ProtoMessage()

func (*RemoveAccessResponse) ProtoReflect

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

func (*RemoveAccessResponse) Reset

func (x *RemoveAccessResponse) Reset()

func (*RemoveAccessResponse) String

func (x *RemoveAccessResponse) String() string

type RemoveAccessResponse_CODE

type RemoveAccessResponse_CODE int32
const (
	RemoveAccessResponse_CODE_OK            RemoveAccessResponse_CODE = 0
	RemoveAccessResponse_CODE_WRONG_SESSION RemoveAccessResponse_CODE = 1
)

func (RemoveAccessResponse_CODE) Descriptor

func (RemoveAccessResponse_CODE) Enum

func (RemoveAccessResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use RemoveAccessResponse_CODE.Descriptor instead.

func (RemoveAccessResponse_CODE) Number

func (RemoveAccessResponse_CODE) String

func (x RemoveAccessResponse_CODE) String() string

func (RemoveAccessResponse_CODE) Type

type RemoveNoteRequest

type RemoveNoteRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	RoadmapId string `protobuf:"bytes,2,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	NodeId    string `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveNoteRequest) Descriptor deprecated

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

Deprecated: Use RemoveNoteRequest.ProtoReflect.Descriptor instead.

func (*RemoveNoteRequest) GetNodeId

func (x *RemoveNoteRequest) GetNodeId() string

func (*RemoveNoteRequest) GetRoadmapId

func (x *RemoveNoteRequest) GetRoadmapId() string

func (*RemoveNoteRequest) GetSessionId

func (x *RemoveNoteRequest) GetSessionId() string

func (*RemoveNoteRequest) ProtoMessage

func (*RemoveNoteRequest) ProtoMessage()

func (*RemoveNoteRequest) ProtoReflect

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

func (*RemoveNoteRequest) Reset

func (x *RemoveNoteRequest) Reset()

func (*RemoveNoteRequest) String

func (x *RemoveNoteRequest) String() string

type RemoveNoteResponse

type RemoveNoteResponse struct {
	Code   RemoveNoteResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.RemoveNoteResponse_CODE" json:"code,omitempty"`
	ErrMsg string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveNoteResponse) Descriptor deprecated

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

Deprecated: Use RemoveNoteResponse.ProtoReflect.Descriptor instead.

func (*RemoveNoteResponse) GetCode

func (*RemoveNoteResponse) GetErrMsg

func (x *RemoveNoteResponse) GetErrMsg() string

func (*RemoveNoteResponse) ProtoMessage

func (*RemoveNoteResponse) ProtoMessage()

func (*RemoveNoteResponse) ProtoReflect

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

func (*RemoveNoteResponse) Reset

func (x *RemoveNoteResponse) Reset()

func (*RemoveNoteResponse) String

func (x *RemoveNoteResponse) String() string

type RemoveNoteResponse_CODE

type RemoveNoteResponse_CODE int32
const (
	RemoveNoteResponse_CODE_OK            RemoveNoteResponse_CODE = 0
	RemoveNoteResponse_CODE_WRONG_SESSION RemoveNoteResponse_CODE = 1
	RemoveNoteResponse_CODE_NO_PERMISSION RemoveNoteResponse_CODE = 2
)

func (RemoveNoteResponse_CODE) Descriptor

func (RemoveNoteResponse_CODE) Enum

func (RemoveNoteResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use RemoveNoteResponse_CODE.Descriptor instead.

func (RemoveNoteResponse_CODE) Number

func (RemoveNoteResponse_CODE) String

func (x RemoveNoteResponse_CODE) String() string

func (RemoveNoteResponse_CODE) Type

type RoadmapUserApiClient

type RoadmapUserApiClient interface {
	// 设置访问记录
	SetAccess(ctx context.Context, in *SetAccessRequest, opts ...grpc.CallOption) (*SetAccessResponse, error)
	// 列出访问记录
	ListAccess(ctx context.Context, in *ListAccessRequest, opts ...grpc.CallOption) (*ListAccessResponse, error)
	// 删除访问记录
	RemoveAccess(ctx context.Context, in *RemoveAccessRequest, opts ...grpc.CallOption) (*RemoveAccessResponse, error)
	// 获取学习状态
	GetLearnState(ctx context.Context, in *GetLearnStateRequest, opts ...grpc.CallOption) (*GetLearnStateResponse, error)
	// 设置学习笔记
	SetNote(ctx context.Context, in *SetNoteRequest, opts ...grpc.CallOption) (*SetNoteResponse, error)
	// 列出路线图学习笔记
	ListNote(ctx context.Context, in *ListNoteRequest, opts ...grpc.CallOption) (*ListNoteResponse, error)
	// 列出我的学习笔记
	ListMyNote(ctx context.Context, in *ListMyNoteRequest, opts ...grpc.CallOption) (*ListMyNoteResponse, error)
	// 删除学习笔记
	RemoveNote(ctx context.Context, in *RemoveNoteRequest, opts ...grpc.CallOption) (*RemoveNoteResponse, error)
	// 列出学习笔记相关路线图
	ListNoteRoadmap(ctx context.Context, in *ListNoteRoadmapRequest, opts ...grpc.CallOption) (*ListNoteRoadmapResponse, error)
}

RoadmapUserApiClient is the client API for RoadmapUserApi 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 NewRoadmapUserApiClient

func NewRoadmapUserApiClient(cc grpc.ClientConnInterface) RoadmapUserApiClient

type RoadmapUserApiServer

type RoadmapUserApiServer interface {
	// 设置访问记录
	SetAccess(context.Context, *SetAccessRequest) (*SetAccessResponse, error)
	// 列出访问记录
	ListAccess(context.Context, *ListAccessRequest) (*ListAccessResponse, error)
	// 删除访问记录
	RemoveAccess(context.Context, *RemoveAccessRequest) (*RemoveAccessResponse, error)
	// 获取学习状态
	GetLearnState(context.Context, *GetLearnStateRequest) (*GetLearnStateResponse, error)
	// 设置学习笔记
	SetNote(context.Context, *SetNoteRequest) (*SetNoteResponse, error)
	// 列出路线图学习笔记
	ListNote(context.Context, *ListNoteRequest) (*ListNoteResponse, error)
	// 列出我的学习笔记
	ListMyNote(context.Context, *ListMyNoteRequest) (*ListMyNoteResponse, error)
	// 删除学习笔记
	RemoveNote(context.Context, *RemoveNoteRequest) (*RemoveNoteResponse, error)
	// 列出学习笔记相关路线图
	ListNoteRoadmap(context.Context, *ListNoteRoadmapRequest) (*ListNoteRoadmapResponse, error)
	// contains filtered or unexported methods
}

RoadmapUserApiServer is the server API for RoadmapUserApi service. All implementations must embed UnimplementedRoadmapUserApiServer for forward compatibility

type SetAccessRequest

type SetAccessRequest struct {
	SessionId          string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	RoadmapId          string `protobuf:"bytes,2,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	DoneTopicCount     uint32 `protobuf:"varint,10,opt,name=doneTopicCount,proto3" json:"doneTopicCount,omitempty"`
	TotalTopicCount    uint32 `protobuf:"varint,11,opt,name=totalTopicCount,proto3" json:"totalTopicCount,omitempty"`
	DoneSubTopicCount  uint32 `protobuf:"varint,12,opt,name=doneSubTopicCount,proto3" json:"doneSubTopicCount,omitempty"`
	TotalSubTopicCount uint32 `protobuf:"varint,13,opt,name=totalSubTopicCount,proto3" json:"totalSubTopicCount,omitempty"`
	// contains filtered or unexported fields
}

func (*SetAccessRequest) Descriptor deprecated

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

Deprecated: Use SetAccessRequest.ProtoReflect.Descriptor instead.

func (*SetAccessRequest) GetDoneSubTopicCount

func (x *SetAccessRequest) GetDoneSubTopicCount() uint32

func (*SetAccessRequest) GetDoneTopicCount

func (x *SetAccessRequest) GetDoneTopicCount() uint32

func (*SetAccessRequest) GetRoadmapId

func (x *SetAccessRequest) GetRoadmapId() string

func (*SetAccessRequest) GetSessionId

func (x *SetAccessRequest) GetSessionId() string

func (*SetAccessRequest) GetTotalSubTopicCount

func (x *SetAccessRequest) GetTotalSubTopicCount() uint32

func (*SetAccessRequest) GetTotalTopicCount

func (x *SetAccessRequest) GetTotalTopicCount() uint32

func (*SetAccessRequest) ProtoMessage

func (*SetAccessRequest) ProtoMessage()

func (*SetAccessRequest) ProtoReflect

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

func (*SetAccessRequest) Reset

func (x *SetAccessRequest) Reset()

func (*SetAccessRequest) String

func (x *SetAccessRequest) String() string

type SetAccessResponse

type SetAccessResponse struct {
	Code   SetAccessResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.SetAccessResponse_CODE" json:"code,omitempty"`
	ErrMsg string                 `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*SetAccessResponse) Descriptor deprecated

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

Deprecated: Use SetAccessResponse.ProtoReflect.Descriptor instead.

func (*SetAccessResponse) GetCode

func (*SetAccessResponse) GetErrMsg

func (x *SetAccessResponse) GetErrMsg() string

func (*SetAccessResponse) ProtoMessage

func (*SetAccessResponse) ProtoMessage()

func (*SetAccessResponse) ProtoReflect

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

func (*SetAccessResponse) Reset

func (x *SetAccessResponse) Reset()

func (*SetAccessResponse) String

func (x *SetAccessResponse) String() string

type SetAccessResponse_CODE

type SetAccessResponse_CODE int32
const (
	SetAccessResponse_CODE_OK            SetAccessResponse_CODE = 0
	SetAccessResponse_CODE_WRONG_SESSION SetAccessResponse_CODE = 1
	SetAccessResponse_CODE_NO_ROADMAP    SetAccessResponse_CODE = 3
)

func (SetAccessResponse_CODE) Descriptor

func (SetAccessResponse_CODE) Enum

func (SetAccessResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use SetAccessResponse_CODE.Descriptor instead.

func (SetAccessResponse_CODE) Number

func (SetAccessResponse_CODE) String

func (x SetAccessResponse_CODE) String() string

func (SetAccessResponse_CODE) Type

type SetNoteRequest

type SetNoteRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	RoadmapId string `protobuf:"bytes,2,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	NodeId    string `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
	Content   string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNoteRequest) Descriptor deprecated

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

Deprecated: Use SetNoteRequest.ProtoReflect.Descriptor instead.

func (*SetNoteRequest) GetContent

func (x *SetNoteRequest) GetContent() string

func (*SetNoteRequest) GetNodeId

func (x *SetNoteRequest) GetNodeId() string

func (*SetNoteRequest) GetRoadmapId

func (x *SetNoteRequest) GetRoadmapId() string

func (*SetNoteRequest) GetSessionId

func (x *SetNoteRequest) GetSessionId() string

func (*SetNoteRequest) ProtoMessage

func (*SetNoteRequest) ProtoMessage()

func (*SetNoteRequest) ProtoReflect

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

func (*SetNoteRequest) Reset

func (x *SetNoteRequest) Reset()

func (*SetNoteRequest) String

func (x *SetNoteRequest) String() string

type SetNoteResponse

type SetNoteResponse struct {
	Code   SetNoteResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=roadmap_user_api.SetNoteResponse_CODE" json:"code,omitempty"`
	ErrMsg string               `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*SetNoteResponse) Descriptor deprecated

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

Deprecated: Use SetNoteResponse.ProtoReflect.Descriptor instead.

func (*SetNoteResponse) GetCode

func (*SetNoteResponse) GetErrMsg

func (x *SetNoteResponse) GetErrMsg() string

func (*SetNoteResponse) ProtoMessage

func (*SetNoteResponse) ProtoMessage()

func (*SetNoteResponse) ProtoReflect

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

func (*SetNoteResponse) Reset

func (x *SetNoteResponse) Reset()

func (*SetNoteResponse) String

func (x *SetNoteResponse) String() string

type SetNoteResponse_CODE

type SetNoteResponse_CODE int32
const (
	SetNoteResponse_CODE_OK            SetNoteResponse_CODE = 0
	SetNoteResponse_CODE_WRONG_SESSION SetNoteResponse_CODE = 1
	SetNoteResponse_CODE_NO_PERMISSION SetNoteResponse_CODE = 2
	SetNoteResponse_CODE_NO_ROADMAP    SetNoteResponse_CODE = 3
	SetNoteResponse_CODE_NO_NODE       SetNoteResponse_CODE = 4
)

func (SetNoteResponse_CODE) Descriptor

func (SetNoteResponse_CODE) Enum

func (SetNoteResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use SetNoteResponse_CODE.Descriptor instead.

func (SetNoteResponse_CODE) Number

func (SetNoteResponse_CODE) String

func (x SetNoteResponse_CODE) String() string

func (SetNoteResponse_CODE) Type

type SimpleRoadmapInfo

type SimpleRoadmapInfo struct {
	RoadmapId    string `protobuf:"bytes,1,opt,name=roadmapId,proto3" json:"roadmapId,omitempty"`
	RoadmapTitle string `protobuf:"bytes,2,opt,name=roadmapTitle,proto3" json:"roadmapTitle,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleRoadmapInfo) Descriptor deprecated

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

Deprecated: Use SimpleRoadmapInfo.ProtoReflect.Descriptor instead.

func (*SimpleRoadmapInfo) GetRoadmapId

func (x *SimpleRoadmapInfo) GetRoadmapId() string

func (*SimpleRoadmapInfo) GetRoadmapTitle

func (x *SimpleRoadmapInfo) GetRoadmapTitle() string

func (*SimpleRoadmapInfo) ProtoMessage

func (*SimpleRoadmapInfo) ProtoMessage()

func (*SimpleRoadmapInfo) ProtoReflect

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

func (*SimpleRoadmapInfo) Reset

func (x *SimpleRoadmapInfo) Reset()

func (*SimpleRoadmapInfo) String

func (x *SimpleRoadmapInfo) String() string

type UnimplementedRoadmapUserApiServer

type UnimplementedRoadmapUserApiServer struct {
}

UnimplementedRoadmapUserApiServer must be embedded to have forward compatible implementations.

func (UnimplementedRoadmapUserApiServer) GetLearnState

func (UnimplementedRoadmapUserApiServer) ListAccess

func (UnimplementedRoadmapUserApiServer) ListMyNote

func (UnimplementedRoadmapUserApiServer) ListNote

func (UnimplementedRoadmapUserApiServer) ListNoteRoadmap

func (UnimplementedRoadmapUserApiServer) RemoveAccess

func (UnimplementedRoadmapUserApiServer) RemoveNote

func (UnimplementedRoadmapUserApiServer) SetAccess

func (UnimplementedRoadmapUserApiServer) SetNote

type UnsafeRoadmapUserApiServer

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

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

Source Files

  • roadmap_user_api.pb.go
  • roadmap_user_api_grpc.pb.go

Jump to

Keyboard shortcuts

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