MCPcopy Create free account
hub / github.com/celer-pkg/celer / InitWithOptions

Method InitWithOptions

configs/celer.go:125–127  ·  view source on GitHub ↗

InitWithOptions initializes celer with options.

(opts InitOption)

Source from the content-addressed store, hash-verified

123
124// InitWithOptions initializes celer with options.
125func (c *Celer) InitWithOptions(opts InitOption) error {
126 return c.InitWithPlatform(c.Main.Platform, opts)
127}
128
129// InitWithPlatform initializes celer with platform.
130func (c *Celer) InitWithPlatform(platform string, opts InitOption) error {

Callers 2

InitMethod · 0.95
CommandMethod · 0.80

Calls 1

InitWithPlatformMethod · 0.95

Tested by

no test coverage detected