toss

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package toss exposes the public Toss Securities adapter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileTokenManager

func NewFileTokenManager() tokencache.Manager

NewFileTokenManager creates a file-backed Toss token manager.

func NewFileTokenManagerWithDir

func NewFileTokenManagerWithDir(dir string) tokencache.Manager

NewFileTokenManagerWithDir creates a file-backed Toss token manager with a fixed directory.

Types

type Adapter

type Adapter interface {
	adapter.Adapter
	CallEndpoint(ctx context.Context, method, path string, query map[string]any, body any) (any, error)
}

Adapter is the public Toss adapter contract.

func NewAdapterWithOptions

func NewAdapterWithOptions(sandbox bool, accountID, accountSeq string, opts adapter.Options) Adapter

NewAdapterWithOptions creates a Toss adapter with injectable options.

Directories

Path Synopsis
Package specs holds the generated documented Toss endpoint specs and their shared runtime helpers.
Package specs holds the generated documented Toss endpoint specs and their shared runtime helpers.

Jump to

Keyboard shortcuts

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