Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dedis/onet
/ types & classes
Types & classes
282 in github.com/dedis/onet
⨍
Functions
1,491
◇
Types & classes
282
↓ 8 callers
TypeAlias
Size
Size is a type to reprensent the size that is sent before every packet to correctly decode it.
network/struct.go:47
↓ 7 callers
TypeAlias
ProtocolID
ProtocolID uniquely identifies a protocol
protocol.go:13
↓ 5 callers
TypeAlias
MessageTypeID
MessageTypeID is the ID used to uniquely identify different registered messages
network/encoding.go:45
↓ 5 callers
TypeAlias
RosterID
RosterID uniquely identifies an Roster
tree.go:394
↓ 5 callers
TypeAlias
RoundID
RoundID uniquely identifies a round of a protocol run
messages.go:62
↓ 5 callers
TypeAlias
ServerIdentityID
ServerIdentityID uniquely identifies an ServerIdentity struct
network/struct.go:93
↓ 4 callers
TypeAlias
Address
Address contains the ConnType and the actual network address. It is used to connect to a remote host with a Conn and to listen by a Listener. A networ
network/address.go:19
↓ 4 callers
TypeAlias
TreeID
TreeID uniquely identifies a Tree struct in the onet framework.
tree.go:46
↓ 3 callers
TypeAlias
TreeNodeID
TreeNodeID identifies a given TreeNode struct in the onet framework.
tree.go:869
↓ 2 callers
TypeAlias
ServiceID
ServiceID is a type to represent a uuid for a Service
service.go:78
↓ 2 callers
TypeAlias
TokenID
TokenID uniquely identifies the start and end-point of a message by an ID (see Token struct)
messages.go:81
↓ 1 callers
TypeAlias
CertificateURLType
CertificateURLType represents the type of a CertificateURL. The supported types are defined as constants of type CertificateURLType.
app/config.go:399
↓ 1 callers
TypeAlias
ConnType
ConnType represents the type of a Connection. The supported types are defined as constants of type ConnType.
network/address.go:12
↓ 1 callers
Class
InternetTopo
Create one switch with all hosts connected to it and host .1 as router - all in subnet 10.x.0.0/16
simul/platform/mininet/start.py:165
↓ 1 callers
TypeAlias
handler
pprof.go:177
Struct
AddressTest
network/local_test.go:362
Struct
BackForthProtocol
service_test.go:469
Class
BaseRouter
A Node with IP forwarding enabled.
simul/platform/mininet/start.py:62
Interface
BidirectionalStreamer
BidirectionalStreamer specifies the functions needed to handle a bi-directional streamer, where the client is able to use the same chanel in order to
service.go:62
Struct
BigMsg
network/tcp_test.go:24
Struct
BlockingDispatcher
BlockingDispatcher is a Dispatcher that simply calls `p.Process()` on a processor p each time it receives a message with `Dispatch`. It does *not* lau
network/dispatch.go:52
Struct
BlockingProtocol
BlockingProtocol is a protocol that will block until it receives a "continue" signal on the continue channel. It is used for testing the asynchronous
node_test.go:402
Struct
BucketStats
BucketStats splits the statistics into buckets according to network addresses and associated rules
simul/monitor/bucket_stats.go:69
Struct
CertificateReloader
CertificateReloader takes care of reloading a TLS certificate when requested.
websocket.go:23
TypeAlias
CertificateURL
CertificateURL contains the CertificateURLType and the actual URL certificate, which can be a path leading to a file containing a certificate or a str
app/config.go:404
Struct
Client
Client is a struct used to communicate with a remote Service running on a onet.Server. Using Send it can connect to multiple remote Servers.
websocket_client.go:26
Struct
Close
Close is sent to the parent just before the node shuts down
simul/manage/close_all.go:44
Struct
CloseMsg
CloseMsg is the wrapper for the Close message
simul/manage/close_all.go:47
Struct
Closing
node_test.go:270
Struct
ClosingMsg
node_test.go:272
Struct
Config
Config is passed to Platform.Config and prepares the platform for specific system-wide configurations
simul/platform/platform.go:63
Struct
ConfigMsg
ConfigMsg is sent by the overlay containing a generic slice of bytes to give to service in the `NewProtocol` method.
messages.go:56
Interface
Conn
Conn represents any communication between two hosts.
network/network.go:4
Class
Conode
A conode running in a host
simul/platform/mininet/start.py:130
Struct
Context
Context represents the methods that are available to a service.
context.go:16
Interface
ContextDB
The ContextDB interface allows for easy testing in the services.
context.go:160
Struct
ContextData
context_test.go:21
Struct
CothorityConfig
CothorityConfig is the configuration structure of the cothority daemon. - Suite: The cryptographic suite - Public: The public key - Private: The Priva
app/config.go:33
Struct
Count
Count sends the number of children to the parent node.
simul/manage/count.go:59
Struct
CountMsg
CountMsg is wrapper around the Count-structure
simul/manage/count.go:64
Interface
CounterIO
CounterIO is an interface that can be used to count how many bytes does an object have written and how many bytes does it have read. For example it is
simul/monitor/measure.go:166
Struct
CounterIOMeasure
CounterIOMeasure is a struct that takes a CounterIO and can send the measurements to the monitor. Each time Record() is called, the measurements are p
simul/monitor/measure.go:180
Struct
DataFilter
DataFilter is used to process data before making any statistics about them
simul/monitor/stats.go:202
FuncType
Decoder
Decoder is a function that takes the data and the interface to fill in as input and decodes the message.
websocket_client.go:323
Struct
Deterlab
Deterlab holds all fields necessary for a Deterlab-run
simul/platform/deterlab.go:41
Interface
Dispatcher
Dispatcher is an interface whose sole role is to distribute messages to the right Processor. No processing is done,i.e. no looking at packet content.
network/dispatch.go:20
Struct
DummyConfig
service_test.go:631
Struct
DummyCounterIO
simul/monitor/measure_test.go:60
Struct
DummyMsg
service_test.go:636
Struct
DummyProtocol
service_test.go:625
Struct
DummyProtocol2
service_test.go:788
Struct
DummyService
service_test.go:670
Struct
DummyService3
websocket_client_test.go:812
Struct
Envelope
Envelope is a container for any Message received through the network that contains the Message itself as well as some metadata such as the type and th
network/struct.go:53
Struct
ErrorRequest
websocket_test.go:303
Struct
GenericConfig
GenericConfig is a config that can hold any type of specific configs for protocols. It is passed down to the service NewProtocol function.
service.go:100
Struct
Group
Group holds the Roster and the server-description.
app/config.go:222
Struct
GroupToml
GroupToml holds the data of the group.toml file.
app/config.go:190
Interface
Host
Host listens for a specific type of Conn and can Connect to specific types of Conn. It is used by the Router so the router can manage connections whil
network/network.go:60
TypeAlias
LeakyTestCheck
LeakyTestCheck represents an enum to indicate how deep CloseAll needs to check the tests.
local.go:24
Interface
Listener
Listener is responsible for listening for incoming Conns on a particular address. It can only accept one type of incoming Conn.
network/network.go:34
Struct
LocalConn
LocalConn is a connection that sends and receives messages to other connections locally.
network/local.go:201
Struct
LocalHost
LocalHost implements the Host interface. It uses LocalConn and LocalListener as the underlying means of communication.
network/local.go:464
Struct
LocalListener
LocalListener implements Listener and uses LocalConn to communicate. It behaves as much as possible as a real golang net.Listener but using LocalConn
network/local.go:367
Struct
LocalManager
LocalManager keeps a reference to all opened local connections. It also keeps track of who is "listening", so it's possible to mimic Conn & Listener.
network/local.go:38
Struct
LocalTest
LocalTest represents all that is needed for a local test-run
local.go:44
Struct
Localhost
Localhost is responsible for launching the app with the specified number of nodes directly on your machine, for local testing. Localhost is the platfo
simul/platform/localhost.go:26
Interface
Logger
Logger is the interface that specifies how loggers will receive and display messages.
log/loggers.go:39
Struct
LoggerInfo
LoggerInfo is a structure that should be used when creating a logger. It contains parameters about how to log (with time, colors, ...) and embeds the
log/loggers.go:15
Interface
Measure
Measure is an interface for measurements Usage: measure := monitor.SingleMeasure("bandwidth") or measure := monitor.NewTimeMeasure("round") meas
simul/monitor/measure.go:36
Interface
Message
Message is a type for any message that the user wants to send
network/encoding.go:42
Interface
MessageProxy
MessageProxy is an interface that allows one protocol to completely define its wire protocol format while still using the Overlay. Cothority sends dif
protocol.go:165
Struct
MiniNet
MiniNet represents all the configuration that is necessary to run a simulation on remote hosts running Mininet.
simul/platform/mininet.go:28
Struct
Monitor
Monitor struct is used to collect measures and make the statistics about them. It takes a stats object so it update that in a concurrent-safe manner f
simul/monitor/monitor.go:42
FuncType
MsgHandler
MsgHandler is called upon reception of a certain message-type
treenode.go:90
Struct
MsgSimpleMessage
protocol_test.go:97
FuncType
NewMessageProxy
NewMessageProxy is a function typedef to instantiate a new MessageProxy.
protocol.go:187
FuncType
NewProtocol
NewProtocol is the function-signature needed to instantiate a new protocol
protocol.go:31
FuncType
NewServiceFunc
NewServiceFunc is the type of a function that is used to instantiate a given Service A service is initialized with a Server (to send messages to someo
service.go:75
Struct
NodeIsUp
NodeIsUp - if it is received by the root it will reset the counter.
simul/manage/count.go:56
Struct
NodeTestAggMsg
node_test.go:258
Struct
NodeTestMsg
Protocol/service Channels test code:
node_test.go:249
Struct
OuterPacket
protocol_test.go:303
Struct
Overlay
Overlay keeps all trees and entity-lists for a given Server. It creates Nodes and ProtocolInstances upon request and dispatches the messages.
overlay.go:20
Struct
OverlayMsg
OverlayMsg contains all routing-information about the tree and the roster.
messages.go:147
Struct
ParallelOptions
ParallelOptions defines how SendProtobufParallel behaves. Each field has a default value that will be used if 'nil' is passed to SendProtobufParallel.
websocket_client.go:235
TypeAlias
PeerSetID
PeerSetID is the identifier for a subset of valid peers. This should typically be linked in a unique way to a service, e.g. hash(serviceID | skipChain
network/router.go:71
Struct
PingPongMsg
treenode_test.go:235
Interface
Platform
The Life of a simulation: 1. Configure * read configuration * compile eventual files 2. Build * builds all files * eventually for different platforms
simul/platform/platform.go:44
Struct
PrepareClose
PrepareClose is sent down the tree until the nodes
simul/manage/close_all.go:35
Struct
PrepareCloseMsg
PrepareCloseMsg is the wrapper for the PrepareClose message
simul/manage/close_all.go:38
Struct
PrepareCount
PrepareCount is sent so that every node can contact the root to say the counting is still going on.
simul/manage/count.go:51
Interface
Processor
Processor is an abstraction to represent any object that want to process messages. It is used in conjunction with Dispatcher: A processor must registe
network/dispatch.go:43
Struct
ProtocolChannels
node_test.go:262
Struct
ProtocolCloseAll
ProtocolCloseAll is the structure used to hold the Done-channel
simul/manage/close_all.go:28
Struct
ProtocolCount
ProtocolCount holds all channels. If a timeout occurs or the counting is done, the Count-channel receives the number of nodes reachable in the tree.
simul/manage/count.go:31
Struct
ProtocolHandlers
node_test.go:304
Interface
ProtocolInstance
ProtocolInstance is the interface that instances have to use in order to be recognized as protocols
protocol.go:35
Struct
ProtocolMsg
ProtocolMsg is to be embedded in every message that is made for a ProtocolInstance
messages.go:35
Struct
ProtocolOverlay
overlay_test.go:34
next →
1–100 of 282, ranked by callers