Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitOptions ¶
type GitOptions struct {
Dir string `json:"dir,omitempty"` // base git directory
}
type LFSS3Options ¶
type LFSS3Options struct { Addr string `json:"addr,omitempty" description:"s3 url"` Bucket string `json:"bucket,omitempty" description:"s3 bucket name the lfs objects are stored in"` AccessKey string `json:"accesskey,omitempty" description:"s3 access key"` SecretKey string `json:"secretkey,omitempty" description:"s3 secret key"` LinkExpireIn time.Duration `json:"linkexpirein,omitempty" description:"lfs bacth api returned links expire in"` }
type Options ¶
type Options struct { Listen string `json:"listen,omitempty" description:"http server listen address"` S3 LFSS3Options `json:"s3,omitempty" description:"s3 options"` Git GitOptions `json:"git,omitempty" description:"git options"` }
func DefaultOptions ¶
func DefaultOptions() *Options
Click to show internal directories.
Click to hide internal directories.