MCPcopy Create free account
hub / github.com/eth-easl/dirigent / AppendEntries

Method AppendEntries

api/control_plane_api_server.go:320–323  ·  view source on GitHub ↗
(_ context.Context, args *proto.AppendEntriesArgs)

Source from the content-addressed store, hash-verified

318}
319
320func (c *CpApiServer) AppendEntries(_ context.Context, args *proto.AppendEntriesArgs) (*proto.AppendEntriesReply, error) {
321 // Leader election call -> Should not be forwarded to any other node.
322 return c.LeaderElectionServer.AppendEntries(args)
323}
324
325// ReviseHAProxyConfiguration Local method for updating HAProxy configuration. Called by the remote leader to disseminate configuration.
326func (c *CpApiServer) ReviseHAProxyConfiguration(_ context.Context, args *proto.HAProxyConfig) (*proto.ActionStatus, error) {

Callers

nothing calls this directly

Calls 1

AppendEntriesMethod · 0.65

Tested by

no test coverage detected