messages

package
v0.0.0-...-37b99e7 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuditLog_MessageType_name = map[int32]string{
		0: "AUDIT",
	}
	AuditLog_MessageType_value = map[string]int32{
		"AUDIT": 0,
	}
)

AuditLog_MessageType_name Enum value maps for AuditLog_MessageType.

View Source
var File_messages_proto protoreflect.FileDescriptor

File_messages_proto ...

Functions

This section is empty.

Types

type AuditLog

type AuditLog struct {
	Message  *structpb.Struct       `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Sent     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=sent,proto3" json:"sent,omitempty"`
	Topic    string                 `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	FuncName string                 `protobuf:"bytes,2,opt,name=funcName,proto3" json:"funcName,omitempty"`
	Service  string                 `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`

	MessageType AuditLog_MessageType `protobuf:"varint,4,opt,name=messageType,proto3,enum=tutorial.AuditLog_MessageType" json:"messageType,omitempty"`
	// contains filtered or unexported fields
}

AuditLog ...

func (*AuditLog) Descriptor

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

Descriptor Deprecated: Use AuditLog.ProtoReflect.Descriptor instead.

func (*AuditLog) GetFuncName

func (x *AuditLog) GetFuncName() string

GetFuncName ...

func (*AuditLog) GetMessage

func (x *AuditLog) GetMessage() *structpb.Struct

GetMessage ...

func (*AuditLog) GetMessageType

func (x *AuditLog) GetMessageType() AuditLog_MessageType

GetMessageType ...

func (*AuditLog) GetSent

func (x *AuditLog) GetSent() *timestamppb.Timestamp

GetSent ...

func (*AuditLog) GetService

func (x *AuditLog) GetService() string

GetService ...

func (*AuditLog) GetTopic

func (x *AuditLog) GetTopic() string

GetTopic ...

func (*AuditLog) ProtoMessage

func (*AuditLog) ProtoMessage()

ProtoMessage ...

func (*AuditLog) ProtoReflect

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

ProtoReflect ...

func (*AuditLog) Reset

func (x *AuditLog) Reset()

Reset ...

func (*AuditLog) String

func (x *AuditLog) String() string

String ...

type AuditLog_MessageType

type AuditLog_MessageType int32

AuditLog_MessageType ...

const (
	AuditLog_AUDIT AuditLog_MessageType = 0
)

AuditLog_AUDIT ...

func (AuditLog_MessageType) Descriptor

Descriptor ...

func (AuditLog_MessageType) Enum

Enum ...

func (AuditLog_MessageType) EnumDescriptor

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

EnumDescriptor Deprecated: Use AuditLog_MessageType.Descriptor instead.

func (AuditLog_MessageType) Number

Number ...

func (AuditLog_MessageType) String

func (x AuditLog_MessageType) String() string

String ...

func (AuditLog_MessageType) Type

Type ...

Jump to

Keyboard shortcuts

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