MCPcopy
hub / github.com/sqlc-dev/sqlc / WithHost

Function WithHost

internal/quickdb/rpc.go:28–32  ·  view source on GitHub ↗
(host string)

Source from the content-addressed store, hash-verified

26type Option func(*options)
27
28func WithHost(host string) Option {
29 return func(o *options) {
30 o.hostname = host
31 }
32}
33
34func NewClient(project, token string, opts ...Option) (pb.QuickClient, error) {
35 var o options

Callers 1

NewClientFromConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected