action

package
v0.0.0-...-2af345c Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

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

User gRPC transport.GRPCService container

func NewUser

NewUser Create a new User gRPC Handler container

func (*User) Disable

func (u *User) Disable(ctx context.Context, r *proto.CommandRequest) (*proto.Empty, error)

func (*User) Enable

func (u *User) Enable(ctx context.Context, r *proto.CommandRequest) (*proto.Empty, error)

func (*User) Get

func (u *User) Get(ctx context.Context, r *proto.GetRequest) (*proto.User, error)

func (*User) GetByID

func (u *User) GetByID(ctx context.Context, r *proto.GetByIDRequest) (*proto.User, error)

func (User) GetName

func (User) GetName() string

func (*User) List

func (*User) Remove

func (u *User) Remove(ctx context.Context, r *proto.CommandRequest) (*proto.Empty, error)

func (User) SetRoutes

func (u User) SetRoutes(s *grpc.Server)

Jump to

Keyboard shortcuts

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