rpc

package
v0.0.0-...-b671e6f Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogFile

type LogFile struct {
	MapTable []string
	Indexes  []uint8
}

LogFile is part of LogMessage. Consist of maptable, indexes. maptable's key is filename and value is filename identifier. indexes contains filename identifier is defined MapTable.

type LogInfo

type LogInfo struct {
	Timestamp int64
	Length    uint64
}

LogInfo is part of LogMessage. Consist of timestamp, filename, length. timestamp is the time log created. length is the size(bytes) per log message.

type LogMessage

type LogMessage struct {
	Namespace string
	Files     LogFile
	Info      []LogInfo
	Buffer    []byte
}

LogMessage is rpc parameter type with soy_log_generator. Consist of namespace, files, info, buffer. namespace is container's namespace. files contains the LogFile structure information/ info is log information array. buffer is sequence of byte data. Compacted when used for ColdPort, Should not compacted when used for HotPort.

type Reply

type Reply struct {
	Rate uint8
}

Reply is for Communication with rpc caller. Rate is current port utility.

Jump to

Keyboard shortcuts

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