types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_types_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type User

type User struct {
	Name         string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" conform:"trim" validate:"required,alphaunicode,max=50"`
	Surnname     string   `protobuf:"bytes,2,opt,name=surnname,proto3" json:"surnname,omitempty" conform:"trim" validate:"required,alphaunicode,max=50"`
	Email        string   `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" conform:"trim" validate:"required,max=150,email"`
	Shell        string   `protobuf:"bytes,5,opt,name=shell,proto3" json:"shell,omitempty" conform:"trim" validate:"required,min=6,max=50"`
	Username     string   `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty" conform:"trim" validate:"required,max=50"`
	Role         string   `protobuf:"bytes,7,opt,name=role,proto3" json:"role,omitempty" conform:"trim" validate:"required,max=50"`
	SystemGroups []string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetRole

func (x *User) GetRole() string

func (*User) GetShell

func (x *User) GetShell() string

func (*User) GetSurnname

func (x *User) GetSurnname() string

func (*User) GetSystemGroups

func (x *User) GetSystemGroups() []string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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