synapsecns/sanguine

View on GitHub
ethergo/client/options.go

Summary

Maintainability
A
0 mins
Test Coverage
package client

// Options is a type for client options.
type Options func(c *clientImpl)

// Capture option allows for capturing the request and response data.
func Capture(captureReqRes bool) Options {
    return func(c *clientImpl) {
        c.captureRequestRes = captureReqRes
    }
}