database

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func (*Handler) Build

func (h *Handler) Build(opts ...connect.HandlerOption) (string, http.Handler)

func (*Handler) Create

func (h *Handler) Create(ctx context.Context, req *connect.Request[database.CreateRequest]) (*connect.Response[database.CreateResponse], error)

func (*Handler) CreateCredential

func (h *Handler) CreateCredential(ctx context.Context, req *connect.Request[database.CreateCredentialRequest]) (*connect.Response[database.CreateCredentialResponse], error)

func (*Handler) CreateTable

func (h *Handler) CreateTable(ctx context.Context, req *connect.Request[database.CreateTableRequest]) (*connect.Response[database.CreateTableResponse], error)

func (*Handler) Delete

func (h *Handler) Delete(ctx context.Context, req *connect.Request[api_database.DeleteRequest]) (*connect.Response[api_database.DeleteResponse], error)

func (*Handler) DeleteCredential

func (h *Handler) DeleteCredential(ctx context.Context, req *connect.Request[database.DeleteCredentialRequest]) (*connect.Response[database.DeleteCredentialResponse], error)

func (*Handler) DeleteTable

func (h *Handler) DeleteTable(ctx context.Context, req *connect.Request[database.DeleteTableRequest]) (*connect.Response[database.DeleteTableResponse], error)

func (*Handler) Get

func (h *Handler) Get(ctx context.Context, req *connect.Request[database.GetRequest]) (*connect.Response[database.GetResponse], error)

func (*Handler) GetByName

func (h *Handler) GetByName(ctx context.Context, req *connect.Request[database.GetByNameRequest]) (*connect.Response[database.GetByNameResponse], error)

func (*Handler) GetEndpoint

func (h *Handler) GetEndpoint(ctx context.Context, req *connect.Request[database.GetEndpointRequest]) (*connect.Response[database.GetEndpointResponse], error)

func (*Handler) List

func (h *Handler) List(ctx context.Context, req *connect.Request[database.ListRequest]) (*connect.Response[database.ListResponse], error)

func (*Handler) ListTables

func (h *Handler) ListTables(ctx context.Context, req *connect.Request[database.ListTablesRequest]) (*connect.Response[database.ListTablesResponse], error)

func (*Handler) ServiceName

func (h *Handler) ServiceName() string

func (*Handler) Update

func (h *Handler) Update(ctx context.Context, req *connect.Request[database.UpdateRequest]) (*connect.Response[database.UpdateResponse], error)

Jump to

Keyboard shortcuts

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