Documentation ¶
Index ¶
- func Model(model any) tableInfo
- func NewRethinkDbWithOpt(opts ...rethinkOpt) *rethinkClientOpt
- func Table(table, pk string, indexs []string) tableInfo
- func WithAuthKey(authkey string) rethinkOpt
- func WithDb(db string) rethinkOpt
- func WithPassword(password string) rethinkOpt
- func WithServer(server string) rethinkOpt
- func WithServers(servers ...string) rethinkOpt
- func WithTables(table ...tableInfo) rethinkOpt
- func WithUsername(username string) rethinkOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRethinkDbWithOpt ¶
func NewRethinkDbWithOpt(opts ...rethinkOpt) *rethinkClientOpt
func WithAuthKey ¶
func WithAuthKey(authkey string) rethinkOpt
func WithPassword ¶
func WithPassword(password string) rethinkOpt
func WithServer ¶
func WithServer(server string) rethinkOpt
func WithServers ¶
func WithServers(servers ...string) rethinkOpt
func WithTables ¶
func WithTables(table ...tableInfo) rethinkOpt
func WithUsername ¶
func WithUsername(username string) rethinkOpt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.