member

package
v0.0.0-...-d8ef1d0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Member(ctx context.Context, memberID uint) (*athena.Member, error)
	UpdateMember(ctx context.Context, member *athena.Member) (*athena.Member, error)
	Login(ctx context.Context, code, state string) error
	ValidateToken(ctx context.Context, member *athena.Member) (*athena.Member, error)
	Middleware(next http.Handler) http.Handler
	MemberFromToken(ctx context.Context, token jwt.Token) (*athena.Member, error)
	MemberFromContext(ctx context.Context) *athena.Member
}

func NewService

func NewService(auth auth.Service, cache cache.Service, alliance alliance.Service, character character.Service, corporation corporation.Service, member athena.MemberRepository) Service

Jump to

Keyboard shortcuts

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