Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromConfig ¶ added in v1.25.0
func NewFromConfig(ctx context.Context, conf *config) (share.Repository, error)
NewFromConfig creates a Repository with a SQL driver using the given config.
Types ¶
type AccessMethod ¶
type AccessMethod int
AccessMethod is method granted by the sharer to access the shared resource.
const ( // WebDAVAccessMethod indicates an access using WebDAV to the share. WebDAVAccessMethod AccessMethod = iota // WebappAccessMethod indicates an access using a collaborative // application to the share. WebappAccessMethod // TransferAccessMethod indicates a share for a transfer. TransferAccessMethod )
type Protocol ¶
type Protocol int
Protocol is the protocol the recipient of the share uses to access the shared resource.
type ShareState ¶
type ShareState int
ShareState is the state of the share.
const ( ShareState = iota ShareStateAccepted ShareStateRejected )ShareStatePending
Click to show internal directories.
Click to hide internal directories.