cassandra

package
v0.0.0-...-e7db0ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(hosts ...string) (*Client, error)

func (*Client) CreateUser

func (c *Client) CreateUser(user User) error

func (*Client) GetUsers

func (c *Client) GetUsers() ([]User, error)

func (*Client) InitSchema

func (c *Client) InitSchema() error

type User

type User struct {
	Email string
	Name  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL