Documentation ¶
Overview ¶
Package rpctype contains types of message passed via net/rpc connections between various parts of the system.
Index ¶
- func Dial(addr string) (net.Conn, error)
- func RPCCall(addr, method string, args, reply interface{}) error
- type CheckArgs
- type ConnectArgs
- type ConnectRes
- type HubConnectArgs
- type HubSyncArgs
- type HubSyncRes
- type NewInputArgs
- type PollArgs
- type PollRes
- type RPCCandidate
- type RPCClient
- type RPCInput
- type RPCMABStatus
- type RPCServer
- type RunTestDoneArgs
- type RunTestPollReq
- type RunTestPollRes
- type SyscallReason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConnectArgs ¶
type ConnectArgs struct {
Name string
}
type ConnectRes ¶
type HubConnectArgs ¶
type HubConnectArgs struct { // Client/Key are used for authentication. Client string Key string // Manager name, must start with Client. Manager string // Manager has started with an empty corpus and requests whole hub corpus. Fresh bool // Set of system call names supported by this manager. // Used to filter out programs with unsupported calls. Calls []string // Current manager corpus. Corpus [][]byte }
type HubSyncArgs ¶
type HubSyncArgs struct { // see HubConnectArgs. Client string Key string Manager string NeedRepros bool // Programs added to corpus since last sync or connect. Add [][]byte // Hashes of programs removed from corpus since last sync or connect. Del []string // Repros found since last sync. Repros [][]byte }
type HubSyncRes ¶
type NewInputArgs ¶
type PollRes ¶
type PollRes struct { Candidates []RPCCandidate NewInputs []RPCInput MaxSignal signal.Serial RPCMABStatus }
type RPCCandidate ¶
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
func NewRPCClient ¶
type RPCMABStatus ¶
type RPCMABStatus struct { Round int Exp31Round int Reward mab.TotalReward CorpusReward map[hash.Sig]mab.CorpusReward }
type RPCServer ¶
type RPCServer struct {
// contains filtered or unexported fields
}
func NewRPCServer ¶
type RunTestDoneArgs ¶
type RunTestPollReq ¶
type RunTestPollReq struct {
Name string
}
type RunTestPollRes ¶
type SyscallReason ¶
Click to show internal directories.
Click to hide internal directories.