handler

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthHandler added in v1.1.5

func NewAuthHandler(config *config.Configuration, service micro.Service, log *zap.Logger) abaeve_auth.UserAuthenticationHandler

Types

type AuthHandler

type AuthHandler struct {
	Client client.Client
	Logger *zap.Logger
}

func (*AuthHandler) Confirm

func (ah *AuthHandler) Confirm(context context.Context, request *abaeve_auth.AuthConfirmRequest, response *abaeve_auth.AuthConfirmResponse) error

func (*AuthHandler) Create

func (ah *AuthHandler) Create(context context.Context, request *abaeve_auth.AuthCreateRequest, response *abaeve_auth.AuthCreateResponse) error

func (*AuthHandler) SyncToRoleService added in v1.1.5

func (ah *AuthHandler) SyncToRoleService(ctx context.Context, request *abaeve_auth.SyncRequest, response *abaeve_auth.SyncToRoleResponse) error

type EntityAdminHandler

type EntityAdminHandler struct {
	Client client.Client
	Logger *zap.Logger
}

func (*EntityAdminHandler) AllianceUpdate

func (eah *EntityAdminHandler) AllianceUpdate(ctx context.Context, request *abaeve_auth.AllianceAdminRequest, response *abaeve_auth.EntityAdminResponse) error

TODO: Do I really give a shit on delete whether or not the attributes besides id's are valid?

func (*EntityAdminHandler) CharacterUpdate

func (eah *EntityAdminHandler) CharacterUpdate(ctx context.Context, request *abaeve_auth.CharacterAdminRequest, response *abaeve_auth.EntityAdminResponse) error

func (*EntityAdminHandler) CorporationUpdate

func (eah *EntityAdminHandler) CorporationUpdate(ctx context.Context, request *abaeve_auth.CorporationAdminRequest, response *abaeve_auth.EntityAdminResponse) error

type EntityQueryHandler

type EntityQueryHandler struct {
	Client client.Client
	Logger *zap.Logger
}

func (*EntityQueryHandler) GetAlliances

func (eqh *EntityQueryHandler) GetAlliances(ctx context.Context, request *abaeve_auth.EntityQueryRequest, response *abaeve_auth.AlliancesResponse) error

func (*EntityQueryHandler) GetCharacters

func (eqh *EntityQueryHandler) GetCharacters(ctx context.Context, request *abaeve_auth.EntityQueryRequest, response *abaeve_auth.CharactersResponse) error

func (*EntityQueryHandler) GetCorporations

func (eqh *EntityQueryHandler) GetCorporations(ctx context.Context, request *abaeve_auth.EntityQueryRequest, response *abaeve_auth.CorporationsResponse) error

Jump to

Keyboard shortcuts

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