Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (interface{}, error)

    New returns a new Cassandra instance

    Types

    type Cassandra

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

      Cassandra is an implementation of Database interface

      func (Cassandra) Close

      func (c Cassandra) Close() error

      func (Cassandra) Connection

      func (c Cassandra) Connection(ctx context.Context) (interface{}, error)

      func (*Cassandra) DeleteUser

        DeleteUser attempts to drop the specified user.

        func (*Cassandra) Initialize

        func (*Cassandra) NewUser

          NewUser generates the username/password on the underlying Cassandra secret backend as instructed by the statements provided.

          func (*Cassandra) Type

          func (c *Cassandra) Type() (string, error)

            Type returns the TypeName for this backend

            func (*Cassandra) UpdateUser

            Directories

            Path Synopsis