service

package
v0.0.0-...-81044e2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApproveEntrie

func ApproveEntrie(body []byte) (*pb.ApproveEntriesResponse, error)

ApproveEntrie ...

func CreateQuestion

func CreateQuestion(body []byte) (*pb.CreateQuestionResponse, error)

CreateQuestion ...

func CreateUser

func CreateUser(request []byte) (*pb.CreateUserResponse, error)

CreateUser ...

func Decrypt

func Decrypt(key []byte, cryptoText string) map[string]string

Decrypt ...

func GetEntries

func GetEntries(token string) (*pb.GetEntriesResponse, error)

GetEntries ...

func GetQuestion

func GetQuestion(body []byte) (*pb.GetQuestionResponse, error)

GetQuestion ...

func GetToken

func GetToken(email string) string

GetToken ...

func Login

func Login(body []byte) (*pb.GetSessionResponse, error)

Login ...

func Sorting

Sorting ...

Types

type Category

type Category struct {
	Name       string
	Parent     uint
	Level      int32
	Approved   bool
	Categories []Category
}

Category ...

Jump to

Keyboard shortcuts

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