service_account

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 8 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 New(as *auth.Service) *Handler

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[service_account.CreateRequest]) (*connect.Response[service_account.CreateResponse], error)

func (*Handler) Delete

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

func (*Handler) List

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

func (*Handler) ServiceName

func (h *Handler) ServiceName() string

Jump to

Keyboard shortcuts

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