blob: 3ddc042935ea9186de4592d0643c02b846026d7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package entities
import (
"time"
"github.com/spf13/cobra"
)
// ServiceOptions provides the input for starting an API Service
type ServiceOptions struct {
URI string // Path to unix domain socket service should listen on
Timeout time.Duration // duration of inactivity the service should wait before shutting down
Command *cobra.Command // CLI command provided. Used in V1 code
}
|