Documentation
¶
Overview ¶
* @Author: LinkLeong link@icewhale.org * @Date: 2022-07-27 10:35:29 * @LastEditors: LinkLeong * @LastEditTime: 2022-08-01 13:56:44 * @FilePath: /CasaOS/pkg/samba/smaba.go * @Description: * @Website: https://www.casaos.io * Copyright (c) 2022 by icewhale, All Rights Reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectSambaService ¶
func GetSambaSharesList ¶
get share name list
func MountOptions ¶ added in v0.4.82
MountOptions are the options of the CIFS mount of a share: the credentials, and the connection's port. The kernel splits them at each comma and reads ",," as a comma within the password, the escape that mount.cifs itself uses, so a password may hold any comma. A user name or a port cannot be escaped that way: one that holds a separator is refused, and so is a port that is not a number.
Types ¶
This section is empty.