mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Godoc fixes (#898)
Add some godoc comments for the api/agent package and some of its subpackages.
This commit is contained in:
@@ -102,6 +102,8 @@ type lbAgent struct {
|
||||
shutdown chan struct{}
|
||||
}
|
||||
|
||||
// NewLBAgent creates an Agent that knows how to load-balance function calls
|
||||
// across a group of runner nodes.
|
||||
func NewLBAgent(da DataAccess, rp pool.RunnerPool, p pool.Placer) (Agent, error) {
|
||||
agent := createAgent(da, false)
|
||||
a := &lbAgent{
|
||||
|
||||
Reference in New Issue
Block a user