Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileAdapter ¶
type FileAdapter struct {
// contains filtered or unexported fields
}
func NewFileAdapter ¶
func NewFileAdapter(conf FileConfig) (*FileAdapter, chan struct{}, error)
func (*FileAdapter) Close ¶
func (a *FileAdapter) Close() error
type FileConfig ¶
type FileConfig struct { ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"` WriteTimeoutSec uint64 `json:"write_timeout_sec,omitempty" yaml:"write_timeout_sec,omitempty"` FilePath string `json:"file_path" yaml:"file_path"` NoFollow bool `json:"no_follow" yaml:"no_follow"` }
func (*FileConfig) Validate ¶
func (c *FileConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.