MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / JSONLogFile

Struct JSONLogFile

pkg/userlog/json/jsonlogfile.go:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38type JSONLogFile struct {
39 writer *os.File
40 capacity int32
41}
42
43func NewJSONLogFile(fpath string, cap int) (userlog.UserLogFile, error) {
44 f, err := os.OpenFile(fpath, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0644)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected