Documentation ¶
Overview ¶
Package service manages the main logic of server.
Package service ¶
Package service
Index ¶
- type Indexer
- type Option
- func WithAgentName(name string) Option
- func WithAgentOptions(opts ...grpc.Option) Option
- func WithAgentPort(port int) Option
- func WithAgentServiceDNSARecord(a string) Option
- func WithDiscoverDuration(dur string) Option
- func WithDiscovererAddr(addr string) Option
- func WithDiscovererClient(client grpc.Client) Option
- func WithDiscovererHostPort(host string, port int) Option
- func WithErrGroup(eg errgroup.Group) Option
- func WithIndexingConcurrency(c int) Option
- func WithIndexingDuration(dur string) Option
- func WithIndexingDurationLimit(dur string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶ added in v0.0.5
type Option ¶ added in v0.0.5
type Option func(i *index) error
func WithAgentName ¶
func WithAgentOptions ¶
func WithAgentPort ¶
func WithDiscoverDuration ¶
func WithDiscovererAddr ¶
func WithDiscovererClient ¶
func WithDiscovererHostPort ¶
func WithErrGroup ¶
func WithIndexingConcurrency ¶ added in v0.0.5
func WithIndexingDuration ¶ added in v0.0.5
func WithIndexingDurationLimit ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.