14 lines
292 B
Go
14 lines
292 B
Go
|
package pool
|
||
|
|
||
|
// Config is the configuration of an pool item.
|
||
|
type Config struct {
|
||
|
// id is the RPC service ID.
|
||
|
Id string
|
||
|
// description of the item.
|
||
|
Description string
|
||
|
// priority is the priority of the item.
|
||
|
Priority uint8
|
||
|
// amount of request per minute
|
||
|
RequestsPerMinute uint16
|
||
|
}
|