orderer

package
v0.0.0-...-4514fd0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSensitiveWordServer

func RegisterSensitiveWordServer(s *grpc.Server, srv SensitiveWordServer)

Types

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

type ExcludedSymbol

type ExcludedSymbol struct {
	// excludedSymbol
	ExcludedSymbols      []byte   `protobuf:"bytes,1,opt,name=excludedSymbols,proto3" json:"excludedSymbols,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExcludedSymbol) Descriptor

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

func (*ExcludedSymbol) GetExcludedSymbols

func (m *ExcludedSymbol) GetExcludedSymbols() []byte

func (*ExcludedSymbol) ProtoMessage

func (*ExcludedSymbol) ProtoMessage()

func (*ExcludedSymbol) Reset

func (m *ExcludedSymbol) Reset()

func (*ExcludedSymbol) String

func (m *ExcludedSymbol) String() string

func (*ExcludedSymbol) XXX_DiscardUnknown

func (m *ExcludedSymbol) XXX_DiscardUnknown()

func (*ExcludedSymbol) XXX_Marshal

func (m *ExcludedSymbol) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExcludedSymbol) XXX_Merge

func (m *ExcludedSymbol) XXX_Merge(src proto.Message)

func (*ExcludedSymbol) XXX_Size

func (m *ExcludedSymbol) XXX_Size() int

func (*ExcludedSymbol) XXX_Unmarshal

func (m *ExcludedSymbol) XXX_Unmarshal(b []byte) error

type SensitiveWord

type SensitiveWord struct {
	// sensitiveWord
	SensitiveWords []byte `protobuf:"bytes,1,opt,name=sensitiveWords,proto3" json:"sensitiveWords,omitempty"`
	// sensitiveWord delm
	Delm                 string   `protobuf:"bytes,2,opt,name=delm,proto3" json:"delm,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SensitiveWord) Descriptor

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

func (*SensitiveWord) GetDelm

func (m *SensitiveWord) GetDelm() string

func (*SensitiveWord) GetSensitiveWords

func (m *SensitiveWord) GetSensitiveWords() []byte

func (*SensitiveWord) ProtoMessage

func (*SensitiveWord) ProtoMessage()

func (*SensitiveWord) Reset

func (m *SensitiveWord) Reset()

func (*SensitiveWord) String

func (m *SensitiveWord) String() string

func (*SensitiveWord) XXX_DiscardUnknown

func (m *SensitiveWord) XXX_DiscardUnknown()

func (*SensitiveWord) XXX_Marshal

func (m *SensitiveWord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SensitiveWord) XXX_Merge

func (m *SensitiveWord) XXX_Merge(src proto.Message)

func (*SensitiveWord) XXX_Size

func (m *SensitiveWord) XXX_Size() int

func (*SensitiveWord) XXX_Unmarshal

func (m *SensitiveWord) XXX_Unmarshal(b []byte) error

type SensitiveWordClient

type SensitiveWordClient interface {
	QuerySensitiveWord(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*SensitiveWord, error)
	AddSensitiveWord(ctx context.Context, in *SensitiveWord, opts ...grpc.CallOption) (*SensitiveWord, error)
	SetSensitiveWord(ctx context.Context, in *SensitiveWord, opts ...grpc.CallOption) (*SensitiveWord, error)
	QueryExcludedSymbol(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ExcludedSymbol, error)
	AddExcludedSymbol(ctx context.Context, in *ExcludedSymbol, opts ...grpc.CallOption) (*ExcludedSymbol, error)
	SetExcludedSymbol(ctx context.Context, in *ExcludedSymbol, opts ...grpc.CallOption) (*ExcludedSymbol, error)
}

SensitiveWordClient is the client API for SensitiveWord service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSensitiveWordClient

func NewSensitiveWordClient(cc *grpc.ClientConn) SensitiveWordClient

type SensitiveWordServer

type SensitiveWordServer interface {
	QuerySensitiveWord(context.Context, *Empty) (*SensitiveWord, error)
	AddSensitiveWord(context.Context, *SensitiveWord) (*SensitiveWord, error)
	SetSensitiveWord(context.Context, *SensitiveWord) (*SensitiveWord, error)
	QueryExcludedSymbol(context.Context, *Empty) (*ExcludedSymbol, error)
	AddExcludedSymbol(context.Context, *ExcludedSymbol) (*ExcludedSymbol, error)
	SetExcludedSymbol(context.Context, *ExcludedSymbol) (*ExcludedSymbol, error)
}

SensitiveWordServer is the server API for SensitiveWord service.

type UnimplementedSensitiveWordServer

type UnimplementedSensitiveWordServer struct {
}

UnimplementedSensitiveWordServer can be embedded to have forward compatible implementations.

func (*UnimplementedSensitiveWordServer) AddExcludedSymbol

func (*UnimplementedSensitiveWordServer) AddSensitiveWord

func (*UnimplementedSensitiveWordServer) QueryExcludedSymbol

func (*UnimplementedSensitiveWordServer) QueryExcludedSymbol(ctx context.Context, req *Empty) (*ExcludedSymbol, error)

func (*UnimplementedSensitiveWordServer) QuerySensitiveWord

func (*UnimplementedSensitiveWordServer) QuerySensitiveWord(ctx context.Context, req *Empty) (*SensitiveWord, error)

func (*UnimplementedSensitiveWordServer) SetExcludedSymbol

func (*UnimplementedSensitiveWordServer) SetSensitiveWord

Jump to

Keyboard shortcuts

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