Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/APIParkLab/APIPark
/ SetDriver
Function
SetDriver
log-driver/driver.go:36–38 ·
view source on GitHub ↗
(name string, driver ILogDriver)
Source
from the content-addressed store, hash-verified
34
}
35
36
func
SetDriver(name string, driver ILogDriver) {
37
driverManager.Set(name, driver)
38
}
39
40
func
GetDriver(name string) (ILogDriver, bool) {
41
return
driverManager.Get(name)
Callers
nothing calls this directly
Calls
1
Set
Method · 0.65
Tested by
no test coverage detected