ignores

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IgnoreStatus_name = map[int32]string{
		0:  "NOT_IGNORED",
		1:  "IGNORED_USER",
		2:  "IGNORED_GROUP",
		4:  "IGNORED_BY_GROUP",
		8:  "IGNORED_POST",
		16: "IGNORED_TAG",
		32: "IGNORED_GLOBAL",
	}
	IgnoreStatus_value = map[string]int32{
		"NOT_IGNORED":      0,
		"IGNORED_USER":     1,
		"IGNORED_GROUP":    2,
		"IGNORED_BY_GROUP": 4,
		"IGNORED_POST":     8,
		"IGNORED_TAG":      16,
		"IGNORED_GLOBAL":   32,
	}
)

Enum value maps for IgnoreStatus.

View Source
var File_protos_ignores_ignores_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IgnoreResponse

type IgnoreResponse struct {
	IsIgnored   bool         `protobuf:"varint,1,opt,name=is_ignored,json=isIgnored,proto3" json:"is_ignored,omitempty"`
	IgnoreFlags IgnoreStatus `protobuf:"varint,2,opt,name=ignore_flags,json=ignoreFlags,proto3,enum=ignores.IgnoreStatus" json:"ignore_flags,omitempty"`
	// contains filtered or unexported fields
}

func (*IgnoreResponse) Descriptor deprecated

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

Deprecated: Use IgnoreResponse.ProtoReflect.Descriptor instead.

func (*IgnoreResponse) GetIgnoreFlags

func (x *IgnoreResponse) GetIgnoreFlags() IgnoreStatus

func (*IgnoreResponse) GetIsIgnored

func (x *IgnoreResponse) GetIsIgnored() bool

func (*IgnoreResponse) ProtoMessage

func (*IgnoreResponse) ProtoMessage()

func (*IgnoreResponse) ProtoReflect

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

func (*IgnoreResponse) Reset

func (x *IgnoreResponse) Reset()

func (*IgnoreResponse) String

func (x *IgnoreResponse) String() string

type IgnoreStatus

type IgnoreStatus int32
const (
	IgnoreStatus_NOT_IGNORED      IgnoreStatus = 0
	IgnoreStatus_IGNORED_USER     IgnoreStatus = 1
	IgnoreStatus_IGNORED_GROUP    IgnoreStatus = 2
	IgnoreStatus_IGNORED_BY_GROUP IgnoreStatus = 4
	IgnoreStatus_IGNORED_POST     IgnoreStatus = 8
	IgnoreStatus_IGNORED_TAG      IgnoreStatus = 16
	IgnoreStatus_IGNORED_GLOBAL   IgnoreStatus = 32
)

func (IgnoreStatus) Descriptor

func (IgnoreStatus) Enum

func (x IgnoreStatus) Enum() *IgnoreStatus

func (IgnoreStatus) EnumDescriptor deprecated

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

Deprecated: Use IgnoreStatus.Descriptor instead.

func (IgnoreStatus) Number

func (IgnoreStatus) String

func (x IgnoreStatus) String() string

func (IgnoreStatus) Type

Jump to

Keyboard shortcuts

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