sessions

package
v0.0.0-...-a67b36e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	FetchConfigMetaData(ctx context.Context, appUuid string) (*common.AppConfigurations, errors.Api)
}

func NewService

func NewService(appConfigClient client.ClientAppConfig) Service

type Session

type Session struct {
	AppUuid   string
	AppOrigin string
	Cookie    string
	Meta      struct {
		OS struct {
			Name    string `json:"name"`
			Version string `json:"version"`
		} `json:"OS"`
		Browser string `json:"browser"`
		Device  string `json:"device"`
	} `json:"meta"`
	Referrer string `json:"referrer"`
}

type StartRequest

type StartRequest struct {
	AppUuid, AppOrigin string
	Session            *Session
}

Jump to

Keyboard shortcuts

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