protos

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StopRequestTerminateCause_name = map[int32]string{
		0:  "UNDEFINED",
		1:  "USER_REQUEST",
		2:  "LOST_CARRIER",
		3:  "LOST_SERVICE",
		4:  "IDLE_TIMEOUT",
		5:  "SESSION_TIMEOUT",
		6:  "ADMIN_RESET",
		7:  "ADMIN_REBOOT",
		8:  "PORT_ERROR",
		9:  "NAS_ERROR",
		10: "NAS_REQUEST",
		11: "NAS_REBOOT",
		12: "PORT_UNNEEDED",
		13: "PORT_PREEMPTED",
		14: "PORT_SUSPENDED",
		15: "SERVICE_UNAVAILABLE",
		16: "CALLBACK",
		17: "USER_ERROR",
		18: "HOST_REQUEST",
	}
	StopRequestTerminateCause_value = map[string]int32{
		"UNDEFINED":           0,
		"USER_REQUEST":        1,
		"LOST_CARRIER":        2,
		"LOST_SERVICE":        3,
		"IDLE_TIMEOUT":        4,
		"SESSION_TIMEOUT":     5,
		"ADMIN_RESET":         6,
		"ADMIN_REBOOT":        7,
		"PORT_ERROR":          8,
		"NAS_ERROR":           9,
		"NAS_REQUEST":         10,
		"NAS_REBOOT":          11,
		"PORT_UNNEEDED":       12,
		"PORT_PREEMPTED":      13,
		"PORT_SUSPENDED":      14,
		"SERVICE_UNAVAILABLE": 15,
		"CALLBACK":            16,
		"USER_ERROR":          17,
		"HOST_REQUEST":        18,
	}
)

Enum value maps for StopRequestTerminateCause.

View Source
var (
	CoaResponseCoaResponseTypeEnum_name = map[int32]string{
		0: "NAK",
		1: "ACK",
	}
	CoaResponseCoaResponseTypeEnum_value = map[string]int32{
		"NAK": 0,
		"ACK": 1,
	}
)

Enum value maps for CoaResponseCoaResponseTypeEnum.

View Source
var (
	EapType_name = map[int32]string{
		0:   "Reserved",
		1:   "Identity",
		2:   "Notification",
		3:   "Legacy_Nak",
		4:   "MD5_Challenge",
		254: "Expanded",
		255: "Experimental",
		13:  "TLS",
		18:  "SIM",
		23:  "AKA",
		50:  "AKAPrime",
	}
	EapType_value = map[string]int32{
		"Reserved":      0,
		"Identity":      1,
		"Notification":  2,
		"Legacy_Nak":    3,
		"MD5_Challenge": 4,
		"Expanded":      254,
		"Experimental":  255,
		"TLS":           13,
		"SIM":           18,
		"AKA":           23,
		"AKAPrime":      50,
	}
)

Enum value maps for EapType.

View Source
var (
	EapCode_name = map[int32]string{
		0: "Undefined",
		1: "Request",
		2: "Response",
		3: "Success",
		4: "Failure",
	}
	EapCode_value = map[string]int32{
		"Undefined": 0,
		"Request":   1,
		"Response":  2,
		"Success":   3,
		"Failure":   4,
	}
)

Enum value maps for EapCode.

View Source
var File_accounting_proto protoreflect.FileDescriptor
View Source
var File_authorization_proto protoreflect.FileDescriptor
View Source
var File_context_proto protoreflect.FileDescriptor

Functions

func RegisterAccountingServer

func RegisterAccountingServer(s *grpc.Server, srv AccountingServer)

func RegisterAuthenticatorServer

func RegisterAuthenticatorServer(s *grpc.Server, srv AuthenticatorServer)

func RegisterAuthorizationServer

func RegisterAuthorizationServer(s *grpc.Server, srv AuthorizationServer)

func RegisterEapRouterServer

func RegisterEapRouterServer(s *grpc.Server, srv EapRouterServer)

Types

type AccountingClient

type AccountingClient interface {
	// External Radius Server RPCs
	//
	// Acct-Status-Type Start
	Start(ctx context.Context, in *Context, opts ...grpc.CallOption) (*AcctResp, error)
	// Accounting Interim-Update
	InterimUpdate(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*AcctResp, error)
	// Acct-Status-Type Stop
	Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*AcctResp, error)
	// Local Session Management RPCs
	//
	// create_session is an "outbound" RPC for session manager which can be called from start()
	CreateSession(ctx context.Context, in *Context, opts ...grpc.CallOption) (*CreateSessionResp, error)
	// terminate_session is an "inbound" RPC from session manager to notify accounting of a client session termination
	TerminateSession(ctx context.Context, in *TerminateSessionRequest, opts ...grpc.CallOption) (*AcctResp, error)
	// add_sessions is an "inbound" RPC from session manager to bulk add existing sessions
	AddSessions(ctx context.Context, in *AddSessionsRequest, opts ...grpc.CallOption) (*AcctResp, error)
}

AccountingClient is the client API for Accounting service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAccountingClient

func NewAccountingClient(cc grpc.ClientConnInterface) AccountingClient

type AccountingServer

type AccountingServer interface {
	// External Radius Server RPCs
	//
	// Acct-Status-Type Start
	Start(context.Context, *Context) (*AcctResp, error)
	// Accounting Interim-Update
	InterimUpdate(context.Context, *UpdateRequest) (*AcctResp, error)
	// Acct-Status-Type Stop
	Stop(context.Context, *StopRequest) (*AcctResp, error)
	// Local Session Management RPCs
	//
	// create_session is an "outbound" RPC for session manager which can be called from start()
	CreateSession(context.Context, *Context) (*CreateSessionResp, error)
	// terminate_session is an "inbound" RPC from session manager to notify accounting of a client session termination
	TerminateSession(context.Context, *TerminateSessionRequest) (*AcctResp, error)
	// add_sessions is an "inbound" RPC from session manager to bulk add existing sessions
	AddSessions(context.Context, *AddSessionsRequest) (*AcctResp, error)
}

AccountingServer is the server API for Accounting service.

type AcctResp

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

acct_resp message - RPC message definition for Accounting-Response (currently empty) see: https://tools.ietf.org/html/rfc2866#section-4.2

func (*AcctResp) Descriptor deprecated

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

Deprecated: Use AcctResp.ProtoReflect.Descriptor instead.

func (*AcctResp) ProtoMessage

func (*AcctResp) ProtoMessage()

func (*AcctResp) ProtoReflect

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

func (*AcctResp) Reset

func (x *AcctResp) Reset()

func (*AcctResp) String

func (x *AcctResp) String() string

type AddSessionsRequest

type AddSessionsRequest struct {
	Sessions []*Context `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*AddSessionsRequest) Descriptor deprecated

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

Deprecated: Use AddSessionsRequest.ProtoReflect.Descriptor instead.

func (*AddSessionsRequest) GetSessions

func (x *AddSessionsRequest) GetSessions() []*Context

func (*AddSessionsRequest) ProtoMessage

func (*AddSessionsRequest) ProtoMessage()

func (*AddSessionsRequest) ProtoReflect

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

func (*AddSessionsRequest) Reset

func (x *AddSessionsRequest) Reset()

func (*AddSessionsRequest) String

func (x *AddSessionsRequest) String() string

type AuthenticatorClient

type AuthenticatorClient interface {
	// handle_identity passes Identity EAP payload to corresponding method provider & returns corresponding
	// EAP result
	// NOTE: Identity Request is handled by APs & does not involve EAP Authenticator's support
	HandleIdentity(ctx context.Context, in *EapIdentity, opts ...grpc.CallOption) (*Eap, error)
	// handle handles passed EAP payload & returns corresponding EAP result
	Handle(ctx context.Context, in *Eap, opts ...grpc.CallOption) (*Eap, error)
	// supported_methods returns sorted list (ascending, by type) of registered EAP Provider Methods
	SupportedMethods(ctx context.Context, in *Void, opts ...grpc.CallOption) (*EapMethodList, error)
}

AuthenticatorClient is the client API for Authenticator service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AuthenticatorServer

type AuthenticatorServer interface {
	// handle_identity passes Identity EAP payload to corresponding method provider & returns corresponding
	// EAP result
	// NOTE: Identity Request is handled by APs & does not involve EAP Authenticator's support
	HandleIdentity(context.Context, *EapIdentity) (*Eap, error)
	// handle handles passed EAP payload & returns corresponding EAP result
	Handle(context.Context, *Eap) (*Eap, error)
	// supported_methods returns sorted list (ascending, by type) of registered EAP Provider Methods
	SupportedMethods(context.Context, *Void) (*EapMethodList, error)
}

AuthenticatorServer is the server API for Authenticator service.

type AuthorizationClient

type AuthorizationClient interface {
	Change(ctx context.Context, in *ChangeRequest, opts ...grpc.CallOption) (*CoaResponse, error)
	Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*CoaResponse, error)
}

AuthorizationClient is the client API for Authorization service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AuthorizationServer

type AuthorizationServer interface {
	Change(context.Context, *ChangeRequest) (*CoaResponse, error)
	Disconnect(context.Context, *DisconnectRequest) (*CoaResponse, error)
}

AuthorizationServer is the server API for Authorization service.

type ChangeRequest

type ChangeRequest struct {
	Ctx              *Context `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"`
	JsonTrficClasses string   `protobuf:"bytes,2,opt,name=json_trfic_classes,json=jsonTrficClasses,proto3" json:"json_trfic_classes,omitempty"`
	// contains filtered or unexported fields
}

update_request with usages & included context

func (*ChangeRequest) Descriptor deprecated

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

Deprecated: Use ChangeRequest.ProtoReflect.Descriptor instead.

func (*ChangeRequest) GetCtx

func (x *ChangeRequest) GetCtx() *Context

func (*ChangeRequest) GetJsonTrficClasses

func (x *ChangeRequest) GetJsonTrficClasses() string

func (*ChangeRequest) ProtoMessage

func (*ChangeRequest) ProtoMessage()

func (*ChangeRequest) ProtoReflect

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

func (*ChangeRequest) Reset

func (x *ChangeRequest) Reset()

func (*ChangeRequest) String

func (x *ChangeRequest) String() string

type CoaResponse

type CoaResponse struct {
	CoaResponseType CoaResponseCoaResponseTypeEnum `` /* 156-byte string literal not displayed */
	Ctx             *Context                       `protobuf:"bytes,2,opt,name=ctx,proto3" json:"ctx,omitempty"`
	// contains filtered or unexported fields
}

func (*CoaResponse) Descriptor deprecated

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

Deprecated: Use CoaResponse.ProtoReflect.Descriptor instead.

func (*CoaResponse) GetCoaResponseType

func (x *CoaResponse) GetCoaResponseType() CoaResponseCoaResponseTypeEnum

func (*CoaResponse) GetCtx

func (x *CoaResponse) GetCtx() *Context

func (*CoaResponse) ProtoMessage

func (*CoaResponse) ProtoMessage()

func (*CoaResponse) ProtoReflect

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

func (*CoaResponse) Reset

func (x *CoaResponse) Reset()

func (*CoaResponse) String

func (x *CoaResponse) String() string

type CoaResponseCoaResponseTypeEnum

type CoaResponseCoaResponseTypeEnum int32
const (
	CoaResponse_NAK CoaResponseCoaResponseTypeEnum = 0
	CoaResponse_ACK CoaResponseCoaResponseTypeEnum = 1
)

func (CoaResponseCoaResponseTypeEnum) Descriptor

func (CoaResponseCoaResponseTypeEnum) Enum

func (CoaResponseCoaResponseTypeEnum) EnumDescriptor deprecated

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

Deprecated: Use CoaResponseCoaResponseTypeEnum.Descriptor instead.

func (CoaResponseCoaResponseTypeEnum) Number

func (CoaResponseCoaResponseTypeEnum) String

func (CoaResponseCoaResponseTypeEnum) Type

type Context

type Context struct {
	SessionId     string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Imsi          string `protobuf:"bytes,2,opt,name=imsi,proto3" json:"imsi,omitempty"`
	Msk           []byte `protobuf:"bytes,3,opt,name=msk,proto3" json:"msk,omitempty"`
	Identity      string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"`
	Msisdn        string `protobuf:"bytes,5,opt,name=msisdn,proto3" json:"msisdn,omitempty"`
	Apn           string `protobuf:"bytes,6,opt,name=apn,proto3" json:"apn,omitempty"`
	MacAddr       string `protobuf:"bytes,7,opt,name=mac_addr,json=macAddr,proto3" json:"mac_addr,omitempty"`
	IpAddr        string `protobuf:"bytes,8,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"`
	AuthSessionId string `protobuf:"bytes,9,opt,name=auth_session_id,json=authSessionId,proto3" json:"auth_session_id,omitempty"`
	AcctSessionId string `protobuf:"bytes,10,opt,name=acct_session_id,json=acctSessionId,proto3" json:"acct_session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Context) Descriptor deprecated

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetAcctSessionId

func (x *Context) GetAcctSessionId() string

func (*Context) GetApn

func (x *Context) GetApn() string

func (*Context) GetAuthSessionId

func (x *Context) GetAuthSessionId() string

func (*Context) GetIdentity

func (x *Context) GetIdentity() string

func (*Context) GetImsi

func (x *Context) GetImsi() string

func (*Context) GetIpAddr

func (x *Context) GetIpAddr() string

func (*Context) GetMacAddr

func (x *Context) GetMacAddr() string

func (*Context) GetMsisdn

func (x *Context) GetMsisdn() string

func (*Context) GetMsk

func (x *Context) GetMsk() []byte

func (*Context) GetSessionId

func (x *Context) GetSessionId() string

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) ProtoReflect

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

func (*Context) Reset

func (x *Context) Reset()

func (*Context) String

func (x *Context) String() string

type CreateSessionResp

type CreateSessionResp struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionResp) Descriptor deprecated

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

Deprecated: Use CreateSessionResp.ProtoReflect.Descriptor instead.

func (*CreateSessionResp) GetSessionId

func (x *CreateSessionResp) GetSessionId() string

func (*CreateSessionResp) ProtoMessage

func (*CreateSessionResp) ProtoMessage()

func (*CreateSessionResp) ProtoReflect

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

func (*CreateSessionResp) Reset

func (x *CreateSessionResp) Reset()

func (*CreateSessionResp) String

func (x *CreateSessionResp) String() string

type DisconnectRequest

type DisconnectRequest struct {
	Ctx *Context `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"`
	// contains filtered or unexported fields
}

func (*DisconnectRequest) Descriptor deprecated

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

Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead.

func (*DisconnectRequest) GetCtx

func (x *DisconnectRequest) GetCtx() *Context

func (*DisconnectRequest) ProtoMessage

func (*DisconnectRequest) ProtoMessage()

func (*DisconnectRequest) ProtoReflect

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

func (*DisconnectRequest) Reset

func (x *DisconnectRequest) Reset()

func (*DisconnectRequest) String

func (x *DisconnectRequest) String() string

type Eap

type Eap struct {
	Payload []byte   `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Ctx     *Context `protobuf:"bytes,2,opt,name=ctx,proto3" json:"ctx,omitempty"`
	// contains filtered or unexported fields
}

func (*Eap) Descriptor deprecated

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

Deprecated: Use Eap.ProtoReflect.Descriptor instead.

func (*Eap) GetCtx

func (x *Eap) GetCtx() *Context

func (*Eap) GetPayload

func (x *Eap) GetPayload() []byte

func (*Eap) ProtoMessage

func (*Eap) ProtoMessage()

func (*Eap) ProtoReflect

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

func (*Eap) Reset

func (x *Eap) Reset()

func (*Eap) String

func (x *Eap) String() string

type EapCode

type EapCode int32
const (
	EapCode_Undefined EapCode = 0
	EapCode_Request   EapCode = 1
	EapCode_Response  EapCode = 2
	EapCode_Success   EapCode = 3
	EapCode_Failure   EapCode = 4
)

func (EapCode) Descriptor

func (EapCode) Descriptor() protoreflect.EnumDescriptor

func (EapCode) Enum

func (x EapCode) Enum() *EapCode

func (EapCode) EnumDescriptor deprecated

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

Deprecated: Use EapCode.Descriptor instead.

func (EapCode) Number

func (x EapCode) Number() protoreflect.EnumNumber

func (EapCode) String

func (x EapCode) String() string

func (EapCode) Type

func (EapCode) Type() protoreflect.EnumType

type EapIdentity

type EapIdentity struct {
	Payload []byte   `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Ctx     *Context `protobuf:"bytes,2,opt,name=ctx,proto3" json:"ctx,omitempty"`
	Method  uint32   `protobuf:"varint,3,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*EapIdentity) Descriptor deprecated

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

Deprecated: Use EapIdentity.ProtoReflect.Descriptor instead.

func (*EapIdentity) GetCtx

func (x *EapIdentity) GetCtx() *Context

func (*EapIdentity) GetMethod

func (x *EapIdentity) GetMethod() uint32

func (*EapIdentity) GetPayload

func (x *EapIdentity) GetPayload() []byte

func (*EapIdentity) ProtoMessage

func (*EapIdentity) ProtoMessage()

func (*EapIdentity) ProtoReflect

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

func (*EapIdentity) Reset

func (x *EapIdentity) Reset()

func (*EapIdentity) String

func (x *EapIdentity) String() string

type EapMethodList

type EapMethodList struct {
	Methods []byte `protobuf:"bytes,1,opt,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

func (*EapMethodList) Descriptor deprecated

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

Deprecated: Use EapMethodList.ProtoReflect.Descriptor instead.

func (*EapMethodList) GetMethods

func (x *EapMethodList) GetMethods() []byte

func (*EapMethodList) ProtoMessage

func (*EapMethodList) ProtoMessage()

func (*EapMethodList) ProtoReflect

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

func (*EapMethodList) Reset

func (x *EapMethodList) Reset()

func (*EapMethodList) String

func (x *EapMethodList) String() string

type EapRouterClient

type EapRouterClient interface {
	// handle_identity passes Identity EAP payload to corresponding method provider & returns corresponding
	// EAP result
	// NOTE: Identity Request is handled by APs & does not involve EAP Authenticator's support
	HandleIdentity(ctx context.Context, in *EapIdentity, opts ...grpc.CallOption) (*Eap, error)
	// handle handles passed EAP payload & returns corresponding EAP result
	Handle(ctx context.Context, in *Eap, opts ...grpc.CallOption) (*Eap, error)
	// supported_methods returns sorted list (ascending, by type) of registered EAP Provider Methods
	SupportedMethods(ctx context.Context, in *Void, opts ...grpc.CallOption) (*EapMethodList, error)
}

EapRouterClient is the client API for EapRouter service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEapRouterClient

func NewEapRouterClient(cc grpc.ClientConnInterface) EapRouterClient

type EapRouterServer

type EapRouterServer interface {
	// handle_identity passes Identity EAP payload to corresponding method provider & returns corresponding
	// EAP result
	// NOTE: Identity Request is handled by APs & does not involve EAP Authenticator's support
	HandleIdentity(context.Context, *EapIdentity) (*Eap, error)
	// handle handles passed EAP payload & returns corresponding EAP result
	Handle(context.Context, *Eap) (*Eap, error)
	// supported_methods returns sorted list (ascending, by type) of registered EAP Provider Methods
	SupportedMethods(context.Context, *Void) (*EapMethodList, error)
}

EapRouterServer is the server API for EapRouter service.

type EapType

type EapType int32
const (
	// Mandatory EAP Method types
	EapType_Reserved      EapType = 0
	EapType_Identity      EapType = 1
	EapType_Notification  EapType = 2
	EapType_Legacy_Nak    EapType = 3
	EapType_MD5_Challenge EapType = 4
	EapType_Expanded      EapType = 254
	EapType_Experimental  EapType = 255
	// EAP Method Authenticator types
	EapType_TLS      EapType = 13
	EapType_SIM      EapType = 18
	EapType_AKA      EapType = 23
	EapType_AKAPrime EapType = 50
)

func (EapType) Descriptor

func (EapType) Descriptor() protoreflect.EnumDescriptor

func (EapType) Enum

func (x EapType) Enum() *EapType

func (EapType) EnumDescriptor deprecated

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

Deprecated: Use EapType.Descriptor instead.

func (EapType) Number

func (x EapType) Number() protoreflect.EnumNumber

func (EapType) String

func (x EapType) String() string

func (EapType) Type

func (EapType) Type() protoreflect.EnumType

type StopRequest

type StopRequest struct {
	Cause StopRequestTerminateCause `protobuf:"varint,1,opt,name=cause,proto3,enum=aaa.protos.StopRequestTerminateCause" json:"cause,omitempty"`
	Ctx   *Context                  `protobuf:"bytes,2,opt,name=ctx,proto3" json:"ctx,omitempty"`
	// contains filtered or unexported fields
}

stop_request - ctx with termination cause: https://tools.ietf.org/html/rfc2866#page-20

func (*StopRequest) Descriptor deprecated

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

Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.

func (*StopRequest) GetCause

func (x *StopRequest) GetCause() StopRequestTerminateCause

func (*StopRequest) GetCtx

func (x *StopRequest) GetCtx() *Context

func (*StopRequest) ProtoMessage

func (*StopRequest) ProtoMessage()

func (*StopRequest) ProtoReflect

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

func (*StopRequest) Reset

func (x *StopRequest) Reset()

func (*StopRequest) String

func (x *StopRequest) String() string

type StopRequestTerminateCause

type StopRequestTerminateCause int32
const (
	StopRequest_UNDEFINED           StopRequestTerminateCause = 0
	StopRequest_USER_REQUEST        StopRequestTerminateCause = 1  // User Request
	StopRequest_LOST_CARRIER        StopRequestTerminateCause = 2  // Lost Carrier
	StopRequest_LOST_SERVICE        StopRequestTerminateCause = 3  // Lost Service
	StopRequest_IDLE_TIMEOUT        StopRequestTerminateCause = 4  // Idle Timeout
	StopRequest_SESSION_TIMEOUT     StopRequestTerminateCause = 5  // Session Timeout
	StopRequest_ADMIN_RESET         StopRequestTerminateCause = 6  // Admin Reset
	StopRequest_ADMIN_REBOOT        StopRequestTerminateCause = 7  // Admin Reboot
	StopRequest_PORT_ERROR          StopRequestTerminateCause = 8  // Port Error
	StopRequest_NAS_ERROR           StopRequestTerminateCause = 9  // NAS Error
	StopRequest_NAS_REQUEST         StopRequestTerminateCause = 10 // NAS Request
	StopRequest_NAS_REBOOT          StopRequestTerminateCause = 11 // NAS Reboot
	StopRequest_PORT_UNNEEDED       StopRequestTerminateCause = 12 // Port Unneeded
	StopRequest_PORT_PREEMPTED      StopRequestTerminateCause = 13 // Port Preempted
	StopRequest_PORT_SUSPENDED      StopRequestTerminateCause = 14 // Port Suspended
	StopRequest_SERVICE_UNAVAILABLE StopRequestTerminateCause = 15 // Service Unavailable
	StopRequest_CALLBACK            StopRequestTerminateCause = 16 // Callback
	StopRequest_USER_ERROR          StopRequestTerminateCause = 17 // User Error
	StopRequest_HOST_REQUEST        StopRequestTerminateCause = 18 // Host Request
)

func (StopRequestTerminateCause) Descriptor

func (StopRequestTerminateCause) Enum

func (StopRequestTerminateCause) EnumDescriptor deprecated

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

Deprecated: Use StopRequestTerminateCause.Descriptor instead.

func (StopRequestTerminateCause) Number

func (StopRequestTerminateCause) String

func (x StopRequestTerminateCause) String() string

func (StopRequestTerminateCause) Type

type TerminateSessionRequest

type TerminateSessionRequest struct {
	RadiusSessionId string `protobuf:"bytes,1,opt,name=radius_session_id,json=radiusSessionId,proto3" json:"radius_session_id,omitempty"`
	Imsi            string `protobuf:"bytes,2,opt,name=imsi,proto3" json:"imsi,omitempty"`
	// contains filtered or unexported fields
}

func (*TerminateSessionRequest) Descriptor deprecated

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

Deprecated: Use TerminateSessionRequest.ProtoReflect.Descriptor instead.

func (*TerminateSessionRequest) GetImsi

func (x *TerminateSessionRequest) GetImsi() string

func (*TerminateSessionRequest) GetRadiusSessionId

func (x *TerminateSessionRequest) GetRadiusSessionId() string

func (*TerminateSessionRequest) ProtoMessage

func (*TerminateSessionRequest) ProtoMessage()

func (*TerminateSessionRequest) ProtoReflect

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

func (*TerminateSessionRequest) Reset

func (x *TerminateSessionRequest) Reset()

func (*TerminateSessionRequest) String

func (x *TerminateSessionRequest) String() string

type UnimplementedAccountingServer

type UnimplementedAccountingServer struct {
}

UnimplementedAccountingServer can be embedded to have forward compatible implementations.

func (*UnimplementedAccountingServer) AddSessions

func (*UnimplementedAccountingServer) CreateSession

func (*UnimplementedAccountingServer) InterimUpdate

func (*UnimplementedAccountingServer) Start

func (*UnimplementedAccountingServer) Stop

func (*UnimplementedAccountingServer) TerminateSession

type UnimplementedAuthenticatorServer

type UnimplementedAuthenticatorServer struct {
}

UnimplementedAuthenticatorServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthenticatorServer) Handle

func (*UnimplementedAuthenticatorServer) HandleIdentity

func (*UnimplementedAuthenticatorServer) SupportedMethods

type UnimplementedAuthorizationServer

type UnimplementedAuthorizationServer struct {
}

UnimplementedAuthorizationServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthorizationServer) Change

func (*UnimplementedAuthorizationServer) Disconnect

type UnimplementedEapRouterServer

type UnimplementedEapRouterServer struct {
}

UnimplementedEapRouterServer can be embedded to have forward compatible implementations.

func (*UnimplementedEapRouterServer) Handle

func (*UnimplementedEapRouterServer) HandleIdentity

func (*UnimplementedEapRouterServer) SupportedMethods

type UpdateRequest

type UpdateRequest struct {
	OctetsIn   uint32   `protobuf:"varint,1,opt,name=octets_in,json=octetsIn,proto3" json:"octets_in,omitempty"`
	OctetsOut  uint32   `protobuf:"varint,2,opt,name=octets_out,json=octetsOut,proto3" json:"octets_out,omitempty"`
	PacketsIn  uint32   `protobuf:"varint,3,opt,name=packets_in,json=packetsIn,proto3" json:"packets_in,omitempty"`
	PacketsOut uint32   `protobuf:"varint,4,opt,name=packets_out,json=packetsOut,proto3" json:"packets_out,omitempty"`
	Ctx        *Context `protobuf:"bytes,5,opt,name=ctx,proto3" json:"ctx,omitempty"`
	// contains filtered or unexported fields
}

update_request with usages & included context

func (*UpdateRequest) Descriptor deprecated

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

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetCtx

func (x *UpdateRequest) GetCtx() *Context

func (*UpdateRequest) GetOctetsIn

func (x *UpdateRequest) GetOctetsIn() uint32

func (*UpdateRequest) GetOctetsOut

func (x *UpdateRequest) GetOctetsOut() uint32

func (*UpdateRequest) GetPacketsIn

func (x *UpdateRequest) GetPacketsIn() uint32

func (*UpdateRequest) GetPacketsOut

func (x *UpdateRequest) GetPacketsOut() uint32

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

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

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type Void

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

func (*Void) Descriptor deprecated

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

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) ProtoReflect

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

func (*Void) Reset

func (x *Void) Reset()

func (*Void) String

func (x *Void) String() string

Jump to

Keyboard shortcuts

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