Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OramNodeConfig ¶
type OramNodeConfig struct {
Endpoints []OramNodeEndpoint
}
type OramNodeEndpoint ¶
func ReadOramNodeEndpoints ¶
func ReadOramNodeEndpoints(path string) ([]OramNodeEndpoint, error)
type Parameters ¶
type Parameters struct { MaxBlocksToSend int `yaml:"max-blocks-to-send"` EvictionRate int `yaml:"eviction-rate"` EvictPathCount int `yaml:"evict-path-count"` BatchTimout float64 `yaml:"batch-timeout"` EpochTime float64 `yaml:"epoch-time"` Trace bool `yaml:"trace"` Z int `yaml:"Z"` S int `yaml:"S"` Shift int `yaml:"shift"` TreeHeight int `yaml:"tree-height"` RedisPipelineSize int `yaml:"redis-pipeline-size"` MaxRequests int `yaml:"max-requests"` BlockSize int `yaml:"block-size"` Log bool `yaml:"log"` Profile bool `yaml:"profile"` }
func ReadParameters ¶
func ReadParameters(path string) (Parameters, error)
func (Parameters) String ¶
func (o Parameters) String() string
type RedisConfig ¶
type RedisConfig struct {
Endpoints []RedisEndpoint
}
type RedisEndpoint ¶
type RedisEndpoint struct { IP string `yaml:"exposed_ip"` Port int ID int ORAMNodeID int `yaml:"oramnode_id"` }
func ReadRedisEndpoints ¶
func ReadRedisEndpoints(path string) ([]RedisEndpoint, error)
type RouterConfig ¶
type RouterConfig struct {
Endpoints []RouterEndpoint
}
type RouterEndpoint ¶
func ReadRouterEndpoints ¶
func ReadRouterEndpoints(path string) ([]RouterEndpoint, error)
type ShardNodeConfig ¶
type ShardNodeConfig struct {
Endpoints []ShardNodeEndpoint
}
type ShardNodeEndpoint ¶
func ReadShardNodeEndpoints ¶
func ReadShardNodeEndpoints(path string) ([]ShardNodeEndpoint, error)
Click to show internal directories.
Click to hide internal directories.