accessrpc

package
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeIDAccessStatus uint32 = 4501
	TypeIDAccessResume uint32 = 4502
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResumeRequest

type ResumeRequest struct {
	Token string `json:"token"`
}

type ResumeResponse

type ResumeResponse struct {
	Unlocked bool `json:"unlocked"`
}

type Service

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

func New

func New(gate *accessgate.Gate) *Service

func (*Service) Register

func (s *Service) Register(r *rpc.Router, meta *session.Meta)

type StatusResponse

type StatusResponse struct {
	PasswordRequired bool   `json:"password_required"`
	Unlocked         bool   `json:"unlocked"`
	FloeApp          string `json:"floe_app,omitempty"`
	CodeSpaceID      string `json:"code_space_id,omitempty"`
	SessionKind      string `json:"session_kind,omitempty"`
}

Jump to

Keyboard shortcuts

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