Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileBackend ¶
type FileBackend struct {
*WriteCloserBackend
// contains filtered or unexported fields
}
func NewFileBackend ¶
func NewFileBackend(path string, options FileOptions) (b *FileBackend, err error)
func (*FileBackend) Path ¶
func (this *FileBackend) Path() string
func (*FileBackend) Print ¶
func (this *FileBackend) Print(args ...interface{}) (err error)
type HttpBackend ¶
type HttpBackend struct {
Client *http.Client
URL url.URL
HttpGet bool
Formatted bool
Async bool
Logger logging.Logger
// contains filtered or unexported fields
}
func NewHttpBackend ¶
func NewHttpBackend(URL url.URL, opt HttpOptions, client *http.Client) (wsb *HttpBackend)
func (*HttpBackend) Close ¶
func (this *HttpBackend) Close() error
func (*HttpBackend) Print ¶
func (this *HttpBackend) Print(args ...interface{}) (err error)
type HttpOptions ¶
type WriteCloserBackend ¶
func NewWriteCloserBackend ¶
func NewWriteCloserBackend(name string, wc io.WriteCloser, async bool) *WriteCloserBackend
func (*WriteCloserBackend) Close ¶
func (this *WriteCloserBackend) Close() error
Click to show internal directories.
Click to hide internal directories.