types

package
v0.0.0-...-0abe6a2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NormActionPut = 1
)

norm action

Variables

View Source
var NormX = "norm"

NormX name

Functions

This section is empty.

Types

type Norm

type Norm struct {
	NormId               []byte   `protobuf:"bytes,1,opt,name=normId,proto3" json:"normId,omitempty"`
	CreateTime           int64    `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
	Key                  []byte   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Value                []byte   `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Norm) Descriptor

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

func (*Norm) GetCreateTime

func (m *Norm) GetCreateTime() int64

func (*Norm) GetKey

func (m *Norm) GetKey() []byte

func (*Norm) GetNormId

func (m *Norm) GetNormId() []byte

func (*Norm) GetValue

func (m *Norm) GetValue() []byte

func (*Norm) ProtoMessage

func (*Norm) ProtoMessage()

func (*Norm) Reset

func (m *Norm) Reset()

func (*Norm) String

func (m *Norm) String() string

func (*Norm) XXX_DiscardUnknown

func (m *Norm) XXX_DiscardUnknown()

func (*Norm) XXX_Marshal

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

func (*Norm) XXX_Merge

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

func (*Norm) XXX_Size

func (m *Norm) XXX_Size() int

func (*Norm) XXX_Unmarshal

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

type NormAction

type NormAction struct {
	// Types that are valid to be assigned to Value:
	//	*NormAction_Nput
	Value                isNormAction_Value `protobuf_oneof:"value"`
	Ty                   int32              `protobuf:"varint,5,opt,name=ty,proto3" json:"ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*NormAction) Descriptor

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

func (*NormAction) GetNput

func (m *NormAction) GetNput() *NormPut

func (*NormAction) GetTy

func (m *NormAction) GetTy() int32

func (*NormAction) GetValue

func (m *NormAction) GetValue() isNormAction_Value

func (*NormAction) ProtoMessage

func (*NormAction) ProtoMessage()

func (*NormAction) Reset

func (m *NormAction) Reset()

func (*NormAction) String

func (m *NormAction) String() string

func (*NormAction) XXX_DiscardUnknown

func (m *NormAction) XXX_DiscardUnknown()

func (*NormAction) XXX_Marshal

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

func (*NormAction) XXX_Merge

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

func (*NormAction) XXX_OneofFuncs

func (*NormAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*NormAction) XXX_Size

func (m *NormAction) XXX_Size() int

func (*NormAction) XXX_Unmarshal

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

type NormAction_Nput

type NormAction_Nput struct {
	Nput *NormPut `protobuf:"bytes,1,opt,name=nput,proto3,oneof"`
}

type NormGetKey

type NormGetKey struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NormGetKey) Descriptor

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

func (*NormGetKey) GetKey

func (m *NormGetKey) GetKey() []byte

func (*NormGetKey) ProtoMessage

func (*NormGetKey) ProtoMessage()

func (*NormGetKey) Reset

func (m *NormGetKey) Reset()

func (*NormGetKey) String

func (m *NormGetKey) String() string

func (*NormGetKey) XXX_DiscardUnknown

func (m *NormGetKey) XXX_DiscardUnknown()

func (*NormGetKey) XXX_Marshal

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

func (*NormGetKey) XXX_Merge

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

func (*NormGetKey) XXX_Size

func (m *NormGetKey) XXX_Size() int

func (*NormGetKey) XXX_Unmarshal

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

type NormPut

type NormPut struct {
	Key                  []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NormPut) Descriptor

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

func (*NormPut) GetKey

func (m *NormPut) GetKey() []byte

func (*NormPut) GetValue

func (m *NormPut) GetValue() []byte

func (*NormPut) ProtoMessage

func (*NormPut) ProtoMessage()

func (*NormPut) Reset

func (m *NormPut) Reset()

func (*NormPut) String

func (m *NormPut) String() string

func (*NormPut) XXX_DiscardUnknown

func (m *NormPut) XXX_DiscardUnknown()

func (*NormPut) XXX_Marshal

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

func (*NormPut) XXX_Merge

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

func (*NormPut) XXX_Size

func (m *NormPut) XXX_Size() int

func (*NormPut) XXX_Unmarshal

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

type NormType

type NormType struct {
	types.ExecTypeBase
}

NormType def

func NewType

func NewType() *NormType

NewType method

func (*NormType) GetLogMap

func (norm *NormType) GetLogMap() map[int64]*types.LogInfo

GetLogMap method

func (*NormType) GetName

func (norm *NormType) GetName() string

GetName 获取执行器名称

func (*NormType) GetPayload

func (norm *NormType) GetPayload() types.Message

GetPayload method

func (*NormType) GetTypeMap

func (norm *NormType) GetTypeMap() map[string]int32

GetTypeMap method

Jump to

Keyboard shortcuts

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