impl

package
v0.0.0-...-7674232 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccountsApiImplService

func NewAccountsApiImplService(md *mongo.Client, jwtSecret string) gen.AccountsApiServicer

NewAccountsApiImplService creates accounts api service

func NewMutesApiImplService

func NewMutesApiImplService(md *mongo.Client) gen.MutesApiServicer

NewMutesApiImplService creates mutes api service

func NewMylistApiImplService

func NewMylistApiImplService() gen.MylistApiServicer

NewMylistApiImplService creates mylist api service

Types

type AccountsApiImplService

type AccountsApiImplService struct {
	gen.AccountsApiService
	// contains filtered or unexported fields
}

AccountsApiImplService is type of implemented api service (http.Handler)

func (*AccountsApiImplService) CreateAccount

func (s *AccountsApiImplService) CreateAccount(ctx context.Context, accountStruct gen.AccountStruct) (gen.ImplResponse, error)

CreateAccount - Create account

func (*AccountsApiImplService) DeleteAccount

func (s *AccountsApiImplService) DeleteAccount(ctx context.Context, accountID int32, password string) (gen.ImplResponse, error)

DeleteAccount - Delete account info

func (*AccountsApiImplService) EditAccount

func (s *AccountsApiImplService) EditAccount(ctx context.Context, accountID int32, accountChange gen.AccountStruct) (gen.ImplResponse, error)

EditAccount - Edit account info

func (*AccountsApiImplService) GetAccount

func (s *AccountsApiImplService) GetAccount(ctx context.Context, accountID int32) (gen.ImplResponse, error)

GetAccount - Get account info

func (*AccountsApiImplService) GetAccountMe

func (s *AccountsApiImplService) GetAccountMe(ctx context.Context) (gen.ImplResponse, error)

GetAccountMe - Get user info (self)

func (*AccountsApiImplService) GetUploadHistory

func (s *AccountsApiImplService) GetUploadHistory(ctx context.Context, accountID int32, page int32, sort string, order string, perPage int32) (gen.ImplResponse, error)

GetUploadHistory - Get upload history

func (*AccountsApiImplService) LoginWithForm

LoginWithForm - Login with form

type MutesApiImplService

type MutesApiImplService struct {
	gen.MutesApiService
	// contains filtered or unexported fields
}

MutesApiImplService is type of implemented api service (http.Handler)

func (*MutesApiImplService) AddMute

func (s *MutesApiImplService) AddMute(ctx context.Context, accountID int32, muteStruct gen.MuteStruct) (gen.ImplResponse, error)

AddMute - Add mute

func (*MutesApiImplService) DeleteMute

func (s *MutesApiImplService) DeleteMute(ctx context.Context, accountID int32, muteID int32) (gen.ImplResponse, error)

DeleteMute - Delete mute

func (*MutesApiImplService) GetMute

func (s *MutesApiImplService) GetMute(ctx context.Context, accountID int32, muteID int32) (gen.ImplResponse, error)

GetMute - Get mute

func (*MutesApiImplService) GetMutes

func (s *MutesApiImplService) GetMutes(ctx context.Context, accountID int32) (gen.ImplResponse, error)

GetMutes - Get mute list

type MylistApiImplService

type MylistApiImplService struct {
	gen.MylistApiService
	// contains filtered or unexported fields
}

MylistApiImplService is type of implemented api service (http.Handler)

func (*MylistApiImplService) CreateMylist

func (s *MylistApiImplService) CreateMylist(ctx context.Context, accountID int32, mylistStruct gen.MylistStruct) (gen.ImplResponse, error)

CreateMylist - Create user mylist

func (*MylistApiImplService) GetUserMylists

func (s *MylistApiImplService) GetUserMylists(ctx context.Context, accountID int32) (gen.ImplResponse, error)

GetUserMylists - Get user mylists

Jump to

Keyboard shortcuts

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