api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountService

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

func NewAccountService

func NewAccountService(
	e environmentclient.Client,
	mysqlClient mysql.Client,
	publisher publisher.Publisher,
	opts ...Option,
) *AccountService

func (*AccountService) ChangeAPIKeyName

func (*AccountService) CreateAPIKey

func (*AccountService) CreateAccount

func (*AccountService) DisableAPIKey

func (*AccountService) EnableAPIKey

func (*AccountService) EnableAccount

func (*AccountService) GetAPIKey

func (*AccountService) GetAccount

func (*AccountService) GetMe

func (*AccountService) GetMeByEmail

func (*AccountService) ListAPIKeys

func (*AccountService) ListAccounts

func (*AccountService) Register

func (s *AccountService) Register(server *grpc.Server)

type Option

type Option func(*options)

func WithLogger

func WithLogger(logger *zap.Logger) Option

Jump to

Keyboard shortcuts

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