Documentation
¶
Index ¶
Constants ¶
View Source
const ( FlagLogLevel = "log-level" FlagLogFormat = "log-format" )
View Source
const ( FlagBaseURL = "base-url" FlagListenAddr = "listen-addr" )
View Source
const ( FlagNodeGrpc = "node-grpc" FlagGrpcNoTLS = "grpc-no-tls" FlagGrpcTLSSkipVerify = "grpc-tls-skip-verify" FlagDataverseAddr = "dataverse-addr" FlagGrpcTimeout = "grpc-timeout" )
View Source
const (
ReadHeaderTimeout = 5 * time.Second
)
Variables ¶
Functions ¶
func Execute ¶
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func WithDataverseClient ¶
WithDataverseClient injects a dataverse client into context.
func WithZerolog ¶
func WithZerolog() server.StdioOption
WithZerolog configures the server to use zerolog for logging.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.