Documentation ¶
Overview ¶
this package 'files209' is the golang library for communicating with the files209 server.
Index ¶
- type Client
- func (cl *Client) DeleteFile(groupName, fileName string) error
- func (cl *Client) DeleteGroup(groupName string) error
- func (cl *Client) ListFiles(groupName string) (map[string]int64, error)
- func (cl *Client) ListGroups() ([]string, error)
- func (cl *Client) Ping() error
- func (cl *Client) ReadFile(groupName, fileName string) ([]byte, error)
- func (cl *Client) WriteFile(groupName, fileName string, toWrite []byte) error
- type ConnError
- type ServerError
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClientCustomPort ¶
Used whenever you changed the default port
func (*Client) DeleteFile ¶
func (*Client) DeleteGroup ¶
func (*Client) ListGroups ¶
type ServerError ¶
type ServerError struct {
// contains filtered or unexported fields
}
func (ServerError) Error ¶
func (e ServerError) Error() string
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
func (ValidationError) Error ¶
func (e ValidationError) Error() string
Directories ¶
Path | Synopsis |
---|---|
cli provides a terminal interface to the files209 server.
|
cli provides a terminal interface to the files209 server. |
prod provides the commands which helps in making a files209 server production ready.
|
prod provides the commands which helps in making a files209 server production ready. |
Click to show internal directories.
Click to hide internal directories.