service

package
v2.7.15 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SignUpKey       = "SignUp"  // register
	SignOffKey      = "SignOff" // deregister
	SignInKey       = "SignIn"  // log in
	SignOutKey      = "SignOut" // log out
	PublishKey      = "Publish"
	UnpublishKey    = "Unpublish"
	RefreshTokenKey = "RefreshToken"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CoapHandlerWithCounter

type CoapHandlerWithCounter struct {
	*coapgwTest.DefaultObserverHandler

	CallCounter struct {
		Data map[string]int
		Lock sync.Mutex
	}
	// contains filtered or unexported fields
}

func NewCoapHandlerWithCounter

func NewCoapHandlerWithCounter(atLifetime int64) *CoapHandlerWithCounter

func (*CoapHandlerWithCounter) PublishResources

func (*CoapHandlerWithCounter) RefreshToken

func (*CoapHandlerWithCounter) SignIn

func (*CoapHandlerWithCounter) SignOff

func (ch *CoapHandlerWithCounter) SignOff() error

func (*CoapHandlerWithCounter) SignOut

func (*CoapHandlerWithCounter) SignUp

func (*CoapHandlerWithCounter) UnpublishResources

func (ch *CoapHandlerWithCounter) UnpublishResources(req coapgwTestService.UnpublishRequest) error

func (*CoapHandlerWithCounter) WaitForFirstRefreshToken

func (ch *CoapHandlerWithCounter) WaitForFirstRefreshToken(timeout time.Duration) bool

func (*CoapHandlerWithCounter) WaitForFirstSignIn

func (ch *CoapHandlerWithCounter) WaitForFirstSignIn(timeout time.Duration) bool

func (*CoapHandlerWithCounter) WaitForFirstSignOff

func (ch *CoapHandlerWithCounter) WaitForFirstSignOff(timeout time.Duration) bool

Jump to

Keyboard shortcuts

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