proto

package
v0.0.0-...-5bbae15 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: GPL-3.0 Imports: 17 Imported by: 3

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	RosterType_name = map[int32]string{
		0: "ROSTER_TYPE_UNSPECIFIED",
		1: "ROSTER_TYPE_COMBAT",
		2: "ROSTER_TYPE_RESERVE",
		3: "ROSTER_TYPE_ELOA",
		4: "ROSTER_TYPE_WALL_OF_HONOR",
		5: "ROSTER_TYPE_ARLINGTON",
		6: "ROSTER_TYPE_PAST_MEMBERS",
	}
	RosterType_value = map[string]int32{
		"ROSTER_TYPE_UNSPECIFIED":   0,
		"ROSTER_TYPE_COMBAT":        1,
		"ROSTER_TYPE_RESERVE":       2,
		"ROSTER_TYPE_ELOA":          3,
		"ROSTER_TYPE_WALL_OF_HONOR": 4,
		"ROSTER_TYPE_ARLINGTON":     5,
		"ROSTER_TYPE_PAST_MEMBERS":  6,
	}
)

Enum value maps for RosterType.

View Source
var (
	RecordType_name = map[int32]string{
		0: "RECORD_TYPE_UNSPECIFIED",
		1: "RECORD_TYPE_PROMOTION",
		2: "RECORD_TYPE_OPERATION",
		3: "RECORD_TYPE_TRANSFER",
		4: "RECORD_TYPE_DISCIPLINARY",
		5: "RECORD_TYPE_DISCHARGE",
		6: "RECORD_TYPE_ASSIGNMENT",
		7: "RECORD_TYPE_NAME_CHANGE",
		8: "RECORD_TYPE_ELOA",
		9: "RECORD_TYPE_GRADUATION",
	}
	RecordType_value = map[string]int32{
		"RECORD_TYPE_UNSPECIFIED":  0,
		"RECORD_TYPE_PROMOTION":    1,
		"RECORD_TYPE_OPERATION":    2,
		"RECORD_TYPE_TRANSFER":     3,
		"RECORD_TYPE_DISCIPLINARY": 4,
		"RECORD_TYPE_DISCHARGE":    5,
		"RECORD_TYPE_ASSIGNMENT":   6,
		"RECORD_TYPE_NAME_CHANGE":  7,
		"RECORD_TYPE_ELOA":         8,
		"RECORD_TYPE_GRADUATION":   9,
	}
)

Enum value maps for RecordType.

View Source
var (
	RankType_name = map[int32]string{
		0:  "RANK_TYPE_UNSPECIFIED",
		1:  "RANK_TYPE_GOA",
		2:  "RANK_TYPE_GEN",
		3:  "RANK_TYPE_LTG",
		4:  "RANK_TYPE_MG",
		5:  "RANK_TYPE_BG",
		6:  "RANK_TYPE_COL",
		7:  "RANK_TYPE_LTC",
		8:  "RANK_TYPE_MAJ",
		9:  "RANK_TYPE_CPT",
		10: "RANK_TYPE_1LT",
		11: "RANK_TYPE_2LT",
		12: "RANK_TYPE_CSM",
		13: "RANK_TYPE_SGM",
		14: "RANK_TYPE_1SG",
		15: "RANK_TYPE_MSG",
		16: "RANK_TYPE_SFC",
		17: "RANK_TYPE_SSG",
		18: "RANK_TYPE_SGT",
		19: "RANK_TYPE_CPL",
		20: "RANK_TYPE_SPC",
		21: "RANK_TYPE_PFC",
		22: "RANK_TYPE_PVT",
		23: "RANK_TYPE_RCT",
		26: "RANK_TYPE_CW5",
		27: "RANK_TYPE_CW4",
		28: "RANK_TYPE_CW3",
		29: "RANK_TYPE_CW2",
		30: "RANK_TYPE_WO1",
		31: "RANK_TYPE_AR",
	}
	RankType_value = map[string]int32{
		"RANK_TYPE_UNSPECIFIED": 0,
		"RANK_TYPE_GOA":         1,
		"RANK_TYPE_GEN":         2,
		"RANK_TYPE_LTG":         3,
		"RANK_TYPE_MG":          4,
		"RANK_TYPE_BG":          5,
		"RANK_TYPE_COL":         6,
		"RANK_TYPE_LTC":         7,
		"RANK_TYPE_MAJ":         8,
		"RANK_TYPE_CPT":         9,
		"RANK_TYPE_1LT":         10,
		"RANK_TYPE_2LT":         11,
		"RANK_TYPE_CSM":         12,
		"RANK_TYPE_SGM":         13,
		"RANK_TYPE_1SG":         14,
		"RANK_TYPE_MSG":         15,
		"RANK_TYPE_SFC":         16,
		"RANK_TYPE_SSG":         17,
		"RANK_TYPE_SGT":         18,
		"RANK_TYPE_CPL":         19,
		"RANK_TYPE_SPC":         20,
		"RANK_TYPE_PFC":         21,
		"RANK_TYPE_PVT":         22,
		"RANK_TYPE_RCT":         23,
		"RANK_TYPE_CW5":         26,
		"RANK_TYPE_CW4":         27,
		"RANK_TYPE_CW3":         28,
		"RANK_TYPE_CW2":         29,
		"RANK_TYPE_WO1":         30,
		"RANK_TYPE_AR":          31,
	}
)

Enum value maps for RankType.

View Source
var File_milpacs_proto protoreflect.FileDescriptor

Functions

func RegisterMilpacServiceHandler

func RegisterMilpacServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMilpacServiceHandler registers the http handlers for service MilpacService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMilpacServiceHandlerClient

func RegisterMilpacServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MilpacServiceClient) error

RegisterMilpacServiceHandlerClient registers the http handlers for service MilpacService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MilpacServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MilpacServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MilpacServiceClient" to call the correct interceptors.

func RegisterMilpacServiceHandlerFromEndpoint

func RegisterMilpacServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMilpacServiceHandlerFromEndpoint is same as RegisterMilpacServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMilpacServiceHandlerServer

func RegisterMilpacServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MilpacServiceServer) error

RegisterMilpacServiceHandlerServer registers the http handlers for service MilpacService to "mux". UnaryRPC :call MilpacServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMilpacServiceHandlerFromEndpoint instead.

func RegisterMilpacServiceServer

func RegisterMilpacServiceServer(s grpc.ServiceRegistrar, srv MilpacServiceServer)

Types

type Award

type Award struct {
	AwardDetails  string `protobuf:"bytes,1,opt,name=award_details,json=awardDetails,proto3" json:"award_details,omitempty"`
	AwardName     string `protobuf:"bytes,2,opt,name=award_name,json=awardName,proto3" json:"award_name,omitempty"`
	AwardDate     string `protobuf:"bytes,3,opt,name=award_date,json=awardDate,proto3" json:"award_date,omitempty"`
	AwardImageUrl string `protobuf:"bytes,4,opt,name=award_image_url,json=awardImageUrl,proto3" json:"award_image_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Award) Descriptor deprecated

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

Deprecated: Use Award.ProtoReflect.Descriptor instead.

func (*Award) GetAwardDate

func (x *Award) GetAwardDate() string

func (*Award) GetAwardDetails

func (x *Award) GetAwardDetails() string

func (*Award) GetAwardImageUrl

func (x *Award) GetAwardImageUrl() string

func (*Award) GetAwardName

func (x *Award) GetAwardName() string

func (*Award) ProtoMessage

func (*Award) ProtoMessage()

func (*Award) ProtoReflect

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

func (*Award) Reset

func (x *Award) Reset()

func (*Award) String

func (x *Award) String() string

type KeycloakIdRequest

type KeycloakIdRequest struct {
	KeycloakId string `protobuf:"bytes,1,opt,name=keycloak_id,json=keycloakId,proto3" json:"keycloak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*KeycloakIdRequest) Descriptor deprecated

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

Deprecated: Use KeycloakIdRequest.ProtoReflect.Descriptor instead.

func (*KeycloakIdRequest) GetKeycloakId

func (x *KeycloakIdRequest) GetKeycloakId() string

func (*KeycloakIdRequest) ProtoMessage

func (*KeycloakIdRequest) ProtoMessage()

func (*KeycloakIdRequest) ProtoReflect

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

func (*KeycloakIdRequest) Reset

func (x *KeycloakIdRequest) Reset()

func (*KeycloakIdRequest) String

func (x *KeycloakIdRequest) String() string

type MilpacServiceClient

type MilpacServiceClient interface {
	GetProfile(ctx context.Context, in *ProfileRequest, opts ...grpc.CallOption) (*Profile, error)
	GetRoster(ctx context.Context, in *RosterRequest, opts ...grpc.CallOption) (*Roster, error)
	GetUserViaKeycloakId(ctx context.Context, in *KeycloakIdRequest, opts ...grpc.CallOption) (*Profile, error)
}

MilpacServiceClient is the client API for MilpacService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MilpacServiceServer

type MilpacServiceServer interface {
	GetProfile(context.Context, *ProfileRequest) (*Profile, error)
	GetRoster(context.Context, *RosterRequest) (*Roster, error)
	GetUserViaKeycloakId(context.Context, *KeycloakIdRequest) (*Profile, error)
}

MilpacServiceServer is the server API for MilpacService service. All implementations should embed UnimplementedMilpacServiceServer for forward compatibility

type Position

type Position struct {
	PositionTitle string `protobuf:"bytes,1,opt,name=position_title,json=positionTitle,proto3" json:"position_title,omitempty"`
	PositionId    uint64 `protobuf:"varint,2,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Position) Descriptor deprecated

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

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetPositionId

func (x *Position) GetPositionId() uint64

func (*Position) GetPositionTitle

func (x *Position) GetPositionTitle() string

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

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

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

type Profile

type Profile struct {
	User          *User       `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Rank          *Rank       `protobuf:"bytes,2,opt,name=rank,proto3" json:"rank,omitempty"`
	RealName      string      `protobuf:"bytes,3,opt,name=real_name,json=realName,proto3" json:"real_name,omitempty"`
	UniformUrl    string      `protobuf:"bytes,4,opt,name=uniform_url,json=uniformUrl,proto3" json:"uniform_url,omitempty"`
	Roster        RosterType  `protobuf:"varint,5,opt,name=roster,proto3,enum=proto.RosterType" json:"roster,omitempty"`
	Primary       *Position   `protobuf:"bytes,6,opt,name=primary,proto3" json:"primary,omitempty"`
	Secondaries   []*Position `protobuf:"bytes,7,rep,name=secondaries,proto3" json:"secondaries,omitempty"`
	Records       []*Record   `protobuf:"bytes,8,rep,name=records,proto3" json:"records,omitempty"`
	Awards        []*Award    `protobuf:"bytes,9,rep,name=awards,proto3" json:"awards,omitempty"`
	JoinDate      string      `protobuf:"bytes,10,opt,name=join_date,json=joinDate,proto3" json:"join_date,omitempty"`
	PromotionDate string      `protobuf:"bytes,11,opt,name=promotion_date,json=promotionDate,proto3" json:"promotion_date,omitempty"`
	KeycloakId    string      `protobuf:"bytes,12,opt,name=keycloak_id,json=keycloakId,proto3" json:"keycloak_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated

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

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAwards

func (x *Profile) GetAwards() []*Award

func (*Profile) GetJoinDate

func (x *Profile) GetJoinDate() string

func (*Profile) GetKeycloakId

func (x *Profile) GetKeycloakId() string

func (*Profile) GetPrimary

func (x *Profile) GetPrimary() *Position

func (*Profile) GetPromotionDate

func (x *Profile) GetPromotionDate() string

func (*Profile) GetRank

func (x *Profile) GetRank() *Rank

func (*Profile) GetRealName

func (x *Profile) GetRealName() string

func (*Profile) GetRecords

func (x *Profile) GetRecords() []*Record

func (*Profile) GetRoster

func (x *Profile) GetRoster() RosterType

func (*Profile) GetSecondaries

func (x *Profile) GetSecondaries() []*Position

func (*Profile) GetUniformUrl

func (x *Profile) GetUniformUrl() string

func (*Profile) GetUser

func (x *Profile) GetUser() *User

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

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

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

type ProfileRequest

type ProfileRequest struct {
	UserId   uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*ProfileRequest) Descriptor deprecated

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

Deprecated: Use ProfileRequest.ProtoReflect.Descriptor instead.

func (*ProfileRequest) GetUserId

func (x *ProfileRequest) GetUserId() uint64

func (*ProfileRequest) GetUsername

func (x *ProfileRequest) GetUsername() string

func (*ProfileRequest) ProtoMessage

func (*ProfileRequest) ProtoMessage()

func (*ProfileRequest) ProtoReflect

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

func (*ProfileRequest) Reset

func (x *ProfileRequest) Reset()

func (*ProfileRequest) String

func (x *ProfileRequest) String() string

type Rank

type Rank struct {
	RankShort    string `protobuf:"bytes,1,opt,name=rank_short,json=rankShort,proto3" json:"rank_short,omitempty"`
	RankFull     string `protobuf:"bytes,2,opt,name=rank_full,json=rankFull,proto3" json:"rank_full,omitempty"`
	RankImageUrl string `protobuf:"bytes,3,opt,name=rank_image_url,json=rankImageUrl,proto3" json:"rank_image_url,omitempty"`
	RankId       uint64 `protobuf:"varint,4,opt,name=rank_id,json=rankId,proto3" json:"rank_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Rank) Descriptor deprecated

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

Deprecated: Use Rank.ProtoReflect.Descriptor instead.

func (*Rank) GetRankFull

func (x *Rank) GetRankFull() string

func (*Rank) GetRankId

func (x *Rank) GetRankId() uint64

func (*Rank) GetRankImageUrl

func (x *Rank) GetRankImageUrl() string

func (*Rank) GetRankShort

func (x *Rank) GetRankShort() string

func (*Rank) ProtoMessage

func (*Rank) ProtoMessage()

func (*Rank) ProtoReflect

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

func (*Rank) Reset

func (x *Rank) Reset()

func (*Rank) String

func (x *Rank) String() string

type RankType

type RankType int32
const (
	RankType_RANK_TYPE_UNSPECIFIED RankType = 0
	RankType_RANK_TYPE_GOA         RankType = 1
	RankType_RANK_TYPE_GEN         RankType = 2
	RankType_RANK_TYPE_LTG         RankType = 3
	RankType_RANK_TYPE_MG          RankType = 4
	RankType_RANK_TYPE_BG          RankType = 5
	RankType_RANK_TYPE_COL         RankType = 6
	RankType_RANK_TYPE_LTC         RankType = 7
	RankType_RANK_TYPE_MAJ         RankType = 8
	RankType_RANK_TYPE_CPT         RankType = 9
	RankType_RANK_TYPE_1LT         RankType = 10
	RankType_RANK_TYPE_2LT         RankType = 11
	RankType_RANK_TYPE_CSM         RankType = 12
	RankType_RANK_TYPE_SGM         RankType = 13
	RankType_RANK_TYPE_1SG         RankType = 14
	RankType_RANK_TYPE_MSG         RankType = 15
	RankType_RANK_TYPE_SFC         RankType = 16
	RankType_RANK_TYPE_SSG         RankType = 17
	RankType_RANK_TYPE_SGT         RankType = 18
	RankType_RANK_TYPE_CPL         RankType = 19
	RankType_RANK_TYPE_SPC         RankType = 20
	RankType_RANK_TYPE_PFC         RankType = 21
	RankType_RANK_TYPE_PVT         RankType = 22
	RankType_RANK_TYPE_RCT         RankType = 23
	RankType_RANK_TYPE_CW5         RankType = 26
	RankType_RANK_TYPE_CW4         RankType = 27
	RankType_RANK_TYPE_CW3         RankType = 28
	RankType_RANK_TYPE_CW2         RankType = 29
	RankType_RANK_TYPE_WO1         RankType = 30
	RankType_RANK_TYPE_AR          RankType = 31
)

func (RankType) Descriptor

func (RankType) Descriptor() protoreflect.EnumDescriptor

func (RankType) Enum

func (x RankType) Enum() *RankType

func (RankType) EnumDescriptor deprecated

func (RankType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RankType.Descriptor instead.

func (RankType) Number

func (x RankType) Number() protoreflect.EnumNumber

func (RankType) String

func (x RankType) String() string

func (RankType) Type

type Record

type Record struct {
	RecordDetails string     `protobuf:"bytes,1,opt,name=record_details,json=recordDetails,proto3" json:"record_details,omitempty"`
	RecordType    RecordType `protobuf:"varint,2,opt,name=record_type,json=recordType,proto3,enum=proto.RecordType" json:"record_type,omitempty"`
	RecordDate    string     `protobuf:"bytes,3,opt,name=record_date,json=recordDate,proto3" json:"record_date,omitempty"`
	// contains filtered or unexported fields
}

func (*Record) Descriptor deprecated

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

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetRecordDate

func (x *Record) GetRecordDate() string

func (*Record) GetRecordDetails

func (x *Record) GetRecordDetails() string

func (*Record) GetRecordType

func (x *Record) GetRecordType() RecordType

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

type RecordType

type RecordType int32
const (
	RecordType_RECORD_TYPE_UNSPECIFIED  RecordType = 0
	RecordType_RECORD_TYPE_PROMOTION    RecordType = 1
	RecordType_RECORD_TYPE_OPERATION    RecordType = 2
	RecordType_RECORD_TYPE_TRANSFER     RecordType = 3
	RecordType_RECORD_TYPE_DISCIPLINARY RecordType = 4
	RecordType_RECORD_TYPE_DISCHARGE    RecordType = 5
	RecordType_RECORD_TYPE_ASSIGNMENT   RecordType = 6
	RecordType_RECORD_TYPE_NAME_CHANGE  RecordType = 7
	RecordType_RECORD_TYPE_ELOA         RecordType = 8
	RecordType_RECORD_TYPE_GRADUATION   RecordType = 9
)

func (RecordType) Descriptor

func (RecordType) Descriptor() protoreflect.EnumDescriptor

func (RecordType) Enum

func (x RecordType) Enum() *RecordType

func (RecordType) EnumDescriptor deprecated

func (RecordType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RecordType.Descriptor instead.

func (RecordType) Number

func (x RecordType) Number() protoreflect.EnumNumber

func (RecordType) String

func (x RecordType) String() string

func (RecordType) Type

type Roster

type Roster struct {
	Profiles map[uint64]*Profile `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Roster) Descriptor deprecated

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

Deprecated: Use Roster.ProtoReflect.Descriptor instead.

func (*Roster) GetProfiles

func (x *Roster) GetProfiles() map[uint64]*Profile

func (*Roster) ProtoMessage

func (*Roster) ProtoMessage()

func (*Roster) ProtoReflect

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

func (*Roster) Reset

func (x *Roster) Reset()

func (*Roster) String

func (x *Roster) String() string

type RosterRequest

type RosterRequest struct {
	Roster RosterType `protobuf:"varint,1,opt,name=roster,proto3,enum=proto.RosterType" json:"roster,omitempty"`
	// contains filtered or unexported fields
}

func (*RosterRequest) Descriptor deprecated

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

Deprecated: Use RosterRequest.ProtoReflect.Descriptor instead.

func (*RosterRequest) GetRoster

func (x *RosterRequest) GetRoster() RosterType

func (*RosterRequest) ProtoMessage

func (*RosterRequest) ProtoMessage()

func (*RosterRequest) ProtoReflect

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

func (*RosterRequest) Reset

func (x *RosterRequest) Reset()

func (*RosterRequest) String

func (x *RosterRequest) String() string

type RosterType

type RosterType int32
const (
	RosterType_ROSTER_TYPE_UNSPECIFIED   RosterType = 0
	RosterType_ROSTER_TYPE_COMBAT        RosterType = 1
	RosterType_ROSTER_TYPE_RESERVE       RosterType = 2
	RosterType_ROSTER_TYPE_ELOA          RosterType = 3
	RosterType_ROSTER_TYPE_WALL_OF_HONOR RosterType = 4
	RosterType_ROSTER_TYPE_ARLINGTON     RosterType = 5
	RosterType_ROSTER_TYPE_PAST_MEMBERS  RosterType = 6
)

func (RosterType) Descriptor

func (RosterType) Descriptor() protoreflect.EnumDescriptor

func (RosterType) Enum

func (x RosterType) Enum() *RosterType

func (RosterType) EnumDescriptor deprecated

func (RosterType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RosterType.Descriptor instead.

func (RosterType) Number

func (x RosterType) Number() protoreflect.EnumNumber

func (RosterType) String

func (x RosterType) String() string

func (RosterType) Type

type Thingy

type Thingy struct {
	Ack string `protobuf:"bytes,1,opt,name=ack,proto3" json:"ack,omitempty"`
	// contains filtered or unexported fields
}

func (*Thingy) Descriptor deprecated

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

Deprecated: Use Thingy.ProtoReflect.Descriptor instead.

func (*Thingy) GetAck

func (x *Thingy) GetAck() string

func (*Thingy) ProtoMessage

func (*Thingy) ProtoMessage()

func (*Thingy) ProtoReflect

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

func (*Thingy) Reset

func (x *Thingy) Reset()

func (*Thingy) String

func (x *Thingy) String() string

type UnimplementedMilpacServiceServer

type UnimplementedMilpacServiceServer struct {
}

UnimplementedMilpacServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedMilpacServiceServer) GetProfile

func (UnimplementedMilpacServiceServer) GetRoster

func (UnimplementedMilpacServiceServer) GetUserViaKeycloakId

type UnsafeMilpacServiceServer

type UnsafeMilpacServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeMilpacServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MilpacServiceServer will result in compilation errors.

type User

type User struct {
	UserId   uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetUserId

func (x *User) GetUserId() uint64

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