system

package
v1.0.42 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RoleType_name = map[int32]string{
		0: "TypeUnknown",
		1: "TypeNormalUser",
		2: "TypeCommunityAdmin",
		3: "TypeSuperAdmin",
		4: "TypeDeveloper",
	}
	RoleType_value = map[string]int32{
		"TypeUnknown":        0,
		"TypeNormalUser":     1,
		"TypeCommunityAdmin": 2,
		"TypeSuperAdmin":     3,
		"TypeDeveloper":      4,
	}
)

Enum value maps for RoleType.

View Source
var (
	ApplyStatus_name = map[int32]string{
		0: "StatusUnknown",
		1: "StatusUnprocessed",
		2: "StatusAccepted",
		3: "StatusRejected",
	}
	ApplyStatus_value = map[string]int32{
		"StatusUnknown":     0,
		"StatusUnprocessed": 1,
		"StatusAccepted":    2,
		"StatusRejected":    3,
	}
)

Enum value maps for ApplyStatus.

View Source
var (
	NotificationType_name = map[int32]string{
		0: "TypeOther",
		1: "TypeContentLike",
		2: "TypeUserLike",
		3: "TypeContentComment",
	}
	NotificationType_value = map[string]int32{
		"TypeOther":          0,
		"TypeContentLike":    1,
		"TypeUserLike":       2,
		"TypeContentComment": 3,
	}
)

Enum value maps for NotificationType.

View Source
var File_meowchat_system_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Admin

type Admin struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name" query:"name"`
	Title       string `protobuf:"bytes,4,opt,name=title,proto3" json:"title" form:"title" query:"title"`
	Phone       string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone" form:"phone" query:"phone"`
	Wechat      string `protobuf:"bytes,6,opt,name=wechat,proto3" json:"wechat" form:"wechat" query:"wechat"`
	AvatarUrl   string `protobuf:"bytes,7,opt,name=avatarUrl,proto3" json:"avatarUrl" form:"avatarUrl" query:"avatarUrl"`
	// contains filtered or unexported fields
}

func (*Admin) Descriptor deprecated

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

Deprecated: Use Admin.ProtoReflect.Descriptor instead.

func (*Admin) GetAvatarUrl

func (x *Admin) GetAvatarUrl() string

func (*Admin) GetCommunityId

func (x *Admin) GetCommunityId() string

func (*Admin) GetId

func (x *Admin) GetId() string

func (*Admin) GetName

func (x *Admin) GetName() string

func (*Admin) GetPhone

func (x *Admin) GetPhone() string

func (*Admin) GetTitle

func (x *Admin) GetTitle() string

func (*Admin) GetWechat

func (x *Admin) GetWechat() string

func (*Admin) ProtoMessage

func (*Admin) ProtoMessage()

func (*Admin) ProtoReflect

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

func (*Admin) Reset

func (x *Admin) Reset()

func (*Admin) String

func (x *Admin) String() string

type Apply

type Apply struct {
	ApplyId     string `protobuf:"bytes,1,opt,name=applyId,proto3" json:"applyId" form:"applyId" query:"applyId"`
	ApplicantId string `protobuf:"bytes,2,opt,name=applicantId,proto3" json:"applicantId" form:"applicantId" query:"applicantId"`
	CommunityId string `protobuf:"bytes,4,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"`
	// contains filtered or unexported fields
}

func (*Apply) Descriptor deprecated

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

Deprecated: Use Apply.ProtoReflect.Descriptor instead.

func (*Apply) GetApplicantId

func (x *Apply) GetApplicantId() string

func (*Apply) GetApplyId

func (x *Apply) GetApplyId() string

func (*Apply) GetCommunityId

func (x *Apply) GetCommunityId() string

func (*Apply) ProtoMessage

func (*Apply) ProtoMessage()

func (*Apply) ProtoReflect

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

func (*Apply) Reset

func (x *Apply) Reset()

func (*Apply) String

func (x *Apply) String() string

type ApplyStatus

type ApplyStatus int32
const (
	ApplyStatus_StatusUnknown     ApplyStatus = 0
	ApplyStatus_StatusUnprocessed ApplyStatus = 1
	ApplyStatus_StatusAccepted    ApplyStatus = 2
	ApplyStatus_StatusRejected    ApplyStatus = 3
)

func (ApplyStatus) Descriptor

func (ApplyStatus) Enum

func (x ApplyStatus) Enum() *ApplyStatus

func (ApplyStatus) EnumDescriptor deprecated

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

Deprecated: Use ApplyStatus.Descriptor instead.

func (ApplyStatus) Number

func (x ApplyStatus) Number() protoreflect.EnumNumber

func (ApplyStatus) String

func (x ApplyStatus) String() string

func (ApplyStatus) Type

type Community

type Community struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name" query:"name"`
	ParentId string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId" form:"parentId" query:"parentId"`
	// contains filtered or unexported fields
}

func (*Community) Descriptor deprecated

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

Deprecated: Use Community.ProtoReflect.Descriptor instead.

func (*Community) GetId

func (x *Community) GetId() string

func (*Community) GetName

func (x *Community) GetName() string

func (*Community) GetParentId

func (x *Community) GetParentId() string

func (*Community) ProtoMessage

func (*Community) ProtoMessage()

func (*Community) ProtoReflect

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

func (*Community) Reset

func (x *Community) Reset()

func (*Community) String

func (x *Community) String() string

type News

type News struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"`
	ImageUrl    string `protobuf:"bytes,3,opt,name=imageUrl,proto3" json:"imageUrl" form:"imageUrl" query:"imageUrl"`
	LinkUrl     string `protobuf:"bytes,4,opt,name=linkUrl,proto3" json:"linkUrl" form:"linkUrl" query:"linkUrl"`
	Type        string `protobuf:"bytes,5,opt,name=type,proto3" json:"type" form:"type" query:"type"`
	IsPublic    int64  `protobuf:"varint,6,opt,name=isPublic,proto3" json:"isPublic" form:"isPublic" query:"isPublic"`
	// contains filtered or unexported fields
}

func (*News) Descriptor deprecated

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

Deprecated: Use News.ProtoReflect.Descriptor instead.

func (*News) GetCommunityId

func (x *News) GetCommunityId() string

func (*News) GetId

func (x *News) GetId() string

func (*News) GetImageUrl

func (x *News) GetImageUrl() string

func (*News) GetIsPublic added in v1.0.8

func (x *News) GetIsPublic() int64

func (*News) GetLinkUrl

func (x *News) GetLinkUrl() string

func (*News) GetType

func (x *News) GetType() string

func (*News) ProtoMessage

func (*News) ProtoMessage()

func (*News) ProtoReflect

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

func (*News) Reset

func (x *News) Reset()

func (*News) String

func (x *News) String() string

type Notice

type Notice struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id" query:"id"`
	CommunityId string `protobuf:"bytes,2,opt,name=communityId,proto3" json:"communityId" form:"communityId" query:"communityId"`
	Text        string `protobuf:"bytes,3,opt,name=text,proto3" json:"text" form:"text" query:"text"`
	CreateAt    int64  `protobuf:"varint,4,opt,name=createAt,proto3" json:"createAt" form:"createAt" query:"createAt"`
	UpdateAt    int64  `protobuf:"varint,5,opt,name=updateAt,proto3" json:"updateAt" form:"updateAt" query:"updateAt"`
	// contains filtered or unexported fields
}

func (*Notice) Descriptor deprecated

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

Deprecated: Use Notice.ProtoReflect.Descriptor instead.

func (*Notice) GetCommunityId

func (x *Notice) GetCommunityId() string

func (*Notice) GetCreateAt

func (x *Notice) GetCreateAt() int64

func (*Notice) GetId

func (x *Notice) GetId() string

func (*Notice) GetText

func (x *Notice) GetText() string

func (*Notice) GetUpdateAt

func (x *Notice) GetUpdateAt() int64

func (*Notice) ProtoMessage

func (*Notice) ProtoMessage()

func (*Notice) ProtoReflect

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

func (*Notice) Reset

func (x *Notice) Reset()

func (*Notice) String

func (x *Notice) String() string

type Notification added in v1.0.27

type Notification struct {
	NotificationId string           `protobuf:"bytes,1,opt,name=notificationId,proto3" json:"notificationId" form:"notificationId" query:"notificationId"`
	UserId         string           `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId" form:"userId" query:"userId"`
	ParenId        string           `protobuf:"bytes,3,opt,name=parenId,proto3" json:"parenId" form:"parenId" query:"parenId"`
	Type           NotificationType `protobuf:"varint,4,opt,name=type,proto3,enum=meowchat.system.NotificationType" json:"type" form:"type" query:"type"`
	Text           string           `protobuf:"bytes,5,opt,name=text,proto3" json:"text" form:"text" query:"text"`
	CreateAt       int64            `protobuf:"varint,6,opt,name=createAt,proto3" json:"createAt" form:"createAt" query:"createAt"`
	// contains filtered or unexported fields
}

func (*Notification) Descriptor deprecated added in v1.0.27

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetCreateAt added in v1.0.27

func (x *Notification) GetCreateAt() int64

func (*Notification) GetNotificationId added in v1.0.27

func (x *Notification) GetNotificationId() string

func (*Notification) GetParenId added in v1.0.27

func (x *Notification) GetParenId() string

func (*Notification) GetText added in v1.0.27

func (x *Notification) GetText() string

func (*Notification) GetType added in v1.0.27

func (x *Notification) GetType() NotificationType

func (*Notification) GetUserId added in v1.0.27

func (x *Notification) GetUserId() string

func (*Notification) ProtoMessage added in v1.0.27

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect added in v1.0.27

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

func (*Notification) Reset added in v1.0.27

func (x *Notification) Reset()

func (*Notification) String added in v1.0.27

func (x *Notification) String() string

type NotificationType added in v1.0.27

type NotificationType int32
const (
	NotificationType_TypeOther          NotificationType = 0
	NotificationType_TypeContentLike    NotificationType = 1
	NotificationType_TypeUserLike       NotificationType = 2
	NotificationType_TypeContentComment NotificationType = 3
)

func (NotificationType) Descriptor added in v1.0.27

func (NotificationType) Enum added in v1.0.27

func (NotificationType) EnumDescriptor deprecated added in v1.0.27

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

Deprecated: Use NotificationType.Descriptor instead.

func (NotificationType) Number added in v1.0.27

func (NotificationType) String added in v1.0.27

func (x NotificationType) String() string

func (NotificationType) Type added in v1.0.27

type Role

type Role struct {
	RoleType    RoleType `protobuf:"varint,1,opt,name=roleType,proto3,enum=meowchat.system.RoleType" json:"roleType" form:"roleType" query:"roleType"`
	CommunityId *string  `protobuf:"bytes,2,opt,name=communityId,proto3,oneof" json:"communityId" form:"communityId" query:"communityId"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCommunityId

func (x *Role) GetCommunityId() string

func (*Role) GetRoleType

func (x *Role) GetRoleType() RoleType

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type RoleType

type RoleType int32
const (
	RoleType_TypeUnknown        RoleType = 0
	RoleType_TypeNormalUser     RoleType = 1
	RoleType_TypeCommunityAdmin RoleType = 2
	RoleType_TypeSuperAdmin     RoleType = 3
	RoleType_TypeDeveloper      RoleType = 4
)

func (RoleType) Descriptor

func (RoleType) Descriptor() protoreflect.EnumDescriptor

func (RoleType) Enum

func (x RoleType) Enum() *RoleType

func (RoleType) EnumDescriptor deprecated

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

Deprecated: Use RoleType.Descriptor instead.

func (RoleType) Number

func (x RoleType) Number() protoreflect.EnumNumber

func (RoleType) String

func (x RoleType) String() string

func (RoleType) Type

Jump to

Keyboard shortcuts

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