Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WorkDir = envs.GetEnvWithPrefix("WORKDIR", func() string { dir, err := os.UserHomeDir() if err != nil || dir == "" { return path.Join(os.TempDir(), consts.ProjectName) } return path.Join(dir, "."+consts.ProjectName) }())
Functions ¶
Types ¶
type Driver ¶
type Driver struct { Mysql *repository.MysqlDriver Neo4j *repository.Neo4jDriver }
type GitlabConfig ¶
type IntOrUndefined ¶
type IntOrUndefined struct {
// contains filtered or unexported fields
}
IntOrUndefined holds the value of a flag of type `int`, that's by default `undefined`. We use this instead of just `int` to differentiate `undefined` and `zero` values.
func NewIntOrUndefined ¶
func NewIntOrUndefined(v *int) IntOrUndefined
func (*IntOrUndefined) Set ¶
func (s *IntOrUndefined) Set(v string) error
func (*IntOrUndefined) SetNil ¶
func (s *IntOrUndefined) SetNil() error
func (*IntOrUndefined) String ¶
func (s *IntOrUndefined) String() string
func (*IntOrUndefined) Type ¶
func (s *IntOrUndefined) Type() string
func (*IntOrUndefined) Value ¶
func (s *IntOrUndefined) Value() *int
type NebulaeOptions ¶
type NebulaeOptions struct { EnableRPC bool RPCPort int RPCHTTPPort int Driver *Driver Gitlab *GitlabConfig }
Click to show internal directories.
Click to hide internal directories.